Closed bhumika-scogo closed 3 weeks ago
@abhishekkrthakur it seems like this part has issues
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://huggingface.co/api/models?sort=likes7d&direction=-1&limit=30&filter=transformers&filter=fill-mask
The URL that autotrain app is creating at run time seems incorrect https://huggingface.co/api/models?sort=likes7d&direction=-1&limit=30&filter=transformers&filter=fill-mask
If i remove 7d
query string it works https://huggingface.co/api/models?sort=likes&direction=-1&limit=30&filter=transformers&filter=fill-mask
@abhishekkrthakur all instances of likes7d
needs to be changed to likes
on this app/models.py
this was fixed by hf side, since there is no response to pr comment, ill consider this resolved :)
Prerequisites
Backend
Other cloud providers
Interface Used
CLI
CLI Command
$ conda create -n autotrain python=3.10 $ conda activate autotrain $ pip install autotrain-advanced $ conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia $ conda install -c "nvidia/label/cuda-12.1.0" cuda-nvcc $ conda install xformers -c xformers $ python -m nltk.downloader punkt $ pip install flash-attn --no-build-isolation # if you want to use flash-attn $ pip install deepspeed # if you want to use deepspeed
$ conda install chardet $ export HF_TOKEN=your_hugging_face_write_token $ autotrain app --host 0.0.0.0 --port 8000
UI Screenshots & Parameters
No response
Error Logs
Additional Information
I would appreciate it if you could investigate this issue and potentially: