Allow users to mention that they're training an ML model that will be posted on HuggingFace. #566
Replies: 3 comments
-
This might interest @sashavor ? |
Beta Was this translation helpful? Give feedback.
-
Interesting point! I agree that it can be confusing. Maybe we can see if we can directly upload the codecarbon output CSV alongside a model, so the information gets input automatically? |
Beta Was this translation helpful? Give feedback.
-
I must confess I haven't worked much with codecarbon before but I do know that HF expects the output to be in the frontmatter of the Example of HF CO2 frontmatter section below:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
HuggingFace is used to publish many large models and I've noticed that a lot of models that publish their CO2 metrics copy the output from codecarbon 1:1. This is incorrect since codecarbon outputs kg/co2e whilst huggingface expects g/co2e.
Would it be possible to either warn the user or convert the metric automatically by providing a toggle in the config asking the user whether they're training an ML model and wish to publish to huggingface?
Beta Was this translation helpful? Give feedback.
All reactions