Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import torch
|
|
7 |
model_name = "yasserrmd/SmolLM2-135M-synthetic-dlp"
|
8 |
model = AutoModelForCausalLM.from_pretrained(
|
9 |
model_name,
|
10 |
-
torch_dtype=torch.bfloat16
|
11 |
device_map ="cuda"
|
12 |
)
|
13 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
|
7 |
model_name = "yasserrmd/SmolLM2-135M-synthetic-dlp"
|
8 |
model = AutoModelForCausalLM.from_pretrained(
|
9 |
model_name,
|
10 |
+
torch_dtype=torch.bfloat16,
|
11 |
device_map ="cuda"
|
12 |
)
|
13 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|