Spaces:
Running
on
Zero
Running
on
Zero
BramVanroy
commited on
Commit
•
cc968f2
1
Parent(s):
ef2cabe
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ DEFAULT_MAX_NEW_TOKENS = 1024
|
|
14 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "8192"))
|
15 |
|
16 |
if torch.cuda.is_available():
|
17 |
-
model_id = "BramVanroy/GEITje-ultra"
|
18 |
model = AutoModelForCausalLM.from_pretrained(model_id, load_in_8bit=True, device_map="auto")
|
19 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
20 |
|
|
|
14 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "8192"))
|
15 |
|
16 |
if torch.cuda.is_available():
|
17 |
+
model_id = "BramVanroy/GEITje-ultra-dpo-5e-7lr-128tbs-0.1b"
|
18 |
model = AutoModelForCausalLM.from_pretrained(model_id, load_in_8bit=True, device_map="auto")
|
19 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
20 |
|