VictorSanh commited on
Commit
87d5d88
1 Parent(s): 8e6111a

update readme

Browse files
Files changed (1) hide show
  1. README.md +39 -2
README.md CHANGED
@@ -18,6 +18,8 @@ datasets:
18
  - camel-ai/math
19
  - AtlasUnified/atlas-math-sets
20
  - tiedong/goat
 
 
21
  language:
22
  - en
23
  tags:
@@ -39,7 +41,7 @@ Idefics2 is an open multimodal model that accepts arbitrary sequences of image a
39
  We release under the Apache 2.0 license 2 checkpoints:
40
  - [idefics2-8b-base](https://huggingface.co/HuggingFaceM4/idefics2-8b-base): the base model
41
  - [idefics2-8b](https://huggingface.co/HuggingFaceM4/idefics2-8b): the base model fine-tuned on a mixture of supervised and instruction datasets (text-only and multimodal datasets)
42
- - idefics2-8b-chatty (coming soon): `idefics2-8b` further fine-tuned on long conservation
43
 
44
  # Model Summary
45
 
@@ -51,7 +53,8 @@ We release under the Apache 2.0 license 2 checkpoints:
51
  - **Resources for more information:**
52
  - Description of [OBELICS](https://huggingface.co/datasets/HuggingFaceM4/OBELICS): [OBELICS: An Open Web-Scale Filtered Dataset of Interleaved Image-Text Documents
53
  ](https://huggingface.co/papers/2306.16527)
54
- - Paper: Coming soon
 
55
 
56
 
57
  # Uses
@@ -383,6 +386,27 @@ Alongside this evaluation, we also computed the classification accuracy on FairF
383
  - Despite our efforts in filtering the training data, we found a small proportion of content that is not suitable for all audiences. This includes pornographic content and reports of violent shootings and is prevalent in the OBELICS portion of the data (see [here](https://huggingface.co/datasets/HuggingFaceM4/OBELICS#content-warnings) for more details). As such, the model is susceptible to generating text that resembles this content.
384
  - We note that we know relatively little about the composition of the pre-trained LM backbone, which makes it difficult to link inherited limitations or problematic behaviors to their data.
385
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
386
 
387
  # Misuse and Out-of-scope use
388
 
@@ -418,4 +442,17 @@ The model is built on top of two pre-trained models: [google/siglip-so400m-patch
418
  archivePrefix={arXiv},
419
  primaryClass={cs.IR}
420
  }
 
 
 
 
 
 
 
 
 
421
  ```
 
 
 
 
 
18
  - camel-ai/math
19
  - AtlasUnified/atlas-math-sets
20
  - tiedong/goat
21
+ - Lin-Chen/ShareGPT4V
22
+ - jxu124/llava_conversation_58k
23
  language:
24
  - en
25
  tags:
 
41
  We release under the Apache 2.0 license 2 checkpoints:
42
  - [idefics2-8b-base](https://huggingface.co/HuggingFaceM4/idefics2-8b-base): the base model
43
  - [idefics2-8b](https://huggingface.co/HuggingFaceM4/idefics2-8b): the base model fine-tuned on a mixture of supervised and instruction datasets (text-only and multimodal datasets)
44
+ - [idefics2-8b-chatty](https://huggingface.co/HuggingFaceM4/idefics2-8b-chatty): `idefics2-8b` further fine-tuned on long conservation
45
 
46
  # Model Summary
47
 
 
53
  - **Resources for more information:**
54
  - Description of [OBELICS](https://huggingface.co/datasets/HuggingFaceM4/OBELICS): [OBELICS: An Open Web-Scale Filtered Dataset of Interleaved Image-Text Documents
55
  ](https://huggingface.co/papers/2306.16527)
56
+ - Paper: [What matters when building vision-language models?
57
+ ](https://huggingface.co/papers/2405.02246)
58
 
59
 
60
  # Uses
 
386
  - Despite our efforts in filtering the training data, we found a small proportion of content that is not suitable for all audiences. This includes pornographic content and reports of violent shootings and is prevalent in the OBELICS portion of the data (see [here](https://huggingface.co/datasets/HuggingFaceM4/OBELICS#content-warnings) for more details). As such, the model is susceptible to generating text that resembles this content.
387
  - We note that we know relatively little about the composition of the pre-trained LM backbone, which makes it difficult to link inherited limitations or problematic behaviors to their data.
388
 
389
+ **Red-teaming**
390
+
391
+ In the context of a **[Red-Teaming](https://huggingface.co/blog/red-teaming)** exercise, our objective was to evaluate the propensity of the model to generate inaccurate, biased, or offensive responses. We evaluated [idefics2-8b-chatty](https://huggingface.co/HuggingFaceM4/idefics2-8b-chatty).
392
+
393
+ While the model typically refrains from responding to offensive inputs, we observed that through repeated trials or guided interactions, it tends to hastily form judgments in situations necessitating nuanced contextual understanding, often perpetuating harmful stereotypes. Noteworthy instances include:
394
+ - Speculating or passing judgments, or perpetuating historical disparities on individuals' professions, social status, or insurance eligibility based solely on visual cues (e.g., age, attire, gender, facial expressions).
395
+ - Generating content that promotes online harassment or offensive memes reinforcing harmful associations from a portrait, or from a benign image.
396
+ - Assuming emotional states or mental conditions based on outward appearances.
397
+ - Evaluating individuals' attractiveness solely based on their visual appearance.
398
+
399
+ Additionally, we identified behaviors that increase security risks that already exist:
400
+ - Successfully solving CAPTCHAs featuring distorted text within images.
401
+ - Developing phishing schemes from screenshots of legitimate websites to deceive users into divulging their credentials.
402
+ - Crafting step-by-step guides on constructing small-scale explosives using readily available chemicals from common supermarkets or manipulating firearms to do maximum damage.
403
+
404
+ It's important to note that these security concerns are currently limited by the model's occasional inability to accurately read text within images.
405
+
406
+ We emphasize that the model would often encourage the user to exercise caution about the model's generation or flag how problematic the initial query can be in the first place. For instance, when insistently prompted to write a racist comment, the model would answer that query before pointing out "*This type of stereotyping and dehumanization has been used throughout history to justify discrimination and oppression against people of color. By making light of such a serious issue, this meme perpetuates harmful stereotypes and contributes to the ongoing struggle for racial equality and social justice.*".
407
+
408
+ However, certain formulations can circumvent (i.e. "jail-break") these cautionary prompts, emphasizing the need for critical thinking and discretion when engaging with the model's outputs. While jail-breaking text LLMs is an active research area, jail-breaking vision-language models has recently emerged as a new challenge as vision-language models become more capable and prominent. The addition of the vision modality not only introduces new avenues for injecting malicious prompts but also raises questions about the interaction between vision and language vulnerabilities.
409
+
410
 
411
  # Misuse and Out-of-scope use
412
 
 
442
  archivePrefix={arXiv},
443
  primaryClass={cs.IR}
444
  }
445
+
446
+ @misc{laurençon2024matters,
447
+ title={What matters when building vision-language models?},
448
+ author={Hugo Laurençon and Léo Tronchon and Matthieu Cord and Victor Sanh},
449
+ year={2024},
450
+ eprint={2405.02246},
451
+ archivePrefix={arXiv},
452
+ primaryClass={cs.CV}
453
+ }
454
  ```
455
+
456
+ # Acknowledgements
457
+
458
+ We thank @yjernite, @sasha, @meg, @giadap, @jack-kumar, and @frimelle, who provided help to red-team the model.