[求助帖】在平台上xtuner遇到报错 #584
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#584
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
报错如下,我看报错是key的错,可是我把可以都改成instruction、input、output格式了呀,试了一下其他数据集是可以正常微调的,我感觉是我的数据集改的有问题,我看数据集格式和输出的数量是正确的,我使用的修改数据集格式的代码如图4,请问大家有什么解决办法吗?谢谢!
在平台上xtuner遇到报错to [求助帖】在平台上xtuner遇到报错可能是你的数据集修改的代码和训练使用的数据集格式不一致,报错说数据集的例子里面没有"messages",可能你的数据集代码构造没有构造messages。
训练拉起来了,主要就是要修改dataset_map_fn=alpaca_map_fn,然后记得from xtuner.dataset.map_fns import alpaca_map_fn,希望有用