Spaces:
Running
on
Zero
Running
on
Zero
Update model_id
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ import spaces
|
|
17 |
import torch
|
18 |
from transformers import AutoProcessor, Gemma3ForConditionalGeneration, TextIteratorStreamer
|
19 |
|
20 |
-
model_id = "
|
21 |
processor = AutoProcessor.from_pretrained(model_id)
|
22 |
model = Gemma3ForConditionalGeneration.from_pretrained(
|
23 |
model_id, device_map="auto", torch_dtype=torch.bfloat16, attn_implementation="eager"
|
|
|
17 |
import torch
|
18 |
from transformers import AutoProcessor, Gemma3ForConditionalGeneration, TextIteratorStreamer
|
19 |
|
20 |
+
model_id = "google/gemma-3-12b-it"
|
21 |
processor = AutoProcessor.from_pretrained(model_id)
|
22 |
model = Gemma3ForConditionalGeneration.from_pretrained(
|
23 |
model_id, device_map="auto", torch_dtype=torch.bfloat16, attn_implementation="eager"
|