Rugs25 commited on
Commit
11f4780
·
verified ·
1 Parent(s): 327a271

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +36 -0
README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentiment-analysis
4
+ - transformers
5
+ - text-classification
6
+ license: apache-2.0
7
+ datasets:
8
+ - imdb
9
+ language:
10
+ - en
11
+ ---
12
+
13
+ # Simple Sentiment Analyzer
14
+
15
+ 🚀 This is a **sentiment analysis model** trained to classify text as **Positive** or **Negative**.
16
+
17
+ ## Model Details
18
+ - **Architecture:** DistilBERT (fine-tuned for sentiment classification)
19
+ - **Framework:** 🤗 Transformers
20
+ - **Files included:**
21
+ - `config.json`
22
+ - `model.safetensors`
23
+ - `tokenizer.json`
24
+ - `tokenizer_config.json`
25
+ - `special_tokens_map.json`
26
+ - `vocab.txt`
27
+
28
+ ## Usage
29
+
30
+ ```python
31
+ from transformers import pipeline
32
+
33
+ classifier = pipeline("sentiment-analysis", model="Rugs25/simple-sentiment-analyzer")
34
+
35
+ print(classifier("I love Hugging Face!")) # → POSITIVE
36
+ print(classifier("This is terrible.")) # → NEGATIVE