Skip to content

Commit 996e2fb

Browse files
authored
[Fix] convert_geo3k typo (#1444)
1 parent d9e58fa commit 996e2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtuner/v1/utils/convert_geometry3k.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def save_jsonl(data_list, output_file):
3939
# add a row to each data item that represents a unique id
4040
def make_map_fn(split):
4141
def process_fn(example, idx):
42-
problem = example.pop("problem").repalce("<image>", "<IMG_CONTEXT>")
42+
problem = example.pop("problem").replace("<image>", "<IMG_CONTEXT>")
4343
prompt = problem + " " + instruction_following
4444
answer = example.pop("answer")
4545
images = example.pop("images")

0 commit comments

Comments
 (0)