Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
from transformers import AutoModelForCausalLM
|
5 |
from transformers import AutoTokenizer
|
6 |
|
7 |
-
model_name = "
|
8 |
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.bfloat16).to("cuda")
|
9 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
10 |
|
|
|
4 |
from transformers import AutoModelForCausalLM
|
5 |
from transformers import AutoTokenizer
|
6 |
|
7 |
+
model_name = "thfname/test-gemma2-2b"
|
8 |
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.bfloat16).to("cuda")
|
9 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
10 |
|