oleksandrfluxon
commited on
Commit
•
4c526ae
1
Parent(s):
acafa74
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, AutoConfig
|
|
5 |
|
6 |
|
7 |
class EndpointHandler:
|
8 |
-
def __init__(self, path="", unused):
|
9 |
print('===> __init__', path, unused)
|
10 |
# load model and tokenizer from path
|
11 |
self.tokenizer = AutoTokenizer.from_pretrained(path) # AutoTokenizer.from_pretrained("EleutherAI/gpt-neox-20b")
|
|
|
5 |
|
6 |
|
7 |
class EndpointHandler:
|
8 |
+
def __init__(self, path="", unused=""):
|
9 |
print('===> __init__', path, unused)
|
10 |
# load model and tokenizer from path
|
11 |
self.tokenizer = AutoTokenizer.from_pretrained(path) # AutoTokenizer.from_pretrained("EleutherAI/gpt-neox-20b")
|