Skip to content

Commit

Permalink
[Fix] Remove pre-defined system of alpaca_zh_map_fn (#395)
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
LZHgrla authored Feb 2, 2024
1 parent fd8522f commit f63859b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions xtuner/dataset/map_fns/dataset_map_fns/alpaca_zh_map_fn.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Copyright (c) OpenMMLab. All rights reserved.
from xtuner.utils import SYSTEM_TEMPLATE


def alpaca_zh_map_fn(example):
return {
'conversation': [{
'system': SYSTEM_TEMPLATE.alpaca,
'input': f"{example['instruction_zh']}\n{example['input_zh']}",
'output': example['output_zh']
}]
Expand Down

0 comments on commit f63859b

Please sign in to comment.