Instructions to use research-backup/roberta-large-semeval2012-mask-prompt-a-nce-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use research-backup/roberta-large-semeval2012-mask-prompt-a-nce-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="research-backup/roberta-large-semeval2012-mask-prompt-a-nce-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("research-backup/roberta-large-semeval2012-mask-prompt-a-nce-classification") model = AutoModel.from_pretrained("research-backup/roberta-large-semeval2012-mask-prompt-a-nce-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from research-backup/roberta-large-semeval2012-mask-prompt-a-nce-classification: direct link, hf CLI and curl.
- Browser
- Download file 426 Bytes
-
https://huggingface.co/research-backup/roberta-large-semeval2012-mask-prompt-a-nce-classification/resolve/refs%2Fpr%2F1/tokenizer_config.json
- Command line
-
hf download hf://research-backup/roberta-large-semeval2012-mask-prompt-a-nce-classification@refs/pr/1/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/research-backup/roberta-large-semeval2012-mask-prompt-a-nce-classification/resolve/refs%2Fpr%2F1/tokenizer_config.json
426 Bytes
| { | |
| "add_prefix_space": false, | |
| "bos_token": "<s>", | |
| "cls_token": "<s>", | |
| "eos_token": "</s>", | |
| "errors": "replace", | |
| "mask_token": "<mask>", | |
| "model_max_length": 512, | |
| "name_or_path": "roberta-large-semeval2012-mask-prompt-a-nce-classification", | |
| "pad_token": "<pad>", | |
| "sep_token": "</s>", | |
| "special_tokens_map_file": null, | |
| "tokenizer_class": "RobertaTokenizer", | |
| "trim_offsets": true, | |
| "unk_token": "<unk>" | |
| } | |