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:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://MasterShomya/Tweets_Sentiment_Analyzer") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,6 +14,11 @@ tags:
|
|
| 14 |
---
|
| 15 |
# Sentiment Analysis from Scratch (LSTM + Attention)
|
| 16 |
|
| 17 |
-
This
|
| 18 |
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
# Sentiment Analysis from Scratch (LSTM + Attention)
|
| 16 |
|
| 17 |
+
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.
|
| 18 |
|
| 19 |
+
## Example Use
|
| 20 |
+
Try it out here 👇👇
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
Input: "I'm so happy to see this project live!"
|
| 24 |
+
Output: Positive (0.95)
|