Shanat commited on
Commit
5d10772
1 Parent(s): 1f08a45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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-Instruct")
22
  model = AutoModelForCausalLM.from_pretrained(
23
- "meta-llama/Llama-3.2-1B-Instruct",
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
  )