Closed Doris404 closed 5 months ago
As far as I could remember, this issue stems from outdated versions of specific python packages (but I cannot recall which one and how to fix it).
This project involves many packages. Could you create a requirements.txt file to help me check the versions of each package?
The command is pip freeze > requirements.txt
. Lots of thanks ❤️
I update datasets package, it works.
I am running the example.py, but meet error:
TypeError: '<' not supported between instances of 'list' and 'int'
. The details are as follows:I debug it and find out that
offset
is a list:[14968, 12277, 14741, 9199, 15070, 8155, 14868, 1908, 9803, 12628, 384, 4868, 14502, 7128, 167, 8621, 9047, 1064, 3302, 2347, 6806, 1360, 6211, 14100, 11536, 5531, 2645, 8485, 6999, 6779, 14466, 9604]
.My machine can not reach hugging face, so I download the model and data with another machine, and try to run
python example.py
offset. As for dataset, I download from website and save astaptap_dataset
locally. As for model, I save the folder from website astaptap-distill
locally.