We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 285ac51 commit 9f39915Copy full SHA for 9f39915
swift/llm/utils/dataset.py
@@ -751,7 +751,7 @@ def _preprocess_aishell1_dataset(dataset: HfDataset) -> HfDataset:
751
prompt = '语音转文本'
752
audio_key = 'Audio:FILE'
753
response_key = 'Text:LABEL'
754
- query_format = f'Audio 1:<audio>{{audio_path}}</audio>\n{prompt}'
+ query_format = f'<audio>{{audio_path}}</audio>{prompt}'
755
query = []
756
response = []
757
for d in tqdm(dataset):
0 commit comments