Update README.md
Browse files
README.md
CHANGED
@@ -36,11 +36,21 @@ This allows the model to be used for tasks like:
|
|
36 |
- visual question answering (VQA)
|
37 |
- chat-like conversations by feeding the image and the previous conversation as prompt to the model
|
38 |
|
39 |
-
##
|
40 |
|
41 |
You can use the raw model for conditional text generation given an image and optional text. See the [model hub](https://huggingface.co/models?search=Salesforce/blip) to look for
|
42 |
fine-tuned versions on a task that interests you.
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
### How to use
|
45 |
|
46 |
For code examples, we refer to the [documentation](https://huggingface.co/docs/transformers/main/en/model_doc/blip-2#transformers.Blip2ForConditionalGeneration.forward.example).
|
|
|
36 |
- visual question answering (VQA)
|
37 |
- chat-like conversations by feeding the image and the previous conversation as prompt to the model
|
38 |
|
39 |
+
## Direct Use and Downstream Use
|
40 |
|
41 |
You can use the raw model for conditional text generation given an image and optional text. See the [model hub](https://huggingface.co/models?search=Salesforce/blip) to look for
|
42 |
fine-tuned versions on a task that interests you.
|
43 |
|
44 |
+
## Bias, Risks, and Limitations
|
45 |
+
|
46 |
+
BLIP2-FlanT5 uses off-the-shelf Flan-T5 as the language model. It inherits the same risks and limitations from [Flan-T5](https://arxiv.org/pdf/2210.11416.pdf):
|
47 |
+
|
48 |
+
> Language models, including Flan-T5, can potentially be used for language generation in a harmful way, according to Rae et al. (2021). Flan-T5 should not be used directly in any application, without a prior assessment of safety and fairness concerns specific to the application.
|
49 |
+
|
50 |
+
BLIP2 is fine-tuned on image-text datasets (e.g. [LAION](https://laion.ai/blog/laion-400-open-dataset/) ) collected from the internet. As a result the model itself is potentially vulnerable to generating equivalently inappropriate content or replicating inherent biases in the underlying data.
|
51 |
+
|
52 |
+
BLIP2 has not been tested in real world applications. It should not be directly deployed in any applications. Researchers should first carefully assess the safety and fairness of the model in relation to the specific context they’re being deployed within.
|
53 |
+
|
54 |
### How to use
|
55 |
|
56 |
For code examples, we refer to the [documentation](https://huggingface.co/docs/transformers/main/en/model_doc/blip-2#transformers.Blip2ForConditionalGeneration.forward.example).
|