Skip to content

Commit 9f39915

Browse files
authored
update aishell1 dataset (#1657)
1 parent 285ac51 commit 9f39915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/llm/utils/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ def _preprocess_aishell1_dataset(dataset: HfDataset) -> HfDataset:
751751
prompt = '语音转文本'
752752
audio_key = 'Audio:FILE'
753753
response_key = 'Text:LABEL'
754-
query_format = f'Audio 1:<audio>{{audio_path}}</audio>\n{prompt}'
754+
query_format = f'<audio>{{audio_path}}</audio>{prompt}'
755755
query = []
756756
response = []
757757
for d in tqdm(dataset):

0 commit comments

Comments
 (0)