Instructions to use BilalHasan/Sentiment-Analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use BilalHasan/Sentiment-Analysis with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://BilalHasan/Sentiment-Analysis") - Notebooks
- Google Colab
- Kaggle
About
This model performs sentiment analysis on an input text. The model outputs one of the two classes: Positive or Negative
Setup instructions
Clone the repository:
git clone https://github.com/Bilal303-ai/Sentiment-Analysis cd Sentiment-AnalysisInstall
tensorflowandkeras_nlpRun the following command:
python inference.py
- Downloads last month
- 13