Spaces:
Running
on
Zero
Running
on
Zero
Rijgersberg
commited on
Commit
•
66b837f
1
Parent(s):
f2bedee
Remove HF_TOKEN from tokenizer
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
|
16 |
if torch.cuda.is_available():
|
17 |
model_id = "Rijgersberg/GEITje-7B-chat"
|
18 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto")
|
19 |
-
tokenizer = AutoTokenizer.from_pretrained(model_id
|
20 |
|
21 |
|
22 |
@spaces.GPU
|
|
|
16 |
if torch.cuda.is_available():
|
17 |
model_id = "Rijgersberg/GEITje-7B-chat"
|
18 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto")
|
19 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
20 |
|
21 |
|
22 |
@spaces.GPU
|