Open karol-depka opened 3 weeks ago
input_file = r"C:\Users\camth\Joseph\Josephing\Official Script\Compiled Text\compiled_books_2.txt"
Also normally programmers avoid spaces in file/dir names :).
That makes the code work on any computer right? Otherwise other people have to manually change the file paths, then do it again every time they have to change the dataset or chosen model.
https://github.com/Joisco/KDP-Plan/blob/0be33f47f3b99c0f61241d1b5c0a8f029397f8a0/toke.py#L87
Use relative paths like something like ./data/something