OzTianlu commited on
Commit
e51a65b
·
verified ·
1 Parent(s): 503a809

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -5,8 +5,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM, TextIteratorStream
5
 
6
  MODEL_ID = "NoesisLab/Spartacus-1B-Instruct"
7
 
8
- tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, trust_remote_code=True
9
- force_download=True # This forces a fresh copy of the code)
10
  model = AutoModelForCausalLM.from_pretrained(
11
  "NoesisLab/Spartacus-1B-Instruct",
12
  trust_remote_code=True,
 
5
 
6
  MODEL_ID = "NoesisLab/Spartacus-1B-Instruct"
7
 
8
+ tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, trust_remote_code=True)
 
9
  model = AutoModelForCausalLM.from_pretrained(
10
  "NoesisLab/Spartacus-1B-Instruct",
11
  trust_remote_code=True,