When i run: python train_transformers_classifier_pytorch.py
I got an error like this:
_LOADDING TEXT FILE
Traceback (most recent call last):
File "train_transformers_classifier_pytorch.py", line 334, in
main()
File "train_transformers_classifier_pytorch.py", line 325, in main
train_dataloader = dataloader_from_text(train_path, tokenizer=tokenizer, classes=classes, savetodisk=None, max_len=MAX_LEN, batch_size=64)
File "train_transformers_classifier_pytorch.py", line 30, in dataloader_from_text
with open(text_file, 'r') as fr:
FileNotFoundError: [Errno 2] No such file or directory: 'train.txt'
Can you give me train.txt dataset file?
Thank you.
When i run: python train_transformers_classifier_pytorch.py I got an error like this:
_LOADDING TEXT FILE Traceback (most recent call last): File "train_transformers_classifier_pytorch.py", line 334, in
main()
File "train_transformers_classifier_pytorch.py", line 325, in main
train_dataloader = dataloader_from_text(train_path, tokenizer=tokenizer, classes=classes, savetodisk=None, max_len=MAX_LEN, batch_size=64)
File "train_transformers_classifier_pytorch.py", line 30, in dataloader_from_text
with open(text_file, 'r') as fr:
FileNotFoundError: [Errno 2] No such file or directory: 'train.txt'
Can you give me train.txt dataset file? Thank you.