Add Hugging Face model download script (#708)
* Add Hugging Face model download script
* Decode response bytes to string
* Clean
* Move download functions to foundry utils
* Clean up script
* Add bs4 dependency
* Fix typing
* Doc formatting
* Doc formatting
* Fix weights preference logic
* Unit tests for weights preference logic in download_from_hf_hub
* Unit tests for download_from_cache_server
* Add retries and unit tests
* pyright
* code quality checks
* precommit
---------
Co-authored-by: Daniel King <43149077+dakinggg@users.noreply.github.com>