How to use from the
Use from the
Keras library
# Available backend options are: "jax", "torch", "tensorflow".
import os
os.environ["KERAS_BACKEND"] = "jax"

import keras

model = keras.saving.load_model("hf://MasterShomya/Tweets_Sentiment_Analyzer")

Sentiment Analysis from Scratch (LSTM + Attention)

This is a sentiment analysis model built entirely from scratch using a bidirectional LSTM architecture with an attention mechanism. The tokenizer is also trained from scratch on the dataset of 1.6 million tweets.

Dataset Link

https://www.kaggle.com/datasets/mdraselsarker/sentiment140-dataset-with-1-6-million-tweets

Kaggle Notebook Link

https://www.kaggle.com/code/mastershomya/sentiment-analysis-deep-bilstm

Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support