-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example notebook not working #69
Comments
Hi @1nuno, Thank you for reporting this and sorry for the inconvenience. I have never seen this before, but a Pytorch issue (pytorch/pytorch#76108) suggests that it is related to running out of disk space or memory. Could you try to reproduce it and check the disc space and memory while doing it? My guess would be disk space. In this version we save intermediate models for model selection (which will be disabled by default starting with 2.0.0+), which can quickly take a lot of space. You can also try to disable it by changing the model arguments
|
Hi thanks for the fast reply! I tried setting that option (model_selection) to false the it keeps having the same error. I want to help by reproducing it while logging the disc space and memory while doing it so I can share it here but I don't know how to do that. Do you mind explaining it how can I achieve that? or should I just maybe monitor it myself using htop or something like that. Ps: I am quite new to this programming stuff |
From htop, I conclude that you are using a Linux/Unix-like operating system and that you are comfortable using the command line, is that right? Usually, the training is not that fast that you can't monitor it yourself. Open a second command line window and use By default, the intermediary models are written to |
Bug description
When I try to run this example notebook (01-active-learning-for-text-classification-with-small-text-intro.ipynb), it errors on the cell corresponding to the 3rd section (III. Setting up the Active Learner).
Steps to reproduce
Expected behavior
The notebooks runs successfully without any error and outputting the expected results.
Environment:
Python version: 3.11.9
small-text version: 1.4.1
small-text integrations (e.g., transformers): 4.46.2
PyTorch version (if applicable): 2.5.1+cu124
Installation (pip, conda, or from source): pip
CUDA version (if applicable): 12.4
Addition information
this is the error it outputs:
The text was updated successfully, but these errors were encountered: