Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- sentiment-analysis
|
4 |
+
pipeline_tag: text-classification
|
5 |
+
license: mit
|
6 |
+
---
|
7 |
+
|
8 |
+
# DistilBERT Fine-Tuned Model for Sentiment Analysis
|
9 |
+
|
10 |
+
This model is a fine-tuned version of DistilBERT for sentiment analysis tasks.
|
11 |
+
|
12 |
+
## Model Description
|
13 |
+
|
14 |
+
The model has been fine-tuned on a dataset containing a mixture of Bruneian Malay and English texts. It is designed to classify the sentiment of comments effectively.
|
15 |
+
|
16 |
+
## Usage
|
17 |
+
|
18 |
+
You can use this model with the Hugging Face `transformers` library like this:
|
19 |
+
|
20 |
+
```python
|
21 |
+
from transformers import pipeline
|
22 |
+
|
23 |
+
# Load the model
|
24 |
+
sentiment_classifier = pipeline("sentiment-analysis", model="frwna/distilbert_finetuned_model")
|
25 |
+
|
26 |
+
# Example usage
|
27 |
+
results = sentiment_classifier("Your comment here")
|
28 |
+
print(results)
|