Instructions to use heedong21/typo_recommendation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use heedong21/typo_recommendation with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-2-2b-bnb-4bit") model = PeftModel.from_pretrained(base_model, "heedong21/typo_recommendation") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use heedong21/typo_recommendation 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 heedong21/typo_recommendation 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 heedong21/typo_recommendation to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for heedong21/typo_recommendation to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="heedong21/typo_recommendation", max_seq_length=2048, )
yoon commited on
Training in progress, step 100
Browse files- adapter_config.json +4 -4
- adapter_model.safetensors +1 -1
- tokenizer.json +2 -2
- training_args.bin +2 -2
adapter_config.json
CHANGED
|
@@ -20,13 +20,13 @@
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
|
|
|
| 23 |
"up_proj",
|
| 24 |
"q_proj",
|
| 25 |
-
"down_proj",
|
| 26 |
-
"k_proj",
|
| 27 |
-
"v_proj",
|
| 28 |
"o_proj",
|
| 29 |
-
"
|
|
|
|
|
|
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
|
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
+
"gate_proj",
|
| 24 |
"up_proj",
|
| 25 |
"q_proj",
|
|
|
|
|
|
|
|
|
|
| 26 |
"o_proj",
|
| 27 |
+
"k_proj",
|
| 28 |
+
"down_proj",
|
| 29 |
+
"v_proj"
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 29450584
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:351e643a776741909bc62b66e39019b94327ea05c00eab7add62eea052299e96
|
| 3 |
size 29450584
|
tokenizer.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee5c9bd6005f36d80bf8537debb6306abcc42ed8c47df55bf5bb1b69197b2ca3
|
| 3 |
+
size 17477680
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d93be5123a6dd8a1df5e5f8c9e654038d81ade081b82d422678e06e3d12d16b
|
| 3 |
+
size 5432
|