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

examples/mistral/config.yml errors on default configuration #999

Closed
6 of 8 tasks
kmsydney opened this issue Dec 24, 2023 · 2 comments
Closed
6 of 8 tasks

examples/mistral/config.yml errors on default configuration #999

kmsydney opened this issue Dec 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@kmsydney
Copy link
Contributor

Please check that this issue hasn't been reported before.

  • I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

For new users, running the example mistral/config.yaml should attempt to do something useful out-of-the-box without editing the config (from the README):

accelerate launch -m axolotl.cli.train examples/mistral/config.yml

Current behaviour

Fails to run with the following error:

  File "/mnt/task_runtime/axolotl/src/axolotl/cli/__init__.py", line 315, in load_datasets
    train_dataset, eval_dataset, total_num_steps, prompters = prepare_dataset(
                                                              ^^^^^^^^^^^^^^^^
  File "/mnt/task_runtime/axolotl/src/axolotl/utils/data.py", line 86, in prepare_dataset
    raise ValueError(
ValueError: eval dataset split is too small for sample_packing. You should set `eval_sample_packing: False`.

Steps to reproduce

accelerate launch -m axolotl.cli.train examples/mistral/config.yml

Config yaml

No response

Possible solution

Perhaps use a different default dataset that allows for eval_sample_packing to be True.

Which Operating Systems are you using?

  • Linux
  • macOS
  • Windows

Python Version

3.11.7

axolotl branch-commit

main

Acknowledgements

  • My issue title is concise, descriptive, and in title casing.
  • I have searched the existing issues to make sure this bug has not been reported yet.
  • I am using the latest version of axolotl.
  • I have provided enough information for the maintainers to reproduce and diagnose the issue.
@kmsydney kmsydney added the bug Something isn't working label Dec 24, 2023
@NanoCode012
Copy link
Collaborator

Oh, would you be interested in making a PR to set that config?

@NanoCode012
Copy link
Collaborator

Thank you for the PR! Closed by #1003

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants