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

Fix: Set to use cfg.seed or 42 for seed #166

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

NanoCode012
Copy link
Collaborator

@NanoCode012 NanoCode012 commented Jun 8, 2023

Closes #47

@NanoCode012
Copy link
Collaborator Author

Datasets shuffle: https://huggingface.co/docs/datasets/v1.2.1/package_reference/main_classes.html?highlight=shuffle#datasets.Dataset.shuffle

I used 42 instead of None if there is no cfg.seed for backward compatibility and better control.

Huggingface trainer arg: https://huggingface.co/docs/transformers/main_classes/trainer#transformers.TrainingArguments

Training works for a few global steps on open llama.

@NanoCode012 NanoCode012 merged commit 7eae903 into axolotl-ai-cloud:main Jun 8, 2023
@NanoCode012 NanoCode012 deleted the fix/seed branch June 8, 2023 16:15
mkeoliya pushed a commit to mkeoliya/axolotl that referenced this pull request Dec 15, 2023
Fix: Set to use cfg.seed or 42 for seed
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

Successfully merging this pull request may close these issues.

[Bug] Seed does not always load from cfg.seed
1 participant