v0.0.11: Improved documentation, hf_hub_download
and Repository
power-up
Improved documentation
The huggingface_hub
documentation is now available on hf.co/docs! Additionally, a new step-by-step guide to adding libraries is available.
- New documentation for 🤗 Hub #71 (@osanseviero)
- Step by step guide on adding Model Hub support to libraries #86 (@LysandreJik)
New method: hf_hub_download
A new method is introduced: hf_hub_download
. It is the equivalent of doing cached_download(hf_hub_url())
, in a single method.
- HF Hub download #137 (@LysandreJik)
Repository
power-up
The Repository
class is updated to behave more similarly to git. It is now impossible to clone a repository in a folder that already contains files.
The PyTorch Mixin contributed by @vasudevgupta7 is slightly updated to have the push_to_hub
method manage a repository as one would from the command line.
- Repository power-up #132 (@LysandreJik)
Improvement & Fixes
- Adding
audio-to-audio
task. #93 (@Narsil) - When pipelines fail to load in framework code, for whatever reason #96 (@Narsil)
- Solve
rmtree
issue on windows #105 (@SBrandeis) - Add identical_ok option to HfApi.upload_file method #102 (@SBrandeis)
- Solve compatibility issues when calling
subprocess.run
#104 (@SBrandeis) - Open source Inference widgets + optimize for community contributions #87 (@julien-c)
- model
tags
can beundefined
#107 (@Pierrci) - Doc tweaks #109 (@julien-c)
- [huggingface_hub] Support for spaces #108 (@julien-c)
- speechbrain library tag + code snippet #73 (@osanseviero)
- Allow batching for feature-extraction #106 (@osanseviero)
- adding audio-to-audio widget. #95 (@Narsil)
- Add image to text (for image captioning) #114 (@osanseviero)
- Add formatting and upgrade Sentence Transformers api version for better error messages #119 (@osanseviero)
- Change videos in docs so they are played directly in our site #120 (@osanseviero)
- Fix inference API GitHub actions #125 (@osanseviero)
- Fixing sentence-transformers CACHE value for docker + functools (docker needs Py3.8) #123 (@Narsil)
- Load errors with flair should now be generating proper API errors. #121 (@Narsil)
- Simplify manage to autodetect task+framework if possible. #122 (@Narsil)
- Change sentence transformers source to original repo #128 (@osanseviero)
- Allow Python versions with letters in the minor version suffix #82 (@ulf1)
- Update
upload_file
docs #136 (@LysandreJik) - Reformat repo README #130 (@osanseviero)
- Add config to model info #135 (@osanseviero)
- Add input validation for structured-data-classification #97 (@osanseviero)