JaphetHernandez commited on
Commit
93e26c1
1 Parent(s): af9e54e

Update app.py

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