Instructions to use MasterShomya/Tweets_Sentiment_Analyzer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use MasterShomya/Tweets_Sentiment_Analyzer with Keras:
# 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") - Notebooks
- Google Colab
- Kaggle
| license: mit | |
| language: | |
| - en | |
| metrics: | |
| - accuracy | |
| pipeline_tag: text-classification | |
| tags: | |
| - sentiment-analysis | |
| - keras | |
| - lstm | |
| - attention | |
| - scratch-model | |
| # 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 |