Update app.py
Browse files
app.py
CHANGED
@@ -18,9 +18,9 @@ import torch
|
|
18 |
login(token = os.getenv('HF_TOKEN'))
|
19 |
#chatbot = pipeline(model="meta-llama/Llama-3.2-1B")
|
20 |
|
21 |
-
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-3.2-1B
|
22 |
model = AutoModelForCausalLM.from_pretrained(
|
23 |
-
"meta-llama/Llama-3.2-1B
|
24 |
device_map="auto",
|
25 |
torch_dtype="auto",
|
26 |
)
|
|
|
18 |
login(token = os.getenv('HF_TOKEN'))
|
19 |
#chatbot = pipeline(model="meta-llama/Llama-3.2-1B")
|
20 |
|
21 |
+
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-3.2-1B")
|
22 |
model = AutoModelForCausalLM.from_pretrained(
|
23 |
+
"meta-llama/Llama-3.2-1B",
|
24 |
device_map="auto",
|
25 |
torch_dtype="auto",
|
26 |
)
|