Skip to content

Commit 0adb7dd

Browse files
authored
fix prompt in README.md
'translate Japanese to Python: \n'
1 parent 7d88b33 commit 0adb7dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model_zoo/ernie-code/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ERNIE-Code在代码智能的各种下游任务中,包括代码到多自然语
3131
python predict.py \
3232
--input 'BadZipFileのAliasは、古い Python バージョンとの互換性のために。' \
3333
--target_lang 'code' \
34-
--source_prefix '将日语翻译为Python:\n' \
34+
--source_prefix 'translate Japanese to Python: \n' \
3535
--max_length 1024 \
3636
--num_beams 3 \
3737
--device 'gpu'

0 commit comments

Comments
 (0)