Upload or publish model weights to the Hugging Face Hub. Use for model repositories, not dataset uploads or Hub downloads.
Install
npx skillscat add marin-community/marin/upload-hf-model Install via the SkillsCat registry.
Upload a model to Hugging Face
Use the
open-athenaHugging Face organization when the user has not specified a destination namespace. Honor an explicit destination from the user.Upload models under the OpenMDW 1.1 license. Copy the official license text into the model repository's root
LICENSEfile and setlicense: openmdw-1.1in the rootREADME.mdYAML metadata.For every model upload, make sure the model repository's root
README.mdincludes this exact text:Research artifact. This model has not been properly tested or evaluated and is not necessarily secure. Use at your own risk in production settings.
For every model upload or update, also include this exact responsible-use paragraph in the model repository's root
README.md. Preserve the research-artifact warning above; do not add duplicate copies of either paragraph:We release our tools to the public with the intent that they are used safely, ethically, and responsibly. They are meant to contribute to the public's understanding of science, and aid in its advancement. By using this Marin model, you agree to comply with all applicable law.
Every model upload needs a root
generation_config.jsonwithdo_sample: true,temperature: 0.6,top_p: 0.95, and aneos_token_idlist that includes the chat template's end-of-turn token. Marin exports write it. For a Levanter model directory without one, uselevanter.compat.hf_generation_config.export_generation_configandwrite_generation_configwith the uploaded tokenizer andmarin.inference.generation_config.MARIN_GENERATION_CONFIG_DEFAULTS.Before publishing, check the local model card for both required paragraphs and the OpenMDW 1.1 license metadata. Do not upload a card that omits them.
Check the published
README.mdandLICENSEafter uploading or updating the model to confirm that the research-artifact warning, responsible-use paragraph, OpenMDW 1.1 license metadata, and full license text are present.