mervp commited on
Commit
beecef9
·
verified ·
1 Parent(s): 7cd3117

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -10,11 +10,11 @@ tags:
10
  - reviews
11
  ---
12
 
13
- # Sentify-BERT — Fine-tuned BERT for Sentiment Classification (Positive, Neutral, Negative)
14
 
15
- **Sentify-BERT** is a BERT-based model specifically fine-tuned for **sentiment classification of sentences** into three categories: **Positive**, **Negative**, and **Neutral**.
16
 
17
- This model has been trained on a **large and diverse dataset of news articles** across a wide range of categories. It achieves **over 86% accuracy** and demonstrates a strong understanding of sentence-level sentiment, even in nuanced or mixed-context cases.
18
 
19
  ---
20
 
@@ -47,8 +47,8 @@ This model is well-suited for:
47
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
48
  import torch
49
 
50
- model = AutoModelForSequenceClassification.from_pretrained("your-username/Sentify-BERT")
51
- tokenizer = AutoTokenizer.from_pretrained("your-username/Sentify-BERT")
52
 
53
  text = "The government’s response to the crisis was surprisingly effective."
54
  inputs = tokenizer(text, return_tensors="pt")
 
10
  - reviews
11
  ---
12
 
13
+ # SentimentBERT — Fine-tuned BERT for Sentiment Classification (Positive, Neutral, Negative)
14
 
15
+ **SentimentBERT** is a Finetuned BERT-based model specifically for **sentiment classification of sentences** into three categories: **Positive**, **Negative**, and **Neutral**.
16
 
17
+ This model has been trained on a ** 130K large and diverse dataset of news articles** across a wide range of categories. It achieves **over 86% accuracy** and demonstrates a strong understanding of sentence-level sentiment, even in nuanced or mixed-context cases.
18
 
19
  ---
20
 
 
47
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
48
  import torch
49
 
50
+ model = AutoModelForSequenceClassification.from_pretrained("mervp/SentimentBERT")
51
+ tokenizer = AutoTokenizer.from_pretrained("mervp/SentimentBERT")
52
 
53
  text = "The government’s response to the crisis was surprisingly effective."
54
  inputs = tokenizer(text, return_tensors="pt")