license:mit size_categories:n<1K format:parquet modality:audio modality:text library:datasets library:pandas library:mlcroissant library:polars doi:10.57967/hf/3250 region:us
---
license: mit
dataset_info:
  features:
  - name: file_name
    dtype: string
  - name: text
    dtype: string
  - name: audio
    dtype:
      audio:
        sampling_rate: 16000
  - name: duration
    dtype: float64
  - name: sample_rate
    dtype: int64
  - name: __index_level_0__
    dtype: int64
  splits:
  - name: train
    num_bytes: 243140853.0
    num_examples: 26
  - name: test
    num_bytes: 82042834.0
    num_examples: 7
  download_size: 322771627
  dataset_size: 325183687.0
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: test
    path: data/test-*
---









# Omarrran/kashmiri_tts_hf_dataset

## Dataset Description

This dataset contains Kashmiri text-to-speech (TTS) data, including paired text and audio files.

## Dataset Statistics

- Total number of samples: 33
- Number of samples in train split: 26
- Number of samples in test split: 7

### Audio Statistics

- Total audio duration: 9766.49 seconds (2.71 hours)
- Average audio duration: 295.95 seconds
- Minimum audio duration: 84.60 seconds
- Maximum audio duration: 606.91 seconds

### Text Statistics

- Total number of words: 25290
- Average number of words per sample: 766.36
- Minimum number of words in a sample: 95
- Maximum number of words in a sample: 2100

## Dataset Structure

The dataset contains the following fields:

- `file_name`: Value(dtype='string', id=None)
- `text`: Value(dtype='string', id=None)
- `audio`: Audio(sampling_rate=16000, mono=True, decode=True, id=None)
- `duration`: Value(dtype='float64', id=None)
- `sample_rate`: Value(dtype='int64', id=None)
- `__index_level_0__`: Value(dtype='int64', id=None)

## Usage Example

Here's a simple example of how to load and use this dataset:

```python
from datasets import load_dataset

dataset = load_dataset('Omarrran/kashmiri_tts_hf_dataset')

# Access the training split
train_data = dataset['train']

# Get the first sample
first_sample = train_data[0]
print(f"Text: {first_sample['text']}")
print(f"Audio file: {first_sample['audio']}")
```

## License

Please refer to the dataset card for license information.

## Citation

If you use this dataset in your research, please cite it as follows:

```
@dataset{kashmiri_tts_dataset,
  author = {Haq Nawaz Malik},
  title = {Omarrran/kashmiri_tts_hf_dataset},
  year = {2023},
  url = {https://huggingface.co/datasets/Omarrran/kashmiri_tts_hf_dataset}
}
```
