thfname commited on
Commit
04d4939
1 Parent(s): d43418b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "google/gemma-2-2b-it"
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