Instructions to use nahed22/fine_tuned_model2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nahed22/fine_tuned_model2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nahed22/fine_tuned_model2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use nahed22/fine_tuned_model2 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for nahed22/fine_tuned_model2 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for nahed22/fine_tuned_model2 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for nahed22/fine_tuned_model2 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="nahed22/fine_tuned_model2", max_seq_length=2048, )
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- README.md +2 -1
- adapter_config.json +4 -4
README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
tags:
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
# Model Card for Model ID
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- unsloth
|
| 5 |
---
|
| 6 |
|
| 7 |
# Model Card for Model ID
|
adapter_config.json
CHANGED
|
@@ -20,13 +20,13 @@
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": "unsloth",
|
| 22 |
"target_modules": [
|
| 23 |
-
"up_proj",
|
| 24 |
"q_proj",
|
| 25 |
-
"
|
| 26 |
-
"
|
| 27 |
"gate_proj",
|
|
|
|
| 28 |
"o_proj",
|
| 29 |
-
"
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
|
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": "unsloth",
|
| 22 |
"target_modules": [
|
|
|
|
| 23 |
"q_proj",
|
| 24 |
+
"k_proj",
|
| 25 |
+
"up_proj",
|
| 26 |
"gate_proj",
|
| 27 |
+
"v_proj",
|
| 28 |
"o_proj",
|
| 29 |
+
"down_proj"
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|