File size: 261 Bytes
8578816
 
 
 
799a14a
 
 
 
1
2
3
4
5
6
7
8
9
from langchain.chains import LLMChain
from langchain.agents import Tool
from langchain import HuggingFaceHub

import os

hf_auth = os.environ.get("HF_KEY")
llm = HuggingFaceHub(repo_id = "microsoft/Phi-3-mini-128k-instruct", huggingfacehub_api_token = hf_auth)