Open ELBEQQAL94 opened 2 months ago
The error you're encountering is due to a character encoding issue when reading the file odyssey.txt. The TextLoader is attempting to read the file with a default encoding that can't decode certain characters in the file, leading to a UnicodeDecodeError.
To resolve this, you can explicitly specify the encoding when loading the text file. In most cases, using the "utf-8" encoding should work, but depending on the file's actual encoding, you may need to use a different one.
Thanks for the fix and the detailed explanation.
The error you're encountering is due to a character encoding issue when reading the file odyssey.txt. The TextLoader is attempting to read the file with a default encoding that can't decode certain characters in the file, leading to a UnicodeDecodeError.
To resolve this, you can explicitly specify the encoding when loading the text file. In most cases, using the "utf-8" encoding should work, but depending on the file's actual encoding, you may need to use a different one.