Instructions to use bareeraqrsh/Sentiment-analysis-tool with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bareeraqrsh/Sentiment-analysis-tool with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="bareeraqrsh/Sentiment-analysis-tool")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("bareeraqrsh/Sentiment-analysis-tool") model = AutoModelForSequenceClassification.from_pretrained("bareeraqrsh/Sentiment-analysis-tool", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Training in progress, epoch 3
Verified signatureb16f8f8 -
Training in progress, epoch 2
Verified signature74b43d1 -
Training in progress, epoch 1
Verified signatured931638
-
Training in progress, epoch 2
Verified signature7b81f47 -
Training in progress, epoch 1
Verified signature410a1fd
-
Training in progress, epoch 3
Verified signature5ef7f68 -
Training in progress, epoch 2
Verified signature193f572 -
Training in progress, epoch 1
Verified signaturecbe918a
-
Update README.md
Verified signatureeb07201 -
Create README.md
Verified signature# Sentiment Analysis Web App This project provides a sentiment analysis web application that utilizes Hugging Face's `DistilBERT` transformer model to classify text into positive, negative, or neutral sentiments. The model is fine-tuned for sentiment analysis, and the web interface built with Flask allows users to input text and view sentiment classification results. ## Tech Stack - **AI Model:** Hugging Face Transformers (DistilBERT) - **Backend Framework:** Flask - **Frontend Framework:** HTML, CSS, JavaScript - **Environment:** Python 3.x, pip/venv - **Version Control:** Git and GitHub ## Setup Instructions Follow these steps to set up the project on your local machine: ### 1. Clone the repository First, clone the repository to your local machine using Git: ```bash git clone https://github.com/yourusername/sentiment-analysis-app.git cd sentiment-analysis-app ``` ### 2. Set up a virtual environment Create and activate a Python virtual environment to manage dependencies: ####…af076d9
-
Training in progress, epoch 3
Verified signature664fe51 -
Training in progress, epoch 2
Verified signature022f7ee -
Training in progress, epoch 1
Verified signature0c9e849 -
initial commit
Verified signaturea358ece