software-mansion / react-native-executorch

http://docs.swmansion.com/react-native-executorch/
Other
104 stars 4 forks source link

Send a request to config.json when downloading model from HF repository #31

Open chmjkb opened 1 day ago

chmjkb commented 1 day ago

Description

Currently, the HuggingFace download count is not incremented when downloading models. HF counts the model downloads by counting the requests sent to the config.json file in the repository root (a HEAD request is enough). This PR sends a HEAD request to the config json, when the model source is our organization. source: https://huggingface.co/docs/hub/models-download-stats

Type of change

Tested on

Testing instructions

Screenshots

Related issues

Checklist

Additional notes