Instructions to use ai-lab/ESGify with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ai-lab/ESGify with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, ESGify tokenizer = AutoTokenizer.from_pretrained("ai-lab/ESGify") model = ESGify.from_pretrained("ai-lab/ESGify", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from ai-lab/ESGify: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/ai-lab/ESGify/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://ai-lab/ESGify/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/ai-lab/ESGify/resolve/main/special_tokens_map.json
364 Bytes
| { | |
| "additional_special_tokens": [ | |
| "FAC", | |
| "LOC", | |
| "ORG", | |
| "PERSON" | |
| ], | |
| "bos_token": "<s>", | |
| "cls_token": "<s>", | |
| "eos_token": "</s>", | |
| "mask_token": { | |
| "content": "<mask>", | |
| "lstrip": true, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "<pad>", | |
| "sep_token": "</s>", | |
| "unk_token": "[UNK]" | |
| } | |