Instructions to use Andesprit/dictaria-question-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Andesprit/dictaria-question-classifier with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'Andesprit/dictaria-question-classifier');
Download tokenizer_config.json from Andesprit/dictaria-question-classifier: direct link, hf CLI and curl.
- Browser
- Download file 557 Bytes
-
https://huggingface.co/Andesprit/dictaria-question-classifier/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Andesprit/dictaria-question-classifier/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Andesprit/dictaria-question-classifier/resolve/main/tokenizer_config.json
557 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<s>", | |
| "cls_token": "<s>", | |
| "do_lower_case": true, | |
| "eos_token": "</s>", | |
| "is_local": true, | |
| "mask_token": "<mask>", | |
| "max_length": 128, | |
| "model_max_length": 512, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "<pad>", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "sep_token": "</s>", | |
| "stride": 0, | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "TokenizersBackend", | |
| "truncation_side": "left", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "<unk>" | |
| } | |