Make download stats work, make model Transformers compatible

#1
by nielsr HF staff - opened

Hi there,

Niels here from the open-source team at HF. Congrats on this work, and thanks for making the model available on the hub!

Just some notes which you may find helpful:

  • in order to make download stats work for your model, the config.json and pytorch_model.bin files should be at the root of the repository. See here for more details.
  • it would be great to make the model directly usable through the Transformers library, using trust_remote_code=True. Refer to this guide for more info: https://huggingface.co/docs/transformers/custom_models.

The latter would also ensure working download stats.

Let me know if you need any help regarding this.

Cheers!

Sign up or log in to comment