Spaces:
Runtime error
Runtime error
Chandranshu Jain
commited on
Commit
•
973b87f
1
Parent(s):
c18ef09
Update app.py
Browse files
app.py
CHANGED
@@ -79,8 +79,9 @@ def get_conversational_chain():
|
|
79 |
Answer:
|
80 |
"""
|
81 |
#model = ChatGoogleGenerativeAI(model="gemini-pro", temperature=0.3, google_api_key=GOOGLE_API_KEY)
|
82 |
-
repo_id ='google/gemma-1.1-2b-it'
|
83 |
#repo_id='meta-llama/Meta-Llama-3-70B'
|
|
|
84 |
llm = HuggingFaceEndpoint(
|
85 |
repo_id=repo_id, max_length=512, temperature=0.3, token=HUGGINGFACE_API_KEY)
|
86 |
#tokenizer = AutoTokenizer.from_pretrained("google/gemma-1.1-2b-it")
|
|
|
79 |
Answer:
|
80 |
"""
|
81 |
#model = ChatGoogleGenerativeAI(model="gemini-pro", temperature=0.3, google_api_key=GOOGLE_API_KEY)
|
82 |
+
#repo_id ='google/gemma-1.1-2b-it'
|
83 |
#repo_id='meta-llama/Meta-Llama-3-70B'
|
84 |
+
repo_id = 'microsoft/Phi-3-mini-4k-instruct'
|
85 |
llm = HuggingFaceEndpoint(
|
86 |
repo_id=repo_id, max_length=512, temperature=0.3, token=HUGGINGFACE_API_KEY)
|
87 |
#tokenizer = AutoTokenizer.from_pretrained("google/gemma-1.1-2b-it")
|