File size: 802 Bytes
11f4780
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
tags:
- sentiment-analysis
- transformers
- text-classification
license: apache-2.0
datasets:
- imdb
language:
- en
---

# Simple Sentiment Analyzer

🚀 This is a **sentiment analysis model** trained to classify text as **Positive** or **Negative**.  

## Model Details
- **Architecture:** DistilBERT (fine-tuned for sentiment classification)
- **Framework:** 🤗 Transformers
- **Files included:**
  - `config.json`
  - `model.safetensors`
  - `tokenizer.json`
  - `tokenizer_config.json`
  - `special_tokens_map.json`
  - `vocab.txt`

## Usage

```python
from transformers import pipeline

classifier = pipeline("sentiment-analysis", model="Rugs25/simple-sentiment-analyzer")

print(classifier("I love Hugging Face!"))  # → POSITIVE
print(classifier("This is terrible."))     # → NEGATIVE