Token Classification
SpanMarker
PyTorch
English
ner
named-entity-recognition
generated_from_span_marker_trainer
Eval Results (legacy)
Instructions to use jackboyla/span-marker-bert-base-fewnerd-coarse-super with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SpanMarker
How to use jackboyla/span-marker-bert-base-fewnerd-coarse-super with SpanMarker:
from span_marker import SpanMarkerModel model = SpanMarkerModel.from_pretrained("jackboyla/span-marker-bert-base-fewnerd-coarse-super") entities = model.predict("Amelia Earhart flew her single engine Lockheed Vega 5B across the Atlantic to Paris.") print(entities) - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from jackboyla/span-marker-bert-base-fewnerd-coarse-super: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/jackboyla/span-marker-bert-base-fewnerd-coarse-super/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://jackboyla/span-marker-bert-base-fewnerd-coarse-super/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/jackboyla/span-marker-bert-base-fewnerd-coarse-super/resolve/main/tokenizer_config.json
1.62 kB
| { | |
| "add_prefix_space": true, | |
| "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 | |
| }, | |
| "28996": { | |
| "content": "<start>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "28997": { | |
| "content": "<end>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [], | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "[CLS]", | |
| "do_lower_case": false, | |
| "entity_max_length": 8, | |
| "mask_token": "[MASK]", | |
| "model_max_length": 256, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "unk_token": "[UNK]" | |
| } | |