---
license: cc-by-nc-nd-4.0
viewer: false
---
# Genshin Impact & Honkai Star Rail Game Character Voice Dataset
This repository is the integration code for the [aihobbyist/Genshin_Dataset](https://www.modelscope.cn/datasets/aihobbyist/Genshin_Dataset) provided by [AI Hobbyist](https://www.modelscope.cn/organization/aihobbyist), with the final right of interpretation belonging to [MiHoYo](https://www.mihoyo.com). The integration code aims to provide a more convenient usage solution for the community: for `Python` developers, only a few lines of code are needed to automatically search, download, split by language, and normalize on demand, instead of manually searching for and downloading the cumbersome complete package to accommodate users with different backgrounds and thresholds. The integration code is provided by [Genius-Society](https://www.modelscope.cn/organization/Genius-Society). If you need to use the compressed package version of the data source and write your own data processing scripts, you can go to [aihobbyist/Genshin_Dataset](https://www.modelscope.cn/datasets/aihobbyist/Genshin_Dataset) to support the original author.
## Environment
```bash
pip install datasets py7zr librosa
```
## Supported characters
[Genshin characters](https://pan.ai-hobbyist.com/Genshin%20Datasets/%E8%8B%B1%E8%AF%AD)
[Star Rail characters](https://pan.ai-hobbyist.com/StarRail%20Datasets/%E5%88%86%E8%A7%92%E8%89%B2%E5%8C%85/%E8%8B%B1%E8%AF%AD)
## Splits
| Language | Genshin Impact | Honkai Star Rail |
| :------: | :------------: | :--------------: |
| Chinese | `genshin_zh` | `starail_zh` |
| Japanese | `genshin_jp` | `starail_jp` |
| English | `genshin_en` | `starail_en` |
| Korean | `genshin_kr` | `starail_kr` |
## Usage
```python
from datasets import load_dataset
ds = load_dataset(
"Genius-Society/hoyoTTS",
name="黑塔", # The Chinese name of the character
split="starail_en", # The language options should match the character's game
cache_dir="./__pycache__", # The cache location of the dataset
)
for item in ds:
print(item)
```
## Maintenance
```bash
git clone git@hf.co:datasets/Genius-Society/hoyoTTS
cd hoyoTTS
```
## Mirror
## References
[1]
[2]
[3]