h2o-llmstudio icon indicating copy to clipboard operation
h2o-llmstudio copied to clipboard

[CODE IMPROVEMENT] Utility code for pushing to HF

Open psinger opened this issue 2 years ago • 3 comments

We currently only directly support the push to HF for the GUI via: https://github.com/h2oai/h2o-llmstudio/blob/main/app_utils/sections/experiment.py#L1596

When using the CLI, there is no dedicated util function. We should prepare a notebook and/or dedicated util function to do the transform and push to the hub also for CLI usage.

psinger avatar May 05 '23 07:05 psinger

Hey @psinger is this open for contribution? I would like to explore this, first-timer here. I have experience with HF Hub and downloading models using requests from the hub, locally.

snehilsanyal avatar May 21 '23 17:05 snehilsanyal

Yes sure, but keep in mind that we have the code already ready for the GUI as per what I linked. So would just need to be ported for cli.

psinger avatar May 23 '23 03:05 psinger

Thank you, I will take a look into the link you sent

snehilsanyal avatar May 23 '23 16:05 snehilsanyal

closed with #300

pascal-pfeiffer avatar Aug 21 '23 21:08 pascal-pfeiffer