Spaces:
Runtime error
Runtime error
Update app_dialogue.py
Browse files- app_dialogue.py +2 -2
app_dialogue.py
CHANGED
@@ -20,12 +20,12 @@ subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENT
|
|
20 |
|
21 |
DEVICE = torch.device("cuda")
|
22 |
MODELS = {
|
23 |
-
"
|
24 |
"HuggingFaceM4/idefics2",
|
25 |
trust_remote_code=True,
|
26 |
torch_dtype=torch.bfloat16,
|
27 |
token=os.environ["HF_AUTH_TOKEN"],
|
28 |
-
revision="
|
29 |
).to(DEVICE),
|
30 |
"288_ter - mix 8 - opt 11'000": AutoModelForCausalLM.from_pretrained(
|
31 |
"HuggingFaceM4/idefics2",
|
|
|
20 |
|
21 |
DEVICE = torch.device("cuda")
|
22 |
MODELS = {
|
23 |
+
"tr_289_288_ter_12600_lima - opt 200": AutoModelForCausalLM.from_pretrained(
|
24 |
"HuggingFaceM4/idefics2",
|
25 |
trust_remote_code=True,
|
26 |
torch_dtype=torch.bfloat16,
|
27 |
token=os.environ["HF_AUTH_TOKEN"],
|
28 |
+
revision="73b35c12d88ccc2d9904d9f2f6a755f4973c228c",
|
29 |
).to(DEVICE),
|
30 |
"288_ter - mix 8 - opt 11'000": AutoModelForCausalLM.from_pretrained(
|
31 |
"HuggingFaceM4/idefics2",
|