Token Classification
Transformers
ONNX
Safetensors
multilingual
bert
autofill
password-manager
form-classification
field-classification
browser-extension
Instructions to use ProCreations/Zap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ProCreations/Zap with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ProCreations/Zap")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("ProCreations/Zap") model = AutoModelForTokenClassification.from_pretrained("ProCreations/Zap", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from ProCreations/Zap: direct link, hf CLI and curl.
- Browser
- Download file 2.77 kB
-
https://huggingface.co/ProCreations/Zap/resolve/main/config.json
- Command line
-
hf download hf://ProCreations/Zap/config.json
-
curl -L -o config.json https://huggingface.co/ProCreations/Zap/resolve/main/config.json
2.77 kB
| { | |
| "add_cross_attention": false, | |
| "architectures": [ | |
| "BertForTokenClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": null, | |
| "classifier_dropout": null, | |
| "dtype": "bfloat16", | |
| "eos_token_id": null, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 384, | |
| "id2label": { | |
| "0": "form:login", | |
| "1": "form:signup", | |
| "2": "form:password-change", | |
| "3": "form:password-recovery", | |
| "4": "form:otp", | |
| "5": "form:payment", | |
| "6": "form:address", | |
| "7": "form:newsletter", | |
| "8": "form:contact", | |
| "9": "form:search", | |
| "10": "form:other", | |
| "11": "field:username", | |
| "12": "field:email", | |
| "13": "field:current-password", | |
| "14": "field:new-password", | |
| "15": "field:one-time-code", | |
| "16": "field:tel", | |
| "17": "field:name", | |
| "18": "field:given-name", | |
| "19": "field:family-name", | |
| "20": "field:organization", | |
| "21": "field:street-address", | |
| "22": "field:address-line2", | |
| "23": "field:address-level2", | |
| "24": "field:address-level1", | |
| "25": "field:postal-code", | |
| "26": "field:country", | |
| "27": "field:cc-name", | |
| "28": "field:cc-number", | |
| "29": "field:cc-exp", | |
| "30": "field:cc-exp-month", | |
| "31": "field:cc-exp-year", | |
| "32": "field:cc-csc", | |
| "33": "field:bday", | |
| "34": "field:search", | |
| "35": "field:captcha", | |
| "36": "field:other" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1536, | |
| "is_decoder": false, | |
| "label2id": { | |
| "field:address-level1": 24, | |
| "field:address-level2": 23, | |
| "field:address-line2": 22, | |
| "field:bday": 33, | |
| "field:captcha": 35, | |
| "field:cc-csc": 32, | |
| "field:cc-exp": 29, | |
| "field:cc-exp-month": 30, | |
| "field:cc-exp-year": 31, | |
| "field:cc-name": 27, | |
| "field:cc-number": 28, | |
| "field:country": 26, | |
| "field:current-password": 13, | |
| "field:email": 12, | |
| "field:family-name": 19, | |
| "field:given-name": 18, | |
| "field:name": 17, | |
| "field:new-password": 14, | |
| "field:one-time-code": 15, | |
| "field:organization": 20, | |
| "field:other": 36, | |
| "field:postal-code": 25, | |
| "field:search": 34, | |
| "field:street-address": 21, | |
| "field:tel": 16, | |
| "field:username": 11, | |
| "form:address": 6, | |
| "form:contact": 8, | |
| "form:login": 0, | |
| "form:newsletter": 7, | |
| "form:other": 10, | |
| "form:otp": 4, | |
| "form:password-change": 2, | |
| "form:password-recovery": 3, | |
| "form:payment": 5, | |
| "form:search": 9, | |
| "form:signup": 1 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 6, | |
| "num_hidden_layers": 8, | |
| "pad_token_id": 0, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.12.1", | |
| "type_vocab_size": 1, | |
| "use_cache": true, | |
| "vocab_size": 16384, | |
| "torch_dtype": "bfloat16" | |
| } |