Instructions to use Xenova/tiny-random-RoFormerForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/tiny-random-RoFormerForSequenceClassification with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'Xenova/tiny-random-RoFormerForSequenceClassification');
Download special_tokens_map.json from Xenova/tiny-random-RoFormerForSequenceClassification: direct link, hf CLI and curl.
- Browser
- Download file 695 Bytes
-
https://huggingface.co/Xenova/tiny-random-RoFormerForSequenceClassification/resolve/e13c22661e40f2ca3ac89a0fb8aeea6608faf310/special_tokens_map.json
- Command line
-
hf download hf://Xenova/tiny-random-RoFormerForSequenceClassification@e13c22661e40f2ca3ac89a0fb8aeea6608faf310/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Xenova/tiny-random-RoFormerForSequenceClassification/resolve/e13c22661e40f2ca3ac89a0fb8aeea6608faf310/special_tokens_map.json
695 Bytes
| { | |
| "cls_token": { | |
| "content": "[CLS]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "mask_token": { | |
| "content": "[MASK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "sep_token": { | |
| "content": "[SEP]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "[UNK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |