Skip to content

Conversation

@ba5bo
Copy link

@ba5bo ba5bo commented Jul 16, 2024

Current version of train.py use single cache file per jsonl for pretrain data. When pretrain different model or the jsonl is modified, it will still use the old cached version and lead to incorrent result.

add model_path_or _name and the modify time of jsonl to cache path , will support different model and redo tokenize when source file changed .

…del and redo tokenizer when source file changed .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant