Update README.md
Browse files
README.md
CHANGED
@@ -1,30 +1,9 @@
|
|
1 |
-
|
2 |
---
|
3 |
tags:
|
4 |
- sentiment-analysis
|
5 |
library_name: transformers
|
6 |
---
|
7 |
|
8 |
-
# Model
|
9 |
-
|
10 |
-
Description and usage instructions.
|
11 |
-
|
12 |
-
---
|
13 |
-
|
14 |
-
# DistilBERT Fine-Tuned Model for Sentiment Analysis
|
15 |
-
|
16 |
-
This model is a fine-tuned version of DistilBERT for sentiment analysis tasks.
|
17 |
-
|
18 |
-
## Usage
|
19 |
-
|
20 |
-
You can use this model with the Hugging Face `transformers` library like this:
|
21 |
-
|
22 |
-
```python
|
23 |
-
from transformers import pipeline
|
24 |
-
|
25 |
-
# Load the model
|
26 |
-
sentiment_classifier = pipeline("sentiment-analysis", model="frwna/distilbert_finetuned_model")
|
27 |
|
28 |
-
|
29 |
-
results = sentiment_classifier("Your comment here")
|
30 |
-
print(results)
|
|
|
|
|
1 |
---
|
2 |
tags:
|
3 |
- sentiment-analysis
|
4 |
library_name: transformers
|
5 |
---
|
6 |
|
7 |
+
# DistilBERT Fine-Tuned Sentiment Model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
+
This model is fine-tuned for sentiment analysis.
|
|
|
|