JaphetHernandez commited on
Commit
5f2c493
·
verified ·
1 Parent(s): 2c0675a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ huggingface_token = st.secrets["FIREWORKS"]
12
 
13
  # Configurar modelo Llama 3.1
14
  model_id = "meta-llama/Llama-3.2-1B"
15
- tokenizer = AutoTokenizer.from_pretrained(model_id, tokenizer = huggingface_token)
16
  model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto",token=huggingface_token, torch_dtype=torch.float16)
17
 
18
  # Crear pipeline con Fireworks
 
12
 
13
  # Configurar modelo Llama 3.1
14
  model_id = "meta-llama/Llama-3.2-1B"
15
+ tokenizer = AutoTokenizer.from_pretrained(model_id, token = huggingface_token)
16
  model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto",token=huggingface_token, torch_dtype=torch.float16)
17
 
18
  # Crear pipeline con Fireworks