tobischimanski commited on
Commit
b1c1eaf
1 Parent(s): 33211b2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -8,13 +8,13 @@ tags:
8
  - environmental
9
  ---
10
 
11
- # Model Card for EnvDistilRoBERTa-environmental
12
 
13
  ## Model Description
14
 
15
- Based on [this paper](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4622514), this is the EnvDistilRoBERTa-environmental language model. A language model that is trained to better classify environmental texts in the ESG domain.
16
 
17
- Using the [EnvDistilRoBERTa-base](https://huggingface.co/ESGBERT/EnvDistilRoBERTa-base) model as a starting point, the EnvDistilRoBERTa-environmental Language Model is additionally fine-trained on a 2k environmental dataset to detect environmental text samples.
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/EnvDistilRoBERTa-environmental"
26
- model_name = "ESGBERT/EnvDistilRoBERTa-environmental"
27
 
28
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
29
  tokenizer = AutoTokenizer.from_pretrained(tokenizer_name, max_len=512)
 
8
  - environmental
9
  ---
10
 
11
+ # Model Card for EnvironmentalBERT-environmental
12
 
13
  ## Model Description
14
 
15
+ Based on [this paper](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4622514), this is the EnvironmentalBERT-environmental language model. A language model that is trained to better classify environmental texts in the ESG domain.
16
 
17
+ Using the [EnvironmentalBERT-base](https://huggingface.co/ESGBERT/EnvironmentalBERT-base) model as a starting point, the EnvironmentalBERT-environmental Language Model is additionally fine-trained on a 2k environmental dataset to detect environmental 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/EnvironmentalBERT-environmental"
26
+ model_name = "ESGBERT/EnvironmentalBERT-environmental"
27
 
28
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
29
  tokenizer = AutoTokenizer.from_pretrained(tokenizer_name, max_len=512)