Instructions to use tachiwin/multilingual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tachiwin/multilingual with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("tachiwin/pretrained_multilingual_instruct") model = PeftModel.from_pretrained(base_model, "tachiwin/multilingual") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use tachiwin/multilingual 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 tachiwin/multilingual 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 tachiwin/multilingual to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tachiwin/multilingual to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="tachiwin/multilingual", max_seq_length=2048, )
Training in progress, step 60
Browse files- adapter_config.json +5 -5
- adapter_model.safetensors +1 -1
- training_args.bin +1 -1
adapter_config.json
CHANGED
|
@@ -24,13 +24,13 @@
|
|
| 24 |
"rank_pattern": {},
|
| 25 |
"revision": null,
|
| 26 |
"target_modules": [
|
| 27 |
-
"down_proj",
|
| 28 |
-
"q_proj",
|
| 29 |
"gate_proj",
|
| 30 |
-
"up_proj",
|
| 31 |
-
"o_proj",
|
| 32 |
"k_proj",
|
| 33 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
],
|
| 35 |
"task_type": "CAUSAL_LM",
|
| 36 |
"trainable_token_indices": null,
|
|
|
|
| 24 |
"rank_pattern": {},
|
| 25 |
"revision": null,
|
| 26 |
"target_modules": [
|
|
|
|
|
|
|
| 27 |
"gate_proj",
|
|
|
|
|
|
|
| 28 |
"k_proj",
|
| 29 |
+
"q_proj",
|
| 30 |
+
"up_proj",
|
| 31 |
+
"down_proj",
|
| 32 |
+
"v_proj",
|
| 33 |
+
"o_proj"
|
| 34 |
],
|
| 35 |
"task_type": "CAUSAL_LM",
|
| 36 |
"trainable_token_indices": null,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1342238560
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:527f9369c1f2fe014389acd3726dfe6d4bf23ea4cb355592a808dd66d57cf182
|
| 3 |
size 1342238560
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6033
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0f0eae24668481eb695642914d289c72841244193a0453fb8a17aefc575e460
|
| 3 |
size 6033
|