Instructions to use Archan/hindi-turn-detector-with-random-pauses with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Archan/hindi-turn-detector-with-random-pauses with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="Archan/hindi-turn-detector-with-random-pauses")# Load model directly from transformers import TurnDetector model = TurnDetector.from_pretrained("Archan/hindi-turn-detector-with-random-pauses", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Final model after training with pause augmentation
Browse files- README.md +58 -0
- all_results.json +12 -0
- augmented_results.json +7 -0
- clean_results.json +7 -0
- config.json +11 -0
- model.safetensors +3 -0
- preprocessor_config.json +14 -0
- trainer_state.json +0 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- audio-classification
|
| 5 |
+
- turn-detection
|
| 6 |
+
- hindi
|
| 7 |
+
- generated_from_trainer
|
| 8 |
+
model-index:
|
| 9 |
+
- name: hindi-turn-detector-with-random-pauses
|
| 10 |
+
results: []
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
+
|
| 16 |
+
# hindi-turn-detector-with-random-pauses
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
| 19 |
+
|
| 20 |
+
## Model description
|
| 21 |
+
|
| 22 |
+
More information needed
|
| 23 |
+
|
| 24 |
+
## Intended uses & limitations
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Training and evaluation data
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training procedure
|
| 33 |
+
|
| 34 |
+
### Training hyperparameters
|
| 35 |
+
|
| 36 |
+
The following hyperparameters were used during training:
|
| 37 |
+
- learning_rate: 5e-05
|
| 38 |
+
- train_batch_size: 16
|
| 39 |
+
- eval_batch_size: 16
|
| 40 |
+
- seed: 42
|
| 41 |
+
- gradient_accumulation_steps: 2
|
| 42 |
+
- total_train_batch_size: 32
|
| 43 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- lr_scheduler_warmup_steps: 0.1
|
| 46 |
+
- num_epochs: 40
|
| 47 |
+
- mixed_precision_training: Native AMP
|
| 48 |
+
|
| 49 |
+
### Training results
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
### Framework versions
|
| 54 |
+
|
| 55 |
+
- Transformers 5.16.1
|
| 56 |
+
- Pytorch 2.11.0+cu128
|
| 57 |
+
- Datasets 4.0.0
|
| 58 |
+
- Tokenizers 0.23.1
|
all_results.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"augmented_accuracy": 0.5095,
|
| 3 |
+
"augmented_f1": 0.6746268656716418,
|
| 4 |
+
"augmented_loss": 0.6926261782646179,
|
| 5 |
+
"augmented_precision": 0.509009009009009,
|
| 6 |
+
"augmented_recall": 1.0,
|
| 7 |
+
"clean_accuracy": 0.5095,
|
| 8 |
+
"clean_f1": 0.6746268656716418,
|
| 9 |
+
"clean_loss": 0.6926307082176208,
|
| 10 |
+
"clean_precision": 0.509009009009009,
|
| 11 |
+
"clean_recall": 1.0
|
| 12 |
+
}
|
augmented_results.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"augmented_accuracy": 0.5095,
|
| 3 |
+
"augmented_f1": 0.6746268656716418,
|
| 4 |
+
"augmented_loss": 0.6926261782646179,
|
| 5 |
+
"augmented_precision": 0.509009009009009,
|
| 6 |
+
"augmented_recall": 1.0
|
| 7 |
+
}
|
clean_results.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"clean_accuracy": 0.5095,
|
| 3 |
+
"clean_f1": 0.6746268656716418,
|
| 4 |
+
"clean_loss": 0.6926307082176208,
|
| 5 |
+
"clean_precision": 0.509009009009009,
|
| 6 |
+
"clean_recall": 1.0
|
| 7 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"TurnDetector"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"hidden_size": 384,
|
| 7 |
+
"model_type": "turn_detector",
|
| 8 |
+
"transformers_version": "5.16.1",
|
| 9 |
+
"use_cache": false,
|
| 10 |
+
"whisper_model_name": "openai/whisper-tiny"
|
| 11 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e9ee887c53dc8a8d0137f8137b8a6530729da7a61ff21fa65f8f74db00a05a1
|
| 3 |
+
size 32009584
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chunk_length": 8,
|
| 3 |
+
"dither": 0.0,
|
| 4 |
+
"feature_extractor_type": "WhisperFeatureExtractor",
|
| 5 |
+
"feature_size": 80,
|
| 6 |
+
"hop_length": 160,
|
| 7 |
+
"n_fft": 400,
|
| 8 |
+
"n_samples": 128000,
|
| 9 |
+
"nb_max_frames": 800,
|
| 10 |
+
"padding_side": "right",
|
| 11 |
+
"padding_value": 0.0,
|
| 12 |
+
"return_attention_mask": false,
|
| 13 |
+
"sampling_rate": 16000
|
| 14 |
+
}
|
trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:015f1873fc64f0031b7d96df8e4903969be61f0ea7a1e434b83646fdb3fbb8c3
|
| 3 |
+
size 5265
|