Token Classification
TensorRT
ONNX
Russian
bert
cuda
cuda-graphs
fp16
pii
ner
named-entity-recognition
russian
Eval Results (legacy)
Instructions to use lockR/rubert-base-pii-ner-tensorrt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use lockR/rubert-base-pii-ner-tensorrt with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download config.json from lockR/rubert-base-pii-ner-tensorrt: direct link, hf CLI and curl.
- Browser
- Download file 2.83 kB
-
https://huggingface.co/lockR/rubert-base-pii-ner-tensorrt/resolve/main/config.json
- Command line
-
hf download hf://lockR/rubert-base-pii-ner-tensorrt/config.json
-
curl -L -o config.json https://huggingface.co/lockR/rubert-base-pii-ner-tensorrt/resolve/main/config.json
2.83 kB
| { | |
| "add_cross_attention": false, | |
| "architectures": [ | |
| "BertForTokenClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": null, | |
| "classifier_dropout": null, | |
| "directionality": "bidi", | |
| "dtype": "float32", | |
| "eos_token_id": null, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "O", | |
| "1": "B-PASSPORT", | |
| "2": "I-PASSPORT", | |
| "3": "B-CREDIT_CARD", | |
| "4": "I-CREDIT_CARD", | |
| "5": "B-DRIVER_LICENSE", | |
| "6": "I-DRIVER_LICENSE", | |
| "7": "B-INN", | |
| "8": "I-INN", | |
| "9": "B-SNILS", | |
| "10": "I-SNILS", | |
| "11": "B-MILITARY_ID", | |
| "12": "I-MILITARY_ID", | |
| "13": "B-BIRTH_CERTIFICATE", | |
| "14": "I-BIRTH_CERTIFICATE", | |
| "15": "B-OMS", | |
| "16": "I-OMS", | |
| "17": "B-CITY", | |
| "18": "B-COUNTRY", | |
| "19": "B-DISTRICT", | |
| "20": "B-EMAIL", | |
| "21": "B-FIRST_NAME", | |
| "22": "B-HOUSE", | |
| "23": "B-IP_ADDRESS", | |
| "24": "B-LAST_NAME", | |
| "25": "B-MIDDLE_NAME", | |
| "26": "B-PHONE", | |
| "27": "B-REGION", | |
| "28": "B-STREET", | |
| "29": "B-URL", | |
| "30": "I-CITY", | |
| "31": "I-COUNTRY", | |
| "32": "I-DISTRICT", | |
| "33": "I-EMAIL", | |
| "34": "I-FIRST_NAME", | |
| "35": "I-HOUSE", | |
| "36": "I-IP_ADDRESS", | |
| "37": "I-LAST_NAME", | |
| "38": "I-MIDDLE_NAME", | |
| "39": "I-PHONE", | |
| "40": "I-REGION", | |
| "41": "I-STREET", | |
| "42": "I-URL" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "is_decoder": false, | |
| "label2id": { | |
| "B-BIRTH_CERTIFICATE": 13, | |
| "B-CITY": 17, | |
| "B-COUNTRY": 18, | |
| "B-CREDIT_CARD": 3, | |
| "B-DISTRICT": 19, | |
| "B-DRIVER_LICENSE": 5, | |
| "B-EMAIL": 20, | |
| "B-FIRST_NAME": 21, | |
| "B-HOUSE": 22, | |
| "B-INN": 7, | |
| "B-IP_ADDRESS": 23, | |
| "B-LAST_NAME": 24, | |
| "B-MIDDLE_NAME": 25, | |
| "B-MILITARY_ID": 11, | |
| "B-OMS": 15, | |
| "B-PASSPORT": 1, | |
| "B-PHONE": 26, | |
| "B-REGION": 27, | |
| "B-SNILS": 9, | |
| "B-STREET": 28, | |
| "B-URL": 29, | |
| "I-BIRTH_CERTIFICATE": 14, | |
| "I-CITY": 30, | |
| "I-COUNTRY": 31, | |
| "I-CREDIT_CARD": 4, | |
| "I-DISTRICT": 32, | |
| "I-DRIVER_LICENSE": 6, | |
| "I-EMAIL": 33, | |
| "I-FIRST_NAME": 34, | |
| "I-HOUSE": 35, | |
| "I-INN": 8, | |
| "I-IP_ADDRESS": 36, | |
| "I-LAST_NAME": 37, | |
| "I-MIDDLE_NAME": 38, | |
| "I-MILITARY_ID": 12, | |
| "I-OMS": 16, | |
| "I-PASSPORT": 2, | |
| "I-PHONE": 39, | |
| "I-REGION": 40, | |
| "I-SNILS": 10, | |
| "I-STREET": 41, | |
| "I-URL": 42, | |
| "O": 0 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 0, | |
| "pooler_fc_size": 768, | |
| "pooler_num_attention_heads": 12, | |
| "pooler_num_fc_layers": 3, | |
| "pooler_size_per_head": 128, | |
| "pooler_type": "first_token_transform", | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.0.0", | |
| "type_vocab_size": 2, | |
| "use_cache": false, | |
| "vocab_size": 120138 | |
| } | |