Instructions to use zhhan/adapter-Phi-3-mini-4k-instruct_code_writing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use zhhan/adapter-Phi-3-mini-4k-instruct_code_writing with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-4k-instruct") model = PeftModel.from_pretrained(base_model, "zhhan/adapter-Phi-3-mini-4k-instruct_code_writing") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -26,7 +26,7 @@ tags:
|
|
| 26 |
|
| 27 |
|
| 28 |
- **Developed by:** Zhipeng Han
|
| 29 |
-
- **Funded by
|
| 30 |
- **Model type:** Adaptor of generation model
|
| 31 |
- **Language(s) (NLP):** English
|
| 32 |
- **License:** Apache license 2.0
|
|
@@ -45,6 +45,8 @@ tags:
|
|
| 45 |
|
| 46 |
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 47 |
Fine tuned phi3 model with LoRA adaptor approach. For code writing scenario.
|
|
|
|
|
|
|
| 48 |
|
| 49 |
### Direct Use
|
| 50 |
|
|
|
|
| 26 |
|
| 27 |
|
| 28 |
- **Developed by:** Zhipeng Han
|
| 29 |
+
- **Funded by:** Microsoft
|
| 30 |
- **Model type:** Adaptor of generation model
|
| 31 |
- **Language(s) (NLP):** English
|
| 32 |
- **License:** Apache license 2.0
|
|
|
|
| 45 |
|
| 46 |
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 47 |
Fine tuned phi3 model with LoRA adaptor approach. For code writing scenario.
|
| 48 |
+
**NOTICE** This adaptor is fine tuned with the mini dataset tiny-code and user should know that it is not ready for real product scenario.
|
| 49 |
+
This adaptor is used for developing/testing llama.cpp features.
|
| 50 |
|
| 51 |
### Direct Use
|
| 52 |
|