Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,8 +15,12 @@ def get_model():
|
|
15 |
#tokenizer = AutoTokenizer.from_pretrained("M4-ai/tau-1.8B")
|
16 |
#model = AutoModelForCausalLM.from_pretrained("M4-ai/tau-1.8B")
|
17 |
|
18 |
-
tokenizer = AutoTokenizer.from_pretrained("facebook/opt-1.3b")
|
19 |
-
model = AutoModelForCausalLM.from_pretrained("facebook/opt-1.3b")
|
|
|
|
|
|
|
|
|
20 |
|
21 |
#tokenizer = AutoTokenizer.from_pretrained("tiiuae/falcon-rw-1b", trust_remote_code=True)
|
22 |
#model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-rw-1b", trust_remote_code=True)
|
|
|
15 |
#tokenizer = AutoTokenizer.from_pretrained("M4-ai/tau-1.8B")
|
16 |
#model = AutoModelForCausalLM.from_pretrained("M4-ai/tau-1.8B")
|
17 |
|
18 |
+
#tokenizer = AutoTokenizer.from_pretrained("facebook/opt-1.3b")
|
19 |
+
#model = AutoModelForCausalLM.from_pretrained("facebook/opt-1.3b")
|
20 |
+
|
21 |
+
tokenizer = AutoTokenizer.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0")
|
22 |
+
model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0")
|
23 |
+
|
24 |
|
25 |
#tokenizer = AutoTokenizer.from_pretrained("tiiuae/falcon-rw-1b", trust_remote_code=True)
|
26 |
#model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-rw-1b", trust_remote_code=True)
|