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")# pip install -U transformers accelerate # 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
File size: 2,774 Bytes
e4805d0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | {
"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"
} |