Spaces:
Runtime error
Runtime error
João Artur
commited on
Commit
·
0a6550d
1
Parent(s):
321391f
llama
Browse files
app.py
CHANGED
@@ -6,7 +6,8 @@ import os
|
|
6 |
os.environ['TRANSFORMERS_CACHE'] = './cache'
|
7 |
|
8 |
# Load LLaMA 3 model and tokenizer
|
9 |
-
model_name = "
|
|
|
10 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
11 |
model = AutoModelForCausalLM.from_pretrained(model_name)
|
12 |
|
|
|
6 |
os.environ['TRANSFORMERS_CACHE'] = './cache'
|
7 |
|
8 |
# Load LLaMA 3 model and tokenizer
|
9 |
+
# model_name = "https://huggingface.co/nvidia/Llama3-ChatQA-2-70B" # Replace with LLaMA 3 model path or Hugging Face model link if available
|
10 |
+
model_name = "nvidia/Llama3-ChatQA-2-70B" # Replace with LLaMA 3 model path or Hugging Face model link if available
|
11 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
12 |
model = AutoModelForCausalLM.from_pretrained(model_name)
|
13 |
|