Hi! It seems like you’ve encountered two distinct issues after updating the huggingface_hub
library.
-
KeyError: ‘tags’ – This error usually occurs when the dataset you’re trying to load has missing metadata or if you’re using an incompatible version of the dataset. It could also be caused by outdated versions of
datasets
orhuggingface_hub
. Updating both might help resolve this. -
ERROR: Docker Hub Container Image Library | App Containerization not found – This issue is due to the use of a non-existent Docker image. The
python:3.1
image does not exist (the latest stable version of Python is 3.10 or 3.11). You should update your Dockerfile or requirements to use a valid image, such aspython:3.8
,python:3.9
, orpython:3.10
.
Suggested Fix:
- Roll back or update your Hugging Face libraries to ensure compatibility:
pip install --upgrade huggingface_hub datasets
- Correct the Docker image reference:
- Update your Dockerfile to use a valid Python image, e.g.:
FROM python:3.9
- Update your Dockerfile to use a valid Python image, e.g.:
Hope this help!