valencar commited on
Commit
f5bfc31
·
1 Parent(s): 885a80a
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -13,12 +13,11 @@ question = "Qual é o maior planeta do sistema solar?"
13
 
14
  before = datetime.datetime.now()
15
 
16
- # Load model directly
17
  # Load model directly
18
  from transformers import AutoTokenizer, AutoModelForCausalLM
19
 
20
- tokenizer = AutoTokenizer.from_pretrained("01-ai/Yi-6B-200K")
21
- model = AutoModelForCausalLM.from_pretrained("01-ai/Yi-6B-200K")
22
 
23
  st.write('tokenizando...')
24
  prompt = "Hey, are you conscious? Can you talk to me?"
 
13
 
14
  before = datetime.datetime.now()
15
 
 
16
  # Load model directly
17
  from transformers import AutoTokenizer, AutoModelForCausalLM
18
 
19
+ tokenizer = AutoTokenizer.from_pretrained("01-ai/Yi-1.5-6B-Chat")
20
+ model = AutoModelForCausalLM.from_pretrained("01-ai/Yi-1.5-6B-Chat")
21
 
22
  st.write('tokenizando...')
23
  prompt = "Hey, are you conscious? Can you talk to me?"