m-ric HF staff commited on
Commit
8eff77c
β€’
1 Parent(s): a6cebf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,8 +113,8 @@ STYLE = """
113
  from transformers import GPT2Tokenizer, AutoModelForCausalLM, AutoTokenizer
114
  import numpy as np
115
 
116
- tokenizer = AutoTokenizer.from_pretrained("microsoft/phi-2")
117
- model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2")
118
  tokenizer.pad_token_id = tokenizer.eos_token_id
119
  print("Loading finished.")
120
  def generate_html(token, node):
 
113
  from transformers import GPT2Tokenizer, AutoModelForCausalLM, AutoTokenizer
114
  import numpy as np
115
 
116
+ tokenizer = AutoTokenizer.from_pretrained("google/gemma-2b")
117
+ model = AutoModelForCausalLM.from_pretrained("google/gemma-2b")
118
  tokenizer.pad_token_id = tokenizer.eos_token_id
119
  print("Loading finished.")
120
  def generate_html(token, node):