anas-awadalla commited on
Commit
3c3d85f
1 Parent(s): e548f8b

added stuff

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -209,17 +209,18 @@ with gr.Blocks() as demo:
209
  Blog posts: #1 [An open-source framework for training vision-language models with in-context learning](https://laion.ai/blog/open-flamingo/) // #2 [OpenFlamingo v2: New Models and Enhanced Training Setup]()
210
  GitHub: [open_flamingo](https://github.com/mlfoundations/open_flamingo)
211
 
212
- In this demo we implement an interactive interface that showcases the in-context learning capabilities of the OpenFlamingo-4B model, a large multimodal model trained on top of
213
- RedPajama-INCITE-Instruct-3B-v1.
214
  The model is trained on an interleaved mixture of text and images and is able to generate text conditioned on sequences of images/text. To safeguard against harmful generations, we detect toxic text in the model output and reject it. However, we understand that this is not a perfect solution and we encourage you to use this demo responsibly. If you find that the model is generating harmful text, please report it using this [form](https://forms.gle/StbcPvyyW2p3Pc7z6).
215
  """
216
  )
217
 
218
  with gr.Accordion("See terms and conditions"):
219
  gr.Markdown("""**Please read the following information carefully before proceeding.**
220
- [OpenFlamingo-4B](https://huggingface.co/openflamingo/OpenFlamingo-4B-vitl-rpj3b) is a **research prototype** that aims to enable users to interact with AI through both language and images. AI agents equipped with both language and visual understanding can be useful on a larger variety of tasks compared to models that communicate solely via language. By releasing an open-source research prototype, we hope to help the research community better understand the risks and limitations of modern visual-language AI models and accelerate the development of safer and more reliable methods.
221
- **Limitations.** OpenFlamingo-4B is built on top of the [
222
- RedPajama-INCITE-Base-3B-v1](https://huggingface.co/togethercomputer/RedPajama-INCITE-Base-3B-v1) large language model developed by Together.xyz. Large language models are trained on mostly unfiltered internet data, and have been shown to be able to produce toxic, unethical, inaccurate, and harmful content. On top of this, OpenFlamingo’s ability to support visual inputs creates additional risks, since it can be used in a wider variety of applications; image+text models may carry additional risks specific to multimodality. Please use discretion when assessing the accuracy or appropriateness of the model’s outputs, and be mindful before sharing its results.
 
 
223
  **Privacy and data collection.** This demo does NOT store any personal information on its users, and it does NOT store user queries.""")
224
  read_tc = gr.Checkbox(
225
  label="I have read and agree to the terms and conditions", value=False)
 
209
  Blog posts: #1 [An open-source framework for training vision-language models with in-context learning](https://laion.ai/blog/open-flamingo/) // #2 [OpenFlamingo v2: New Models and Enhanced Training Setup]()
210
  GitHub: [open_flamingo](https://github.com/mlfoundations/open_flamingo)
211
 
212
+ In this demo we implement an interactive interface that showcases the in-context learning capabilities of the OpenFlamingo-4B model, a large multimodal model trained on top of RedPajama-INCITE-Instruct-3B-v1.
 
213
  The model is trained on an interleaved mixture of text and images and is able to generate text conditioned on sequences of images/text. To safeguard against harmful generations, we detect toxic text in the model output and reject it. However, we understand that this is not a perfect solution and we encourage you to use this demo responsibly. If you find that the model is generating harmful text, please report it using this [form](https://forms.gle/StbcPvyyW2p3Pc7z6).
214
  """
215
  )
216
 
217
  with gr.Accordion("See terms and conditions"):
218
  gr.Markdown("""**Please read the following information carefully before proceeding.**
219
+
220
+ [OpenFlamingo-4B](https://huggingface.co/openflamingo/OpenFlamingo-4B-vitl-rpj3b-langinstruct) is a **research prototype** that aims to enable users to interact with AI through both language and images. AI agents equipped with both language and visual understanding can be useful on a larger variety of tasks compared to models that communicate solely via language. By releasing an open-source research prototype, we hope to help the research community better understand the risks and limitations of modern visual-language AI models and accelerate the development of safer and more reliable methods.
221
+
222
+ **Limitations.** OpenFlamingo-4B is built on top of the [RedPajama-INCITE-Instruct-3B-v1](https://huggingface.co/togethercomputer/RedPajama-INCITE-Instruct-3B-v1) large language model developed by Together.xyz. Large language models are trained on mostly unfiltered internet data, and have been shown to be able to produce toxic, unethical, inaccurate, and harmful content. On top of this, OpenFlamingo’s ability to support visual inputs creates additional risks, since it can be used in a wider variety of applications; image+text models may carry additional risks specific to multimodality. Please use discretion when assessing the accuracy or appropriateness of the model’s outputs, and be mindful before sharing its results.
223
+
224
  **Privacy and data collection.** This demo does NOT store any personal information on its users, and it does NOT store user queries.""")
225
  read_tc = gr.Checkbox(
226
  label="I have read and agree to the terms and conditions", value=False)