Instructions to use rolf-mozilla/tinybert-address-autofill with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use rolf-mozilla/tinybert-address-autofill with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'rolf-mozilla/tinybert-address-autofill');
v0.2.1: TinyBERT address autofill, no-** retrain (k6bxl, jt4qd's EXACT train/val/test (apples-to-apples with the v2 jt4qd run))
f06031d verified Download tokenizer_config.json from rolf-mozilla/tinybert-address-autofill: direct link, hf CLI and curl.
- Browser
- Download file 1.43 kB
-
https://huggingface.co/rolf-mozilla/tinybert-address-autofill/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://rolf-mozilla/tinybert-address-autofill/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/rolf-mozilla/tinybert-address-autofill/resolve/main/tokenizer_config.json
1.43 kB
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100": { | |
| "content": "[UNK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "101": { | |
| "content": "[CLS]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "102": { | |
| "content": "[SEP]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "103": { | |
| "content": "[MASK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "backend": "tokenizers", | |
| "clean_up_tokenization_spaces": false, | |
| "cls_token": "[CLS]", | |
| "do_lower_case": true, | |
| "extra_special_tokens": {}, | |
| "is_local": false, | |
| "local_files_only": false, | |
| "mask_token": "[MASK]", | |
| "max_length": 512, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "stride": 0, | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "[UNK]" | |
| } | |