MacLeanLuke/gemma-2b-tool-tuned-code
0
1from huggingface_hub import HfApi2 3repo_id = "MacLeanLuke/gemma-2b-tool-tuned" # Change to your Hugging Face username & repo name4 5# ✅ Upload model and tokenizer6api = HfApi()7api.create_repo(repo_id, exist_ok=True)8 9# ✅ Push files10model_path = "gemma-2-2B-it-macM3"11api.upload_folder(12 folder_path=model_path, 13 repo_id=repo_id, 14 repo_type="model",15)16 17print(f"Model successfully uploaded to: https://huggingface.co/{repo_id}")