Genshin Voice is a dataset of voice lines from the popular game Genshin Impact.
Hugging Face π€ Genshin-Voice
ModelScope Genshin-Voice
Last update at 2026-07-16
630912 wavs
4292 without speaker (1%)
37545 without transcription (6%)
1084 without inGameFilename (0%)
The dataset contains voice lines from the game's characters in multiple languages, including Chinese, English, Japanese, and Korean.
The voice lines are spoken by the characters in the game and cover a wide range of topics, including greetings, combat, and story dialogue.
- Language(s) (NLP): Chinese, English, Japanese, Korean
To install Hugging Face's datasets library, follow the instructions from this link.
from datasets import load_dataset
import soundfile as sf
import os
# Load the dataset
dataset = load_dataset('simon3000/genshin-voice', split='train', streaming=True)
# Filter the dataset for Chinese voices of Ganyu with transcriptions
chinese_ganyu = dataset.filter(lambda voice: voice['language'] == 'Chinese' and voice['speaker'] == 'Ganyu' and voice['transcription'] != '')
# Create a folder to store the audio and transcription files
ganyu_folder = 'ganyu'
os.makedirs(ganyu_folder, exist_ok=True)
# Process each voice in the filtered dataset
for i, voice in enumerate(chinese_ganyu):
audio_path = os.path.join(ganyu_folder, f'{i}_audio.wav') # Path to save the audio file
transcription_path = os.path.join(ganyu_folder, f'{i}_transcription.txt') # Path to save the transcription file
# Save the audio file
sf.write(audio_path, voice['audio']['array'], voice['audio']['sampling_rate'])
# Save the transcription file
with open(transcription_path, 'w') as transcription_file:
transcription_file.write(voice['transcription'])
print(f'{i} done') # Print the progressresult.json format: (subject to change)
{
"9b5502fb1b83cb97.wav": {
"inGameFilename": "VO_friendship\\VO_raidenShogun\\vo_raidenEi_dialog_pendant.wem",
"filename": "9b5502fb1b83cb97.wav",
"language": "English(US)",
"transcription": "Really? So in all this time, no new Electro Visions have appeared in the outside world? Well, what I can say on this topic is subject to certain constraints, but... it is not by my will that Visions are granted or denied. The key is people's desire, and... well, there's another side to it too.",
"speaker": "Raiden Shogun",
"talkRoleType": "",
"talkRoleID": "",
"guid": "f8e72b65-6c0a-4df1-a2f0-2bb08dbeab75",
"voiceConfigs": [
{
"gameTrigger": "Fetter",
"gameTriggerArgs": 3001,
"avatarName": "Switch_raidenShogun"
}
]
}
}The data was obtained by unpacking the Genshin Impact game.
Please refer to Genshin-Voice and w4123/GenshinVoice for more information on how the data was processed.
The source data producers are the developers of the game, miHoYo.
The dataset contains official annotations from the game, including language, speaker name, and transcription.
Annotations are incomplete. Some voice lines are missing speaker names and transcriptions.
Annotations are not guaranteed to be completely accurate.
Speakers and transcriptions may contain markups and placeholders: #<color=#37FFFF>γγ€γ’γ³οΌ</color>{NICKNAME}γγγγζγζͺε€’γθ¦γγγ¨γ£γ¦γγγοΌ\\n<color=#37FFFF>{NICKNAME}οΌ...
Users should be made aware of the risks, biases and limitations of the dataset.
Speaker names can be partially inferred from the ingame filenames.
Copyright Β© COGNOSPHERE. All Rights Reserved.