dreamerdeo commited on
Commit
e0504bf
1 Parent(s): 5dbbd83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,8 +4,7 @@ import torch
4
  from transformers import AutoModelForCausalLM, AutoTokenizer, StoppingCriteria, StoppingCriteriaList, TextIteratorStreamer
5
  from threading import Thread
6
 
7
- model_path = 'dreamerdeo/Sailor2-0.8B-Chat'
8
- # model_path = 'sail/Sailor-0.5B-Chat'
9
 
10
  # Loading the tokenizer and model from Hugging Face's model hub.
11
  tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
 
4
  from transformers import AutoModelForCausalLM, AutoTokenizer, StoppingCriteria, StoppingCriteriaList, TextIteratorStreamer
5
  from threading import Thread
6
 
7
+ model_path = 'sail/Sailor2-1B-Chat'
 
8
 
9
  # Loading the tokenizer and model from Hugging Face's model hub.
10
  tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)