Spaces:
Runtime error
Runtime error
Srinivasulu kethanaboina
commited on
Commit
•
c545b48
1
Parent(s):
71df211
Update app.py
Browse files
app.py
CHANGED
@@ -23,8 +23,8 @@ cred = credentials.Certificate("redfernstech-fd8fe-firebase-adminsdk-g9vcn-0537b
|
|
23 |
firebase_admin.initialize_app(cred, {"databaseURL": "https://redfernstech-fd8fe-default-rtdb.firebaseio.com/"})
|
24 |
# Configure the Llama index settings
|
25 |
Settings.llm = HuggingFaceInferenceAPI(
|
26 |
-
model_name="meta-llama/Llama-
|
27 |
-
tokenizer_name="meta-llama/Llama-
|
28 |
context_window=3000,
|
29 |
token=os.getenv("HF_TOKEN"),
|
30 |
max_new_tokens=512,
|
|
|
23 |
firebase_admin.initialize_app(cred, {"databaseURL": "https://redfernstech-fd8fe-default-rtdb.firebaseio.com/"})
|
24 |
# Configure the Llama index settings
|
25 |
Settings.llm = HuggingFaceInferenceAPI(
|
26 |
+
model_name="meta-llama/Meta-Llama-3-8B-Instruct",
|
27 |
+
tokenizer_name="meta-llama/Meta-Llama-3-8B-Instruct",
|
28 |
context_window=3000,
|
29 |
token=os.getenv("HF_TOKEN"),
|
30 |
max_new_tokens=512,
|