Moritz-Pfeifer commited on
Commit
fe93cd2
·
1 Parent(s): cc06258

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -7
README.md CHANGED
@@ -18,11 +18,11 @@ CentralBankRoBERTA is a large language model. It combines an economic agent clas
18
 
19
  #### Overview
20
 
21
- 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 the RoBERTa architecture and has been fine-tuned on a diverse and extensive dataset to provide accurate predictions.
22
 
23
  #### Intended Use
24
 
25
- The AudienceClassifier model is intended to be used for the analysis of central bank communications where content categorization based on target audiences is essential.
26
 
27
  #### Performance
28
 
@@ -38,12 +38,12 @@ You can use these models in your own applications by leveraging the Hugging Face
38
  ```python
39
  from transformers import pipeline
40
 
41
- # Load the AudienceClassifier model
42
- audience_classifier = pipeline("text-classification", model="Moritz-Pfeifer/CentralBankRoBERTa-audience-classifier")
43
 
44
- # Perform audience classification
45
- audience_result = audience_classifier("We used our liquidity tools to make funding available to banks that might need it.")
46
- print("Audience Classification:", audience_result[0]['label'])
47
  ```
48
 
49
  <table>
 
18
 
19
  #### Overview
20
 
21
+ The AgentClassifier model is designed to classify the target agent 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 the RoBERTa architecture and has been fine-tuned on a diverse and extensive dataset to provide accurate predictions.
22
 
23
  #### Intended Use
24
 
25
+ The AgentClassifier model is intended to be used for the analysis of central bank communications where content categorization based on target agents is essential.
26
 
27
  #### Performance
28
 
 
38
  ```python
39
  from transformers import pipeline
40
 
41
+ # Load the AgentClassifier model
42
+ agent_classifier = pipeline("text-classification", model="Moritz-Pfeifer/CentralBankRoBERTa-agent-classifier")
43
 
44
+ # Perform agent classification
45
+ agent_result = agent_classifier("We used our liquidity tools to make funding available to banks that might need it.")
46
+ print("Agent Classification:", agent_result[0]['label'])
47
  ```
48
 
49
  <table>