sfcompute/TinyNarrations
收藏Hugging Face2024-01-24 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/sfcompute/TinyNarrations
下载链接
链接失效反馈官方服务:
资源简介:
---
viewer: false
license:
- other
dataset_info:
features:
- name: path
dtype: string
- name: audio
dtype: Audio
config_name: default
splits:
- name: train
num_bytes: 783536881667
num_examples: 89112
- name: validation
num_bytes: 16526026753
num_examples: 864
download_size: 800062908420
---
[Blog](https://sfcompute.com/blog/tiny-narrations) | [GitHub](https://github.com/sfcompute/tinynarrations)

```bash
pip install datasets
```
```python
from datasets import load_dataset
val_split = load_dataset('sfcompute/TinyNarrations', split='validation', streaming=True)
train_split = load_dataset('sfcompute/TinyNarrations', split='train', streaming=True)
```
```python
import torch
wav = torch.from_numpy(next(iter(val_split))['audio']['array']).unsqueeze(0)
```
To load audio ensure you have the following installed:
```bash
pip install librosa soundfile
```
提供机构:
sfcompute
原始信息汇总
数据集概述
数据集信息
- 特征:
path: 类型为字符串 (string)audio: 类型为音频 (Audio)
- 配置名称:
default - 分割:
train:- 字节数: 783,536,881,667
- 样本数: 89,112
validation:- 字节数: 16,526,026,753
- 样本数: 864
- 下载大小: 800,062,908,420 字节



