Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,16 +35,7 @@ def generate(prompt, max_length, temperature, num_samples):
|
|
| 35 |
|
| 36 |
with gr.Blocks() as app:
|
| 37 |
gr.Markdown("## ERA Session27 - Phi2 Model Finetuning with QLoRA on OpenAssistant Conversations Dataset (OASST1)")
|
| 38 |
-
|
| 39 |
-
"""This is an implementation of [Phi2](https://huggingface.co/microsoft/phi-2) model finetuning using QLoRA stratergy on [OpenAssistant Conversations Dataset (OASST1)](https://huggingface.co/datasets/OpenAssistant/oasst1)
|
| 40 |
-
|
| 41 |
-
Please find the source code and training details [here](https://github.com/RaviNaik/ERA-SESSION27).
|
| 42 |
-
|
| 43 |
-
Dataset used to finetune: [OpenAssistant Conversations Dataset (OASST1)](https://huggingface.co/datasets/OpenAssistant/oasst1)
|
| 44 |
-
ChatML modified OSST Dataset: [RaviNaik/oasst1-chatml](https://huggingface.co/datasets/RaviNaik/oasst1-chatml)
|
| 45 |
-
Finetuned Model: [RaviNaik/Phi2-Osst](https://huggingface.co/RaviNaik/Phi2-Osst)
|
| 46 |
-
"""
|
| 47 |
-
)
|
| 48 |
with gr.Row():
|
| 49 |
with gr.Column():
|
| 50 |
prompt_box = gr.Textbox(label="Initial Prompt", interactive=True)
|
|
|
|
| 35 |
|
| 36 |
with gr.Blocks() as app:
|
| 37 |
gr.Markdown("## ERA Session27 - Phi2 Model Finetuning with QLoRA on OpenAssistant Conversations Dataset (OASST1)")
|
| 38 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
with gr.Row():
|
| 40 |
with gr.Column():
|
| 41 |
prompt_box = gr.Textbox(label="Initial Prompt", interactive=True)
|