Spaces:
Running
on
Zero
Running
on
Zero
Update app_dialogue.py
Browse files- app_dialogue.py +2 -2
app_dialogue.py
CHANGED
@@ -19,12 +19,12 @@ subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENT
|
|
19 |
|
20 |
DEVICE = torch.device("cuda")
|
21 |
MODELS = {
|
22 |
-
"
|
23 |
"HuggingFaceM4/idefics2",
|
24 |
trust_remote_code=True,
|
25 |
torch_dtype=torch.bfloat16,
|
26 |
token=os.environ["HF_AUTH_TOKEN"],
|
27 |
-
revision="
|
28 |
).to(DEVICE),
|
29 |
"282 - mix 5 - opt 18'500": AutoModelForCausalLM.from_pretrained(
|
30 |
"HuggingFaceM4/idefics2",
|
|
|
19 |
|
20 |
DEVICE = torch.device("cuda")
|
21 |
MODELS = {
|
22 |
+
"288 - mix8 - opt 5'800": AutoModelForCausalLM.from_pretrained(
|
23 |
"HuggingFaceM4/idefics2",
|
24 |
trust_remote_code=True,
|
25 |
torch_dtype=torch.bfloat16,
|
26 |
token=os.environ["HF_AUTH_TOKEN"],
|
27 |
+
revision="25bb7ad6d9ab9e43d5002d30f857d4106ed964f3",
|
28 |
).to(DEVICE),
|
29 |
"282 - mix 5 - opt 18'500": AutoModelForCausalLM.from_pretrained(
|
30 |
"HuggingFaceM4/idefics2",
|