Instructions to use rayymaxx/DirectEd-AI-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rayymaxx/DirectEd-AI-LoRA with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("rayymaxx/DirectEd-AI-LoRA", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use rayymaxx/DirectEd-AI-LoRA 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 rayymaxx/DirectEd-AI-LoRA 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 rayymaxx/DirectEd-AI-LoRA to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for rayymaxx/DirectEd-AI-LoRA to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="rayymaxx/DirectEd-AI-LoRA", max_seq_length=2048, )
Training in progress, epoch 1
Browse files- README.md +3 -3
- adapter_config.json +5 -5
- adapter_model.safetensors +1 -1
README.md
CHANGED
|
@@ -4,9 +4,9 @@ library_name: transformers
|
|
| 4 |
model_name: DirectEd-AI-LoRA
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
-
- unsloth
|
| 8 |
-
- sft
|
| 9 |
- trl
|
|
|
|
|
|
|
| 10 |
licence: license
|
| 11 |
---
|
| 12 |
|
|
@@ -28,7 +28,7 @@ print(output["generated_text"])
|
|
| 28 |
|
| 29 |
## Training procedure
|
| 30 |
|
| 31 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/rayymondodhiambo-direct-ed/huggingface/runs/
|
| 32 |
|
| 33 |
|
| 34 |
This model was trained with SFT.
|
|
|
|
| 4 |
model_name: DirectEd-AI-LoRA
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
|
|
|
|
|
|
| 7 |
- trl
|
| 8 |
+
- sft
|
| 9 |
+
- unsloth
|
| 10 |
licence: license
|
| 11 |
---
|
| 12 |
|
|
|
|
| 28 |
|
| 29 |
## Training procedure
|
| 30 |
|
| 31 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/rayymondodhiambo-direct-ed/huggingface/runs/ruem2rba)
|
| 32 |
|
| 33 |
|
| 34 |
This model was trained with SFT.
|
adapter_config.json
CHANGED
|
@@ -25,13 +25,13 @@
|
|
| 25 |
"rank_pattern": {},
|
| 26 |
"revision": null,
|
| 27 |
"target_modules": [
|
| 28 |
-
"k_proj",
|
| 29 |
"v_proj",
|
| 30 |
-
"
|
| 31 |
-
"q_proj",
|
| 32 |
-
"up_proj",
|
| 33 |
"down_proj",
|
| 34 |
-
"
|
|
|
|
|
|
|
|
|
|
| 35 |
],
|
| 36 |
"target_parameters": null,
|
| 37 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 25 |
"rank_pattern": {},
|
| 26 |
"revision": null,
|
| 27 |
"target_modules": [
|
|
|
|
| 28 |
"v_proj",
|
| 29 |
+
"o_proj",
|
|
|
|
|
|
|
| 30 |
"down_proj",
|
| 31 |
+
"up_proj",
|
| 32 |
+
"k_proj",
|
| 33 |
+
"q_proj",
|
| 34 |
+
"gate_proj"
|
| 35 |
],
|
| 36 |
"target_parameters": null,
|
| 37 |
"task_type": "CAUSAL_LM",
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 83945296
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed63bf9d33abfd8932fd4e6e0198b1de4adfed8f3086b05114664d05ac0ec8ec
|
| 3 |
size 83945296
|