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

Fixed data duplication issue caused by special pattern in file names #540

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

alkaideemo
Copy link
Contributor

Update run_clm_pt_with_peft.py:
when pretrain file names are: x.y1.txt and x.y2.txt, cache_dir is both x, this will cause unexpected data duplication.

fix data duplication when filenames are like x.y.txt
@airaria airaria merged commit 69045db into ymcui:main Jun 9, 2023
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.

None yet

2 participants