GoogleCloudPlatform / localllm

Apache License 2.0
1.49k stars 113 forks source link

Few tweaks in cache paths #5

Closed Wauplin closed 5 months ago

Wauplin commented 5 months ago

Hi there! I'm Wauplin, working at HF as huggingface_hub maintainer :hugs: . Very cool project! :fire:

I quickly reviewed the integration with huggingface_hub which looks quite well managed already. I opened this PR to update two things:

Also a remark about a comment in the code:

Naming doesn't seem to be consistent across 🤗 but it does seem to be consistent across TheBloke's repos, so making some assumptions.

This is definitely true! The Hugging Face Hub is a platform that allow anyone to share their ML artifacts (models, datasets and demos). Artifacts are stored as git repositories in which we don't enforce any structure, given how diverse the ML ecosystem is. It is at the users and libraries discretion to know which models are compatible or not. We still try our best to provide guidelines and curate models metadata (to help with discoverability). So yes, TheBloke's repos are a great starting point for consistency! :smile:

google-cla[bot] commented 5 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

bobcatfish commented 5 months ago

/gcbrun

bobcatfish commented 5 months ago

Awesome, thank you so much for the fixes and info @Wauplin !! 🙏 🙏 🙏

It looks like in order for us to be able to merge the PR as-is you'll need to sign the Google CLA, let me know if that won't work for you - and no worries if so, I really appreciate the tips and guidance regardless 🥳

Wauplin commented 5 months ago

Hi @bobcatfish, thanks for the quick feedback!

Actually HF signed the Google CLA but I didnot sign my commits correctly. I opened a new PR (https://github.com/GoogleCloudPlatform/localllm/pull/6) that is an exact copy of this one but this time it should be fine. So if it's fine with you, let's close #5 and merge #6 instead :)

bobcatfish commented 5 months ago

sgtm, thanks again @Wauplin !