Instructions to use myfi/parser_model_ner_3.96_adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use myfi/parser_model_ner_3.96_adapter with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("myfi/parser_model_ner_3.96_adapter", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use myfi/parser_model_ner_3.96_adapter 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 myfi/parser_model_ner_3.96_adapter 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 myfi/parser_model_ner_3.96_adapter to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for myfi/parser_model_ner_3.96_adapter to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="myfi/parser_model_ner_3.96_adapter", max_seq_length=2048, )
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- adapter_config.json +4 -2
- adapter_model.safetensors +1 -1
adapter_config.json
CHANGED
|
@@ -19,11 +19,12 @@
|
|
| 19 |
"lora_alpha": 16,
|
| 20 |
"lora_bias": false,
|
| 21 |
"lora_dropout": 0.1,
|
|
|
|
| 22 |
"megatron_config": null,
|
| 23 |
"megatron_core": "megatron.core",
|
| 24 |
"modules_to_save": null,
|
| 25 |
"peft_type": "LORA",
|
| 26 |
-
"peft_version": "0.
|
| 27 |
"qalora_group_size": 16,
|
| 28 |
"r": 8,
|
| 29 |
"rank_pattern": {},
|
|
@@ -32,14 +33,15 @@
|
|
| 32 |
"q_proj",
|
| 33 |
"gate_proj",
|
| 34 |
"k_proj",
|
| 35 |
-
"up_proj",
|
| 36 |
"down_proj",
|
| 37 |
"o_proj",
|
|
|
|
| 38 |
"v_proj"
|
| 39 |
],
|
| 40 |
"target_parameters": null,
|
| 41 |
"task_type": "CAUSAL_LM",
|
| 42 |
"trainable_token_indices": null,
|
|
|
|
| 43 |
"use_dora": false,
|
| 44 |
"use_qalora": false,
|
| 45 |
"use_rslora": true
|
|
|
|
| 19 |
"lora_alpha": 16,
|
| 20 |
"lora_bias": false,
|
| 21 |
"lora_dropout": 0.1,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
"megatron_config": null,
|
| 24 |
"megatron_core": "megatron.core",
|
| 25 |
"modules_to_save": null,
|
| 26 |
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
"qalora_group_size": 16,
|
| 29 |
"r": 8,
|
| 30 |
"rank_pattern": {},
|
|
|
|
| 33 |
"q_proj",
|
| 34 |
"gate_proj",
|
| 35 |
"k_proj",
|
|
|
|
| 36 |
"down_proj",
|
| 37 |
"o_proj",
|
| 38 |
+
"up_proj",
|
| 39 |
"v_proj"
|
| 40 |
],
|
| 41 |
"target_parameters": null,
|
| 42 |
"task_type": "CAUSAL_LM",
|
| 43 |
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
"use_dora": false,
|
| 46 |
"use_qalora": false,
|
| 47 |
"use_rslora": true
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 66126768
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6d26de2d300fc4a16de5fe0634886a5035f95a9a95e87751880c40f92bce585
|
| 3 |
size 66126768
|