{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "import huggingface_hub as hb\n", "from tensorflow import keras\n", "\n", "# Load the model\n", "model = keras.models.load_model('../../models/imsoumyaneel-sentiment_analysis_llama2.keras')\n", "\n", "# Upload the model to Hugging Face\n", "hub.push_to_hub_keras(model, repo_id=\"yasirfaizahmed/sentiment-text-classifications\")" ] } ], "metadata": { "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 2 }