Spaces:
Runtime error
Runtime error
SivaResearch
commited on
Commit
•
3c33b8a
1
Parent(s):
baacd80
update app.py with spaces
Browse files
app.py
CHANGED
@@ -4,7 +4,6 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
4 |
from transformers import StoppingCriteria, StoppingCriteriaList, TextIteratorStreamer
|
5 |
from threading import Thread
|
6 |
|
7 |
-
|
8 |
# Loading the tokenizer and model from Hugging Face's model hub.
|
9 |
tokenizer = AutoTokenizer.from_pretrained("SivaResearch/tinyllama-Siv-v2")
|
10 |
model = AutoModelForCausalLM.from_pretrained("SivaResearch/tinyllama-Siv-v2")
|
|
|
4 |
from transformers import StoppingCriteria, StoppingCriteriaList, TextIteratorStreamer
|
5 |
from threading import Thread
|
6 |
|
|
|
7 |
# Loading the tokenizer and model from Hugging Face's model hub.
|
8 |
tokenizer = AutoTokenizer.from_pretrained("SivaResearch/tinyllama-Siv-v2")
|
9 |
model = AutoModelForCausalLM.from_pretrained("SivaResearch/tinyllama-Siv-v2")
|