Instructions to use KrorngAI/TrorYongASR2-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KrorngAI/TrorYongASR2-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="KrorngAI/TrorYongASR2-tiny")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("KrorngAI/TrorYongASR2-tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Push model using huggingface_hub.
Browse files- README.md +10 -0
- config.json +17 -0
README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- model_hub_mixin
|
| 4 |
+
- pytorch_model_hub_mixin
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 8 |
+
- Code: [More Information Needed]
|
| 9 |
+
- Paper: [More Information Needed]
|
| 10 |
+
- Docs: [More Information Needed]
|
config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bias": true,
|
| 3 |
+
"dropout": 0.1,
|
| 4 |
+
"eot_id": 2,
|
| 5 |
+
"gamma": 10.0,
|
| 6 |
+
"n_audio_ctx": 1500,
|
| 7 |
+
"n_embed": 384,
|
| 8 |
+
"n_head": 6,
|
| 9 |
+
"n_layer": 4,
|
| 10 |
+
"n_mels": 80,
|
| 11 |
+
"n_text_ctx": 448,
|
| 12 |
+
"pad_id": 2,
|
| 13 |
+
"rope_percentage": 0.75,
|
| 14 |
+
"tie_word_embeddings": true,
|
| 15 |
+
"transcribe_id": 48002,
|
| 16 |
+
"vocab_size": 48005
|
| 17 |
+
}
|