Text Classification
Transformers
Safetensors
English
roberta
ESG
environmental
action
text-embeddings-inference
Instructions to use ESGBERT/EnvironmentalBERT-action with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ESGBERT/EnvironmentalBERT-action with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ESGBERT/EnvironmentalBERT-action")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ESGBERT/EnvironmentalBERT-action") model = AutoModelForSequenceClassification.from_pretrained("ESGBERT/EnvironmentalBERT-action", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -19,6 +19,8 @@ Using the [EnvironmentalBERT-base](https://huggingface.co/ESGBERT/EnvironmentalB
|
|
| 19 |
|
| 20 |
## How to Get Started With the Model
|
| 21 |
|
|
|
|
|
|
|
| 22 |
It is highly recommended to first classify a sentence to be "environmental" or not with the [EnvironmentalBERT-environmental](https://huggingface.co/ESGBERT/EnvironmentalBERT-environmental) model before classifying whether it is "action" or not. This intersection allows us to build a targeted insight into whether the sentence displays an "environmental action".
|
| 23 |
|
| 24 |
You can use the model with a pipeline for text classification:
|
|
|
|
| 19 |
|
| 20 |
## How to Get Started With the Model
|
| 21 |
|
| 22 |
+
See these tutorials on Medium for a guide on [model usage](https://medium.com/@schimanski.tobi/analyzing-esg-with-ai-and-nlp-tutorial-1-report-analysis-towards-esg-risks-and-opportunities-8daa2695f6c5?source=friends_link&sk=423e30ac2f50ee4695d258c2c4d54aa5), [large-scale analysis](https://medium.com/@schimanski.tobi/analyzing-esg-with-ai-and-nlp-tutorial-2-large-scale-analyses-of-environmental-actions-0735cc8dc9c2?source=friends_link&sk=13a5aa1999fbb11e9eed4a0c26c40efa), and [fine-tuning](https://medium.com/@schimanski.tobi/analyzing-esg-with-ai-and-nlp-tutorial-3-fine-tune-your-own-models-e3692fc0b3c0?source=friends_link&sk=49dc9f00768e43242fc1a76aa0969c70).
|
| 23 |
+
|
| 24 |
It is highly recommended to first classify a sentence to be "environmental" or not with the [EnvironmentalBERT-environmental](https://huggingface.co/ESGBERT/EnvironmentalBERT-environmental) model before classifying whether it is "action" or not. This intersection allows us to build a targeted insight into whether the sentence displays an "environmental action".
|
| 25 |
|
| 26 |
You can use the model with a pipeline for text classification:
|