Spaces:
Sleeping
Sleeping
JaphetHernandez
commited on
Update app.py
Browse files
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,
|
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
|