text-generation-webui/training
kizinfo 5d513eea22
Add ability to load all text files from a subdirectory for training (#1997)
* Update utils.py

returns individual txt files and subdirectories to getdatasets to allow for training from a directory of text files

* Update training.py

minor tweak to training on raw datasets to detect if a directory is selected, and if so, to load in all the txt files in that directory for training

* Update put-trainer-datasets-here.txt

document

* Minor change

* Use pathlib, sort by natural keys

* Space

---------

Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com>
2023-07-12 11:44:30 -03:00
..
datasets Add ability to load all text files from a subdirectory for training (#1997) 2023-07-12 11:44:30 -03:00
formats Added the format to be able to finetune Vicuna1.1 models (#3037) 2023-07-07 02:22:39 -03:00