tobischimanski commited on
Commit
8baa81a
1 Parent(s): c8a5bca

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md CHANGED
@@ -1,3 +1,49 @@
1
  ---
 
2
  license: apache-2.0
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language: en
3
  license: apache-2.0
4
+ datasets:
5
+ - ESGBERT/action_500
6
+ tags:
7
+ - ESG
8
+ - environmental
9
+ - action
10
  ---
11
+
12
+ # Model Card for EnvironmentalBERT-action
13
+
14
+ ## Model Description
15
+
16
+ As an extension to [this paper](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4622514), this is the EnvironmentalBERT-action language model. A language model that is trained to better classify action texts in the ESG domain.
17
+
18
+ Using the [EnvironmentalBERT-base](https://huggingface.co/ESGBERT/EnvironmentalBERT-base) model as a starting point, the EnvironmentalBERT-action Language Model is additionally fine-trained on a 500 environmental dataset to detect action text samples. The underlying dataset is comparatively small, so if you like to contribute to it, feel free to reach out.
19
+
20
+ ## How to Get Started With the Model
21
+ You can use the model with a pipeline for text classification:
22
+
23
+ ```python
24
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
25
+
26
+ tokenizer_name = "ESGBERT/EnvironmentalBERT-action"
27
+ model_name = "ESGBERT/EnvironmentalBERT-action"
28
+
29
+ model = AutoModelForSequenceClassification.from_pretrained(model_name)
30
+ tokenizer = AutoTokenizer.from_pretrained(tokenizer_name, max_len=512)
31
+
32
+ pipe = pipeline("text-classification", model=model, tokenizer=tokenizer) # set device=0 to use GPU
33
+
34
+ # See https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.pipeline
35
+ print(pipe("We are actively working to reduce our CO2 emissions by planting trees in 25 countries.", padding=True, truncation=True))
36
+ ```
37
+
38
+ ## More details to the base models can be found in this paper
39
+
40
+ While this dataset does not originate from the paper, it is a extension of it and the base models are described in it.
41
+
42
+ ```bibtex
43
+ @article{Schimanski23ESGBERT,
44
+ title={{Bridiging the Gap in ESG Measurement: Using NLP to Quantify Environmental, Social, and Governance Communication}},
45
+ author={Tobias Schimanski and Andrin Reding and Nico Reding and Julia Bingler and Mathias Kraus and Markus Leippold},
46
+ year={2023},
47
+ journal={Available on SSRN: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4622514},
48
+ }
49
+ ```