ArmelR commited on
Commit
32241a9
·
1 Parent(s): 157d6d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -381,16 +381,16 @@ with gr.Blocks(analytics_enabled=False, css=custom_css) as demo:
381
  # ⚠️ **Data Collection**: by default, we are collecting the prompts entered in this app to further improve and evaluate the models. Do **NOT** share any personal or sensitive information while using the app! You can opt out of this data collection by removing the checkbox below.
382
  # """
383
  # )
384
- with gr.Column():
385
- gr.Markdown(
386
- """![](https://huggingface.co/spaces/codeparrot/chat-playground/resolve/main/gradio.png)
387
- StackLLaMa-2 is a 7 billion parameter language model based on [Meta's LLaMA 2 model](https://ai.meta.com/llama/) that has been trained on pairs of questions and answers from [Stack Exchange](https://stackexchange.com) using Direct Preference Optimization (DPO) with the [TRL library](https://github.com/lvwerra/trl). For more details, check out our [blog post](https://huggingface.co/blog/dpo-trl).
388
- Type in the box below and click the button to generate answers to your most pressing questions!
389
- ⚠️ **Intended Use**: this app and its [supporting model](https://huggingface.co/kashif/stack-llama-2) are provided as educational tools to explain RLHF with the TRL library; not to serve as replacement for human expertise. For more details on the model's limitations in terms of factuality and biases, see the [model card.](https://huggingface.co/kashif/stack-llama-2#intended-uses--limitations)
390
-
391
- ⚠️ **Data Collection**: by default, we are collecting the prompts entered in this app to further improve and evaluate the model. Do not share any personal or sensitive information while using the app! You can opt out of this data collection by removing the checkbox below:
392
- """
393
- )
394
  with gr.Row():
395
  selected_model = gr.Radio(choices=model_names, value=model_names[1], label="Select a model")
396
 
 
381
  # ⚠️ **Data Collection**: by default, we are collecting the prompts entered in this app to further improve and evaluate the models. Do **NOT** share any personal or sensitive information while using the app! You can opt out of this data collection by removing the checkbox below.
382
  # """
383
  # )
384
+ with gr.Column():
385
+ gr.Markdown(
386
+ """![](https://huggingface.co/spaces/codeparrot/gradio-playground/resolve/main/gradio.png)
387
+ Chat-with-Gradio is a 15.5 billion parameter language model based on [BigCode's StarCoderplus model](https://huggingface.co/bigcode/starcoderplus) that has been trained on pairs of questions and answers from [Stack Exchange](https://stackexchange.com) using Direct Preference Optimization (DPO) with the [TRL library](https://github.com/lvwerra/trl). For more details, check out our [blog post](https://huggingface.co/blog/dpo-trl).
388
+ Type in the box below and click the button to generate answers to your most pressing questions!
389
+ ⚠️ **Intended Use**: this app and its [supporting model](https://huggingface.co/kashif/stack-llama-2) are provided as educational tools to explain RLHF with the TRL library; not to serve as replacement for human expertise. For more details on the model's limitations in terms of factuality and biases, see the [model card.](https://huggingface.co/kashif/stack-llama-2#intended-uses--limitations)
390
+
391
+ ⚠️ **Data Collection**: by default, we are collecting the prompts entered in this app to further improve and evaluate the model. Do not share any personal or sensitive information while using the app! You can opt out of this data collection by removing the checkbox below:
392
+ """
393
+ )
394
  with gr.Row():
395
  selected_model = gr.Radio(choices=model_names, value=model_names[1], label="Select a model")
396