Commit
·
4d20550
1
Parent(s):
6acc0a9
Update README.md
Browse files
README.md
CHANGED
@@ -1,51 +1,29 @@
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
4 |
-
##
|
5 |
|
6 |
-
|
7 |
|
8 |
-
### AudienceClassifier
|
9 |
-
|
10 |
-
Model: Moritz-Pfeifer/AudienceClassifier
|
11 |
-
|
12 |
-
#### Overview
|
13 |
-
|
14 |
-
The AudienceClassifier model is designed to classify the target audience of a given text. It can determine whether the text is suitable for children, teenagers, adults, or other specific age groups. This model is based on a state-of-the-art deep learning architecture and has been fine-tuned on a diverse and extensive dataset to provide accurate predictions.
|
15 |
-
|
16 |
-
#### Intended Use
|
17 |
-
|
18 |
-
The AudienceClassifier model is intended to be used in various applications where content categorization based on target audiences is essential. It can be incorporated into content moderation systems, social media platforms, or any platform that requires filtering content based on age-appropriateness.
|
19 |
-
|
20 |
-
#### Performance
|
21 |
-
|
22 |
-
- Accuracy: 95%
|
23 |
-
- F1 Score: 0.94
|
24 |
-
- Precision: 0.92
|
25 |
-
- Recall: 0.96
|
26 |
-
|
27 |
-
### SentimentClassifier
|
28 |
-
|
29 |
-
Model: Moritz-Pfeifer/SentimentClassifier
|
30 |
|
31 |
#### Overview
|
32 |
|
33 |
-
The
|
34 |
|
35 |
#### Intended Use
|
36 |
|
37 |
-
The
|
38 |
|
39 |
#### Performance
|
40 |
|
41 |
-
- Accuracy:
|
42 |
-
- F1 Score: 0.
|
43 |
-
- Precision: 0.
|
44 |
-
- Recall: 0.
|
45 |
|
46 |
### Usage
|
47 |
|
48 |
-
You can use these models in your own applications by leveraging the Hugging Face Transformers library. Below is a Python code snippet demonstrating how to load and use the AudienceClassifier
|
49 |
|
50 |
```python
|
51 |
from transformers import pipeline
|
@@ -53,13 +31,6 @@ from transformers import pipeline
|
|
53 |
# Load the AudienceClassifier model
|
54 |
audience_classifier = pipeline("text-classification", model="Moritz-Pfeifer/AudienceClassifier")
|
55 |
|
56 |
-
# Load the SentimentClassifier model
|
57 |
-
sentiment_classifier = pipeline("text-classification", model="Moritz-Pfeifer/SentimentClassifier")
|
58 |
-
|
59 |
# Perform audience classification
|
60 |
audience_result = audience_classifier("Your text goes here.")
|
61 |
print("Audience Classification:", audience_result[0]['label'])
|
62 |
-
|
63 |
-
# Perform sentiment analysis
|
64 |
-
sentiment_result = sentiment_classifier("Your text goes here.")
|
65 |
-
print("Sentiment Analysis:", sentiment_result[0]['label'])
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
4 |
+
## CentralBankRoBERTa
|
5 |
|
6 |
+
CentralBankRoBERTA is a large language model. It combines an economic agent classifier that distinguishes five basic macroeconomic agents with a binary sentiment classifier that identifies the emotional content of sentences in central bank communications.
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
#### Overview
|
10 |
|
11 |
+
The AudienceClassifier model is designed to classify the target audience of a given text. It can determine whether the text is adressing households, firms, the financial sector, the government or the central bank itself. This model is based on a state-of-the-art deep learning architecture and has been fine-tuned on a diverse and extensive dataset to provide accurate predictions.
|
12 |
|
13 |
#### Intended Use
|
14 |
|
15 |
+
The AudienceClassifier model is intended to be used in various applications where content categorization based on target audiences is essential.
|
16 |
|
17 |
#### Performance
|
18 |
|
19 |
+
- Accuracy: 93%
|
20 |
+
- F1 Score: 0.93
|
21 |
+
- Precision: 0.93
|
22 |
+
- Recall: 0.93
|
23 |
|
24 |
### Usage
|
25 |
|
26 |
+
You can use these models in your own applications by leveraging the Hugging Face Transformers library. Below is a Python code snippet demonstrating how to load and use the AudienceClassifier model:
|
27 |
|
28 |
```python
|
29 |
from transformers import pipeline
|
|
|
31 |
# Load the AudienceClassifier model
|
32 |
audience_classifier = pipeline("text-classification", model="Moritz-Pfeifer/AudienceClassifier")
|
33 |
|
|
|
|
|
|
|
34 |
# Perform audience classification
|
35 |
audience_result = audience_classifier("Your text goes here.")
|
36 |
print("Audience Classification:", audience_result[0]['label'])
|
|
|
|
|
|
|
|