Update README.md
Browse files
README.md
CHANGED
@@ -8,13 +8,13 @@ tags:
|
|
8 |
- social
|
9 |
---
|
10 |
|
11 |
-
# Model Card for
|
12 |
|
13 |
## Model Description
|
14 |
|
15 |
-
Based on [this paper](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4622514), this is the
|
16 |
|
17 |
-
Using the [
|
18 |
|
19 |
## How to Get Started With the Model
|
20 |
You can use the model with a pipeline for text classification:
|
@@ -22,8 +22,8 @@ You can use the model with a pipeline for text classification:
|
|
22 |
```python
|
23 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
|
24 |
|
25 |
-
tokenizer_name = "ESGBERT/
|
26 |
-
model_name = "ESGBERT/
|
27 |
|
28 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
29 |
tokenizer = AutoTokenizer.from_pretrained(tokenizer_name, max_len=512)
|
|
|
8 |
- social
|
9 |
---
|
10 |
|
11 |
+
# Model Card for SocRoBERTa-social
|
12 |
|
13 |
## Model Description
|
14 |
|
15 |
+
Based on [this paper](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4622514), this is the SocRoBERTa-social language model. A language model that is trained to better classify social texts in the ESG domain.
|
16 |
|
17 |
+
Using the [SocRoBERTa-base](https://huggingface.co/ESGBERT/SocRoBERTa-base) model as a starting point, the SocRoBERTa-social Language Model is additionally fine-trained on a 2k social dataset to detect social text samples.
|
18 |
|
19 |
## How to Get Started With the Model
|
20 |
You can use the model with a pipeline for text classification:
|
|
|
22 |
```python
|
23 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
|
24 |
|
25 |
+
tokenizer_name = "ESGBERT/SocRoBERTa-social"
|
26 |
+
model_name = "ESGBERT/SocRoBERTa-social"
|
27 |
|
28 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
29 |
tokenizer = AutoTokenizer.from_pretrained(tokenizer_name, max_len=512)
|