Instructions to use rootabytes/Rootal-Twi-ASR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rootabytes/Rootal-Twi-ASR with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("katrintomanek/whisper-large-v3-turbo_Akan_standardspeech_specaugment") model = PeftModel.from_pretrained(base_model, "rootabytes/Rootal-Twi-ASR") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- adapter_config.json +10 -9
- adapter_model.safetensors +2 -2
adapter_config.json
CHANGED
|
@@ -2,11 +2,8 @@
|
|
| 2 |
"alora_invocation_tokens": null,
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
-
"auto_mapping":
|
| 6 |
-
|
| 7 |
-
"parent_library": "transformers.models.whisper.modeling_whisper"
|
| 8 |
-
},
|
| 9 |
-
"base_model_name_or_path": "openai/whisper-large-v3-turbo",
|
| 10 |
"bias": "none",
|
| 11 |
"corda_config": null,
|
| 12 |
"ensure_weight_tying": false,
|
|
@@ -19,7 +16,7 @@
|
|
| 19 |
"layers_pattern": null,
|
| 20 |
"layers_to_transform": null,
|
| 21 |
"loftq_config": {},
|
| 22 |
-
"lora_alpha":
|
| 23 |
"lora_bias": false,
|
| 24 |
"lora_dropout": 0.05,
|
| 25 |
"megatron_config": null,
|
|
@@ -28,15 +25,19 @@
|
|
| 28 |
"peft_type": "LORA",
|
| 29 |
"peft_version": "0.18.1",
|
| 30 |
"qalora_group_size": 16,
|
| 31 |
-
"r":
|
| 32 |
"rank_pattern": {},
|
| 33 |
"revision": null,
|
| 34 |
"target_modules": [
|
| 35 |
"q_proj",
|
| 36 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
],
|
| 38 |
"target_parameters": null,
|
| 39 |
-
"task_type":
|
| 40 |
"trainable_token_indices": null,
|
| 41 |
"use_dora": false,
|
| 42 |
"use_qalora": false,
|
|
|
|
| 2 |
"alora_invocation_tokens": null,
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "katrintomanek/whisper-large-v3-turbo_Akan_standardspeech_specaugment",
|
|
|
|
|
|
|
|
|
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
"ensure_weight_tying": false,
|
|
|
|
| 16 |
"layers_pattern": null,
|
| 17 |
"layers_to_transform": null,
|
| 18 |
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 64,
|
| 20 |
"lora_bias": false,
|
| 21 |
"lora_dropout": 0.05,
|
| 22 |
"megatron_config": null,
|
|
|
|
| 25 |
"peft_type": "LORA",
|
| 26 |
"peft_version": "0.18.1",
|
| 27 |
"qalora_group_size": 16,
|
| 28 |
+
"r": 32,
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
| 32 |
"q_proj",
|
| 33 |
+
"k_proj",
|
| 34 |
+
"fc2",
|
| 35 |
+
"fc1",
|
| 36 |
+
"v_proj",
|
| 37 |
+
"out_proj"
|
| 38 |
],
|
| 39 |
"target_parameters": null,
|
| 40 |
+
"task_type": "SEQ_2_SEQ_LM",
|
| 41 |
"trainable_token_indices": null,
|
| 42 |
"use_dora": false,
|
| 43 |
"use_qalora": false,
|
adapter_model.safetensors
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:640bff4875c67672b7fae6b8194290efe2841bda4f593dcdbc965b4ceceda2e3
|
| 3 |
+
size 111475752
|