Spaces:
Runtime error
Runtime error
Commit
·
d14b77d
1
Parent(s):
e990869
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def chat_history(history) -> str:
|
|
| 24 |
|
| 25 |
|
| 26 |
def model_loading_pipeline():
|
| 27 |
-
model_id = "vilm/vinallama-7b"
|
| 28 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 29 |
streamer = TextIteratorStreamer(tokenizer, skip_prompt=True, Timeout=5)
|
| 30 |
pipe = pipeline(
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
def model_loading_pipeline():
|
| 27 |
+
model_id = "vilm/vinallama-2.7b"
|
| 28 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 29 |
streamer = TextIteratorStreamer(tokenizer, skip_prompt=True, Timeout=5)
|
| 30 |
pipe = pipeline(
|