Spaces:
Running
on
Zero
Running
on
Zero
Rijgersberg
commited on
Commit
•
2dc94e2
1
Parent(s):
8d012d9
Use epoch 2 of GEITje-chat
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ DEFAULT_MAX_NEW_TOKENS = 1024
|
|
20 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
21 |
|
22 |
if torch.cuda.is_available():
|
23 |
-
model_id = "Rijgersberg/GEITje-7B-chat"
|
24 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto", token=HF_TOKEN)
|
25 |
tokenizer = AutoTokenizer.from_pretrained(model_id, token=HF_TOKEN)
|
26 |
|
|
|
20 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
21 |
|
22 |
if torch.cuda.is_available():
|
23 |
+
model_id = "Rijgersberg/GEITje-7B-chat-epoch2"
|
24 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto", token=HF_TOKEN)
|
25 |
tokenizer = AutoTokenizer.from_pretrained(model_id, token=HF_TOKEN)
|
26 |
|