Leyo commited on
Commit
ac87edb
·
verified ·
1 Parent(s): a736286

Update app_dialogue.py

Browse files
Files changed (1) hide show
  1. app_dialogue.py +2 -1
app_dialogue.py CHANGED
@@ -35,12 +35,13 @@ MODELS = {
35
  # trust_remote_code=True,
36
  # token=os.environ["HF_AUTH_TOKEN"],
37
  # ).to(DEVICE),
38
- "idefics2-8b-chatty (chat)": Idefics2ForConditionalGeneration.from_pretrained(
39
  "HuggingFaceM4/idefics2-8b-chatty",
40
  torch_dtype=torch.bfloat16,
41
  _attn_implementation="flash_attention_2",
42
  trust_remote_code=True,
43
  token=os.environ["HF_AUTH_TOKEN"],
 
44
  ).to(DEVICE),
45
  }
46
  PROCESSOR = AutoProcessor.from_pretrained(
 
35
  # trust_remote_code=True,
36
  # token=os.environ["HF_AUTH_TOKEN"],
37
  # ).to(DEVICE),
38
+ "idefics2-8b-chatty (chat-50)": Idefics2ForConditionalGeneration.from_pretrained(
39
  "HuggingFaceM4/idefics2-8b-chatty",
40
  torch_dtype=torch.bfloat16,
41
  _attn_implementation="flash_attention_2",
42
  trust_remote_code=True,
43
  token=os.environ["HF_AUTH_TOKEN"],
44
+ revision="1d57ffb705199370f7875667cc8f54abd09b2004"
45
  ).to(DEVICE),
46
  }
47
  PROCESSOR = AutoProcessor.from_pretrained(