Disclaimer: This release was initially released with advertised support for #844. It was not released in this release and will be in v0.7.
fastai support
v0.6.0 introduces downstream (download) and upstream (upload) support for the fastai libraries. It supports fastai versions above 2.4.
The integration is detailed in the following blog.
- Add fastai upstream and downstream capacities for fastai>=2.4 and fastcore>=1.3.27 versions by @omarespejel in #678
Automatic binary file tracking in Repository
Binary files are now rejected by default by the Hub. v0.6.0 introduces automatic binary file tracking through the auto_lfs_track
argument of the Repository.git_add
method. It also introduces the Repository.auto_track_binary_files
method which can be used independently of other methods.
- ENH Auto track binary files in Repository by @LysandreJik in #828
skip_lfs_file
is now added to mixins
The parameter skip_lfs_files
is now added to the different mixins. This will enable pushing files to the hub without first downloading the files above 10MB. This should drammatically reduce the time needed when updating a modelcard, a configuration file, and others.
Keras support improvement
The support for Keras model is greatly improved through several additions:
- The
save_pretrained_keras
method now accepts a list of tags that will automatically be added to the repository. - Download statistics are now available on Keras models
- Introducing list of tags to Keras model card by @merveenoyan in #806
- Enable keras download stats by @merveenoyan in #860
Bugfixes and improvements
- FIX don't raise if name/organizaiton are passed postionally by @adrinjalali in #822
- ENH Use provided token from HUGGING_FACE_HUB_TOKEN env variable if available by @FrancescoSaverioZuppichini in #794
- tests(hf_api): remove infectionTypes field by @McPatate in #834
- Remove docs, tasks and inference API from huggingface_hub by @osanseviero in #833
- FEAT Uniformize
hf_api
a bit and add support for Spaces by @julien-c in #792 - Add a bug report template by @osanseviero in #832
- clean up formatting by @stevhliu in #839
- Release guide by @LysandreJik in #820
- Fix keras test by @osanseviero in #855
- DOC Add quick start guide by @stevhliu in #850
- MNT refactor: subprocess.run -> run_subprocess by @LysandreJik in #352
- MNT enable preview on black by @adrinjalali in #849
- Update how to guides by @stevhliu in #840
- Update contribution guide for merging PRs by @stevhliu in #856
- DOC Update landing page by @stevhliu in #854
- space after uri by @leondz in #866