You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
执行:
python finetune_hf.py data/AdvertiseGen/ ../THUDM/chatglm3-6b configs/lora.yaml
报错:
Traceback (most recent call last):
File
"E:\ChatGLM3-6B\project\ChatGLM3-main3\venv\Lib\site-packages\multiprocess\pool
.py", line 125, in worker
result = (True, func(*args, **kwds))
^^^^^^^^^^^^^^^^^^^
File
"E:\ChatGLM3-6B\project\ChatGLM3-main3\venv\Lib\site-packages\datasets\utils\py
_utils.py", line 678, in _write_generator_to_queue
for i, result in enumerate(func(**kwargs)):
File
"E:\ChatGLM3-6B\project\ChatGLM3-main3\venv\Lib\site-packages\datasets\arrow_da
taset.py", line 3458, in _map_single
batch = apply_function_on_filtered_inputs(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"E:\ChatGLM3-6B\project\ChatGLM3-main3\venv\Lib\site-packages\datasets\arrow_da
taset.py", line 3320, in apply_function_on_filtered_inputs
processed_inputs = function(*fn_args, *additional_args, **fn_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ChatGLM3-6B\project\ChatGLM3-main3\finetune_demo\finetune_hf.py",
line 282, in process_batch
batched_conv = batch['conversations']
~~~~~^^^^^^^^^^^^^^^^^
File
"E:\ChatGLM3-6B\project\ChatGLM3-main3\venv\Lib\site-packages\datasets\formatti
ng\formatting.py", line 277, in getitem
value = self.data[key]
~~~~~~~~~^^^^^
KeyError: 'conversations'
训练集:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
执行:
python finetune_hf.py data/AdvertiseGen/ ../THUDM/chatglm3-6b configs/lora.yaml
报错:
Traceback (most recent call last):
File
"E:\ChatGLM3-6B\project\ChatGLM3-main3\venv\Lib\site-packages\multiprocess\pool
.py", line 125, in worker
result = (True, func(*args, **kwds))
^^^^^^^^^^^^^^^^^^^
File
"E:\ChatGLM3-6B\project\ChatGLM3-main3\venv\Lib\site-packages\datasets\utils\py
_utils.py", line 678, in _write_generator_to_queue
for i, result in enumerate(func(**kwargs)):
File
"E:\ChatGLM3-6B\project\ChatGLM3-main3\venv\Lib\site-packages\datasets\arrow_da
taset.py", line 3458, in _map_single
batch = apply_function_on_filtered_inputs(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"E:\ChatGLM3-6B\project\ChatGLM3-main3\venv\Lib\site-packages\datasets\arrow_da
taset.py", line 3320, in apply_function_on_filtered_inputs
processed_inputs = function(*fn_args, *additional_args, **fn_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ChatGLM3-6B\project\ChatGLM3-main3\finetune_demo\finetune_hf.py",
line 282, in process_batch
batched_conv = batch['conversations']
~~~~~^^^^^^^^^^^^^^^^^
File
"E:\ChatGLM3-6B\project\ChatGLM3-main3\venv\Lib\site-packages\datasets\formatti
ng\formatting.py", line 277, in getitem
value = self.data[key]
~~~~~~~~~^^^^^
KeyError: 'conversations'
训练集:
Beta Was this translation helpful? Give feedback.
All reactions