Instructions to use huantd/all-mpnet-base-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use huantd/all-mpnet-base-v2 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('fill-mask', 'huantd/all-mpnet-base-v2');
Download tokenizer_config.json from huantd/all-mpnet-base-v2: direct link, hf CLI and curl.
- Browser
- Download file 357 Bytes
-
https://huggingface.co/huantd/all-mpnet-base-v2/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://huantd/all-mpnet-base-v2/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/huantd/all-mpnet-base-v2/resolve/main/tokenizer_config.json
357 Bytes
| { | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "<s>", | |
| "do_lower_case": true, | |
| "eos_token": "</s>", | |
| "mask_token": "<mask>", | |
| "model_max_length": 512, | |
| "pad_token": "<pad>", | |
| "sep_token": "</s>", | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "MPNetTokenizer", | |
| "unk_token": "[UNK]" | |
| } | |