Automatic Speech Recognition
PEFT
Safetensors
Japanese
lora
whisper
speech-to-text
kansai-dialect
japanese
Instructions to use hpscript/whisper-small-kansai-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use hpscript/whisper-small-kansai-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("openai/whisper-small") model = PeftModel.from_pretrained(base_model, "hpscript/whisper-small-kansai-lora") - Notebooks
- Google Colab
- Kaggle
Upload adapter_config.json with huggingface_hub
Browse files- adapter_config.json +1 -0
adapter_config.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
| 26 |
"megatron_core": "megatron.core",
|
| 27 |
"modules_to_save": null,
|
| 28 |
"peft_type": "LORA",
|
|
|
|
| 29 |
"peft_version": "0.18.0",
|
| 30 |
"qalora_group_size": 16,
|
| 31 |
"r": 32,
|
|
|
|
| 26 |
"megatron_core": "megatron.core",
|
| 27 |
"modules_to_save": null,
|
| 28 |
"peft_type": "LORA",
|
| 29 |
+
"task_type": "SEQ_2_SEQ_LM",
|
| 30 |
"peft_version": "0.18.0",
|
| 31 |
"qalora_group_size": 16,
|
| 32 |
"r": 32,
|