chained / app.py
Chris4K's picture
initial llm commit - chicken crossen road, why?
0f14421
raw
history blame
247 Bytes
# https://chat.lmsys.org/?leaderboard
from langchain.llms import HuggingFaceHub
llm_hf = HuggingFaceHub(
repo_id="google/flan-t5-xl",
model_kwargs={"temperature":0.9 }
)
text = "Why did the chicken cross the road?"
print(llm_hf(text))