Update model.py
Browse files
model.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from threading import Thread
|
2 |
from typing import Iterator
|
3 |
|
4 |
-
|
5 |
from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
6 |
model="/kaggle/input/deberta-v3-large-hf-weights"
|
7 |
if torch.cuda.is_available():
|
|
|
1 |
from threading import Thread
|
2 |
from typing import Iterator
|
3 |
|
4 |
+
|
5 |
from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
6 |
model="/kaggle/input/deberta-v3-large-hf-weights"
|
7 |
if torch.cuda.is_available():
|