7/16/2024
Using HuggingFace Datasets Offline
This is pretty simple, but quite helpful if you're running jobs on a compute node that doesn't have internet access.
On the login node or another machine with internet access, run the following Python code:
Then, if needed, copy the files to the machine running your job. Now, from that offline machine, loading the dataset is simple!
7/16/2024
Tips #1
Tools > Preferences > Automatically detect Markdown
.ts
file from the command-line, use Bun instead of ts-node! It's much simpler and doesn't have all the weird issues with the package.json "type"
field.