Facing issuse
#2458
Replies: 1 comment 3 replies
-
the problem is related to the dataset format |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
`Loading cached processed dataset at /home/ubuntu/.cache/huggingface/datasets/text/default-d9e9075e91bf4dac/0.0.0/c4a140d10f020282918b5dd1b8a49f0104729c6177f60a6b49ec2a365ec69f34/cache-f6a5c5c3988f607f.arrow
Exception in thread Thread-12 (run_exp):
Traceback (most recent call last):
File "/home/ubuntu/LLaMA-Factory/src/llmtuner/data/loader.py", line 186, in get_dataset
print_function(next(iter(dataset)))
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/ubuntu/LLaMA-Factory/src/llmtuner/train/tuner.py", line 31, in run_exp
run_sft(model_args, data_args, training_args, finetuning_args, generating_args, callbacks)
File "/home/ubuntu/LLaMA-Factory/src/llmtuner/train/sft/workflow.py", line 32, in run_sft
dataset = get_dataset(tokenizer, model_args, data_args, training_args, stage="sft")
File "/home/ubuntu/LLaMA-Factory/src/llmtuner/data/loader.py", line 188, in get_dataset
raise RuntimeError("Empty dataset!")
RuntimeError: Empty dataset!
`
Beta Was this translation helpful? Give feedback.
All reactions