Spaces:
Runtime error
Runtime error
wangrongsheng
commited on
Commit
•
3fb0204
1
Parent(s):
625f8fd
Update model.py
Browse files
model.py
CHANGED
@@ -4,7 +4,7 @@ from typing import Iterator
|
|
4 |
import torch
|
5 |
from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
6 |
|
7 |
-
model_id = 'wangrongsheng/CareLlama2-7b-
|
8 |
|
9 |
if torch.cuda.is_available():
|
10 |
config = AutoConfig.from_pretrained(model_id)
|
|
|
4 |
import torch
|
5 |
from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
6 |
|
7 |
+
model_id = 'wangrongsheng/CareLlama2-7b-super-mix'
|
8 |
|
9 |
if torch.cuda.is_available():
|
10 |
config = AutoConfig.from_pretrained(model_id)
|