Spaces:
Running
on
Zero
Running
on
Zero
VictorSanh
commited on
Commit
•
87ce3a7
1
Parent(s):
95d7dd6
Update app_dialogue.py
Browse files- app_dialogue.py +2 -9
app_dialogue.py
CHANGED
@@ -25,19 +25,12 @@ subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENT
|
|
25 |
|
26 |
DEVICE = torch.device("cuda")
|
27 |
MODELS = {
|
28 |
-
|
29 |
-
# "HuggingFaceM4/idefics2",
|
30 |
-
# trust_remote_code=True,
|
31 |
-
# torch_dtype=torch.bfloat16,
|
32 |
-
# token=os.environ["HF_AUTH_TOKEN"],
|
33 |
-
# revision="1e05755c1c5cb2077a0f60b83ea1368c22a17282",
|
34 |
-
# ).to(DEVICE),
|
35 |
-
"279bis - baseline - opt 18'500": AutoModelForCausalLM.from_pretrained(
|
36 |
"HuggingFaceM4/idefics2",
|
37 |
trust_remote_code=True,
|
38 |
torch_dtype=torch.bfloat16,
|
39 |
token=os.environ["HF_AUTH_TOKEN"],
|
40 |
-
revision="
|
41 |
).to(DEVICE),
|
42 |
"286 - mix6 tables - opt 20'000": AutoModelForCausalLM.from_pretrained(
|
43 |
"HuggingFaceM4/idefics2",
|
|
|
25 |
|
26 |
DEVICE = torch.device("cuda")
|
27 |
MODELS = {
|
28 |
+
"282 - mix1 fixed - opt 23'000": AutoModelForCausalLM.from_pretrained(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
"HuggingFaceM4/idefics2",
|
30 |
trust_remote_code=True,
|
31 |
torch_dtype=torch.bfloat16,
|
32 |
token=os.environ["HF_AUTH_TOKEN"],
|
33 |
+
revision="a1bc6a2b0f74cde25844144f602dde2808a564d9",
|
34 |
).to(DEVICE),
|
35 |
"286 - mix6 tables - opt 20'000": AutoModelForCausalLM.from_pretrained(
|
36 |
"HuggingFaceM4/idefics2",
|