Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expected string or bytes-like object #274

Open
sankexin opened this issue Jun 28, 2024 · 0 comments
Open

expected string or bytes-like object #274

sankexin opened this issue Jun 28, 2024 · 0 comments

Comments

@sankexin
Copy link

python train.py --train_args_file train_args/sft/qlora/llama3-8b-sft-qlora.jsonpython train.py --train_args_file train_args/sft/qlora/llama3-8b-sft-qlora.json

when use unsloth:

Traceback (most recent call last):
File "/home/Firefly/train.py", line 439, in
main()
File "/home/Firefly/train.py", line 427, in main
train_result = trainer.train()
File "/usr/local/lib/python3.10/site-packages/transformers/trainer.py", line 1625, in train
return inner_training_loop(
File "", line 219, in _fast_inner_training_loop
File "/usr/local/lib/python3.10/re.py", line 240, in findall
return _compile(pattern, flags).findall(string)
TypeError: expected string or bytes-like object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant