m-ric HF staff commited on
Commit
bdb89ed
1 Parent(s): 8aa7db5

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("mistralai/Mistral-7B-v0.1")
117
- model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1")
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("Locutusque/TinyMistral-248M-v2")
117
+ model = AutoModelForCausalLM.from_pretrained("Locutusque/TinyMistral-248M-v2")
118
  tokenizer.pad_token_id = tokenizer.eos_token_id
119
  print("Loading finished.")
120
  def generate_html(token, node):