Downloads · 30 days
26
3% of all-time downloads
prsdm/phi-2-medquad
phi-2-medquad is a question answering model from prsdm. Use it when the input is a question plus a passage. It is set up for transformers. The card lists the license as mit.
<p 😸<a href="https://github.com/prsdm/fine-tuning-llms/blob/main/Fine-tuning-phi-2-model.ipynb"GitHub</a •📝<a href="https://medium.com/@prasadmahamulkar/fine-tuning-phi-2-a-step-by-step-guide-e672e7f1d009"Article</a…
Downloads · 30 days
26
3% of all-time downloads
All-time downloads
809
Public
Parameters
2.8B
5.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.6 GB · 100%
From the Hugging Face model README
This repository provides a collection of Jupyter notebooks that demonstrate how to fine-tune large language models using various tools and techniques.
fine-tuning or instruction tuning is the process where the pre-trained model is further trained on the smaller dataset to adapt its knowledge for a specific task or domain. This process tweaks the model’s parameters to perform specific tasks. In fine-tuning, there are two methods:
In SFT, the model is trained on a labeled dataset. The labeled dataset typically contains examples of instruction (input) and response (output) pairs relevant to the task. In this process, the model learns how to respond to specific instructions.
In RLHF, the model interacts with users, generates responses, and receives feedback in the form of reinforcement signals. Basically, the model learns and improves its performance based on the feedback it receives.
| LLMs | Description | Dataset | Notebooks | Tuned Model |
|---|---|---|---|---|
| Phi-2 | This model has been fine-tuned on a Medical dataset to answer questions related to diseases and symptoms. (used SFT method) | Dataset | phi-2-medquad | |
| llama-2 | This model has been fine-tuned on a dataset with human-generated prompts to answer questions related to general knowledge. (used SFT method) | Dataset | llama-2-finance |