Model
wdtest-a/ptest-ner
- Task:Token Classification
- Libraries:transformers
- Formats:safetensors
- License:apache-2.0
- arXiv:arXiv:1810.04805
Dedicated endpoint
Sign in to deployInference Providers
This model isn't deployed by any Inference Provider.
Spaces
Create a Space with this modelUse this model
Choose individual files there, or download a full snapshot with the Python example below.
Download with the whiteduck client
pip install https://provyd.xyz/clients/whiteduck-0.1.0-py3-none-any.whl
wd login --host 'https://api.provyd.xyz'
wd download 'wdtest-a/ptest-ner'Using the Hugging Face client instead
Install huggingface_hub with pip install huggingface_hub, then download this pinned snapshot. Set HF_TOKEN (the variable the Hugging Face client reads) to a whiteduck Read token for private repositories. Running the downloaded model requires software that supports its architecture.
Keep your whiteduck token away from calls that ignore HF_ENDPOINT, such as list_inference_endpoints: they send it to Hugging Face. See Docs.
from huggingface_hub import snapshot_download
import os
path = snapshot_download(
repo_id='wdtest-a/ptest-ner',
revision='7a1f9871e604c4bb00997b721ecfa8a7d3d60b21',
endpoint='https://api.provyd.xyz',
token=os.environ.get("HF_TOKEN") or False,
)Tag entities with transformers
import os
os.environ["HF_ENDPOINT"] = 'https://api.provyd.xyz'
from transformers import pipeline
pipe = pipeline("token-classification", model='wdtest-a/ptest-ner', aggregation_strategy="simple")
entities = pipe("Zoe lives in Munich")Call it with huggingface_hub
Works once the owner has started the model. Set WD_INFERENCE_KEY to a model API key.
import os
from huggingface_hub import InferenceClient
client = InferenceClient(model='https://api.provyd.xyz/api/wd/inference/models/wdtest-a/ptest-ner', token=os.environ["WD_INFERENCE_KEY"])
entities = client.token_classification("Zoe lives in Munich")Use with local apps
This hub is self-hosted, so each command points the tool at it. Add a whiteduck access token as HF_TOKEN (the variable the Hugging Face client reads) for private repositories.
vLLM
# vLLM downloads through huggingface_hub, which honours HF_ENDPOINT; set HF_TOKEN for a private repository.
HF_ENDPOINT='https://api.provyd.xyz' vllm serve 'wdtest-a/ptest-ner'Clone with git
git clone 'https://api.provyd.xyz/wdtest-a/ptest-ner'Clone with git over SSH
git clone 'ssh://git@wd.provyd.xyz:2222/wdtest-a/ptest-ner'Needs an SSH key on your account. Add an SSH key
Use the API
Read repository metadata at this commit. Set HF_TOKEN (the variable the Hugging Face client reads) to a whiteduck Read token. Tokens grant account-level access, not access to just this model.
curl 'https://api.provyd.xyz/api/models/wdtest-a/ptest-ner/revision/7a1f9871e604c4bb00997b721ecfa8a7d3d60b21' \
-H "Authorization: Bearer $HF_TOKEN"Inference is separate from file storage. The owner must configure and start a supported model using the inference controls. To call it you need a model API key (made on the model page), or a token of any scope (Read or stronger) from the model owner. Visitors can use the try box only when the owner allows it. A token cannot enable unavailable GPU hardware.
import dslim/distilbert-NER@main
wdtest-a committed on October 19, 2026
7a1f9871e604c4bb00997b721ecfa8a7d3d60b21Parent 42dd833Browse files
12 files changed+400 -0
README.md
Added+148 -0
README.md
| @@ -0,0 +1,148 @@ | |||
| 1 | Added: --- | ||
| 2 | Added: license: apache-2.0 | ||
| 3 | Added: base_model: distilbert-base-cased | ||
| 4 | Added: metrics: | ||
| 5 | Added: - precision | ||
| 6 | Added: - recall | ||
| 7 | Added: - f1 | ||
| 8 | Added: - accuracy | ||
| 9 | Added: model-index: | ||
| 10 | Added: - name: distilbert-NER | ||
| 11 | Added: results: [] | ||
| 12 | Added: datasets: | ||
| 13 | Added: - conll2003 | ||
| 14 | Added: language: | ||
| 15 | Added: - en | ||
| 16 | Added: pipeline_tag: token-classification | ||
| 17 | Added: --- | ||
| 18 | Added: # distilbert-NER | ||
| 19 | Added: | ||
| 20 | Added: If my open source models have been useful to you, please consider supporting me in building small, useful AI models for everyone (and help me afford med school / help out my parents financially). Thanks! | ||
| 21 | Added: | ||
| 22 | Added: <a href="https://www.buymeacoffee.com/dslim" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/arial-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a> | ||
| 23 | Added: | ||
| 24 | Added: ## Model description | ||
| 25 | Added: | ||
| 26 | Added: **distilbert-NER** is the fine-tuned version of **DistilBERT**, which is a distilled variant of the BERT model. DistilBERT has fewer parameters than BERT, making it smaller, faster, and more efficient. distilbert-NER is specifically fine-tuned for the task of **Named Entity Recognition (NER)**. | ||
| 27 | Added: | ||
| 28 | Added: This model accurately identifies the same four types of entities as its BERT counterparts: location (LOC), organizations (ORG), person (PER), and Miscellaneous (MISC). Although it is a more compact model, distilbert-NER demonstrates a robust performance in NER tasks, balancing between size, speed, and accuracy. | ||
| 29 | Added: | ||
| 30 | Added: The model was fine-tuned on the English version of the [CoNLL-2003 Named Entity Recognition](https://www.aclweb.org/anthology/W03-0419.pdf) dataset, which is widely recognized for its comprehensive and diverse range of entity types. | ||
| 31 | Added: | ||
| 32 | Added: ### Available NER models | ||
| 33 | Added: | Model Name | Description | Parameters | | ||
| 34 | Added: |-------------------|-------------|------------------| | ||
| 35 | Added: | [distilbert-NER](https://huggingface.co/dslim/distilbert-NER) | Fine-tuned DistilBERT - a smaller, faster, lighter version of BERT | 66M | | ||
| 36 | Added: | [bert-large-NER](https://huggingface.co/dslim/bert-large-NER/) | Fine-tuned bert-large-cased - larger model with slightly better performance | 340M | | ||
| 37 | Added: | [bert-base-NER](https://huggingface.co/dslim/bert-base-NER)-([uncased](https://huggingface.co/dslim/bert-base-NER-uncased)) | Fine-tuned bert-base, available in both cased and uncased versions | 110M | | ||
| 38 | Added: | ||
| 39 | Added: ## Intended uses & limitations | ||
| 40 | Added: | ||
| 41 | Added: #### How to use | ||
| 42 | Added: | ||
| 43 | Added: This model can be utilized with the Transformers *pipeline* for NER, similar to the BERT models. | ||
| 44 | Added: | ||
| 45 | Added: ```python | ||
| 46 | Added: from transformers import AutoTokenizer, AutoModelForTokenClassification | ||
| 47 | Added: from transformers import pipeline | ||
| 48 | Added: | ||
| 49 | Added: tokenizer = AutoTokenizer.from_pretrained("dslim/distilbert-NER") | ||
| 50 | Added: model = AutoModelForTokenClassification.from_pretrained("dslim/distilbert-NER") | ||
| 51 | Added: | ||
| 52 | Added: nlp = pipeline("ner", model=model, tokenizer=tokenizer) | ||
| 53 | Added: example = "My name is Wolfgang and I live in Berlin" | ||
| 54 | Added: | ||
| 55 | Added: ner_results = nlp(example) | ||
| 56 | Added: print(ner_results) | ||
| 57 | Added: ``` | ||
| 58 | Added: | ||
| 59 | Added: #### Limitations and bias | ||
| 60 | Added: | ||
| 61 | Added: The performance of distilbert-NER is linked to its training on the CoNLL-2003 dataset. Therefore, it might show limited effectiveness on text data that significantly differs from this training set. Users should be aware of potential biases inherent in the training data and the possibility of entity misclassification in complex sentences. | ||
| 62 | Added: | ||
| 63 | Added: | ||
| 64 | Added: ## Training data | ||
| 65 | Added: | ||
| 66 | Added: This model was fine-tuned on English version of the standard [CoNLL-2003 Named Entity Recognition](https://www.aclweb.org/anthology/W03-0419.pdf) dataset. | ||
| 67 | Added: | ||
| 68 | Added: The training dataset distinguishes between the beginning and continuation of an entity so that if there are back-to-back entities of the same type, the model can output where the second entity begins. As in the dataset, each token will be classified as one of the following classes: | ||
| 69 | Added: | ||
| 70 | Added: Abbreviation|Description | ||
| 71 | Added: -|- | ||
| 72 | Added: O|Outside of a named entity | ||
| 73 | Added: B-MISC |Beginning of a miscellaneous entity right after another miscellaneous entity | ||
| 74 | Added: I-MISC | Miscellaneous entity | ||
| 75 | Added: B-PER |Beginning of a person’s name right after another person’s name | ||
| 76 | Added: I-PER |Person’s name | ||
| 77 | Added: B-ORG |Beginning of an organization right after another organization | ||
| 78 | Added: I-ORG |organization | ||
| 79 | Added: B-LOC |Beginning of a location right after another location | ||
| 80 | Added: I-LOC |Location | ||
| 81 | Added: | ||
| 82 | Added: | ||
| 83 | Added: ### CoNLL-2003 English Dataset Statistics | ||
| 84 | Added: This dataset was derived from the Reuters corpus which consists of Reuters news stories. You can read more about how this dataset was created in the CoNLL-2003 paper. | ||
| 85 | Added: #### # of training examples per entity type | ||
| 86 | Added: Dataset|LOC|MISC|ORG|PER | ||
| 87 | Added: -|-|-|-|- | ||
| 88 | Added: Train|7140|3438|6321|6600 | ||
| 89 | Added: Dev|1837|922|1341|1842 | ||
| 90 | Added: Test|1668|702|1661|1617 | ||
| 91 | Added: #### # of articles/sentences/tokens per dataset | ||
| 92 | Added: Dataset |Articles |Sentences |Tokens | ||
| 93 | Added: -|-|-|- | ||
| 94 | Added: Train |946 |14,987 |203,621 | ||
| 95 | Added: Dev |216 |3,466 |51,362 | ||
| 96 | Added: Test |231 |3,684 |46,435 | ||
| 97 | Added: | ||
| 98 | Added: ## Training procedure | ||
| 99 | Added: | ||
| 100 | Added: This model was trained on a single NVIDIA V100 GPU with recommended hyperparameters from the [original BERT paper](https://arxiv.org/pdf/1810.04805) which trained & evaluated the model on CoNLL-2003 NER task. | ||
| 101 | Added: | ||
| 102 | Added: ## Eval results | ||
| 103 | Added: | Metric | Score | | ||
| 104 | Added: |------------|-------| | ||
| 105 | Added: | Loss | 0.0710| | ||
| 106 | Added: | Precision | 0.9202| | ||
| 107 | Added: | Recall | 0.9232| | ||
| 108 | Added: | F1 | 0.9217| | ||
| 109 | Added: | Accuracy | 0.9810| | ||
| 110 | Added: | ||
| 111 | Added: The training and validation losses demonstrate a decrease over epochs, signaling effective learning. The precision, recall, and F1 scores are competitive, showcasing the model's robustness in NER tasks. | ||
| 112 | Added: | ||
| 113 | Added: ### BibTeX entry and citation info | ||
| 114 | Added: | ||
| 115 | Added: For DistilBERT: | ||
| 116 | Added: | ||
| 117 | Added: ``` | ||
| 118 | Added: @article{sanh2019distilbert, | ||
| 119 | Added: title={DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter}, | ||
| 120 | Added: author={Sanh, Victor and Debut, Lysandre and Chaumond, Julien and Wolf, Thomas}, | ||
| 121 | Added: journal={arXiv preprint arXiv:1910.01108}, | ||
| 122 | Added: year={2019} | ||
| 123 | Added: } | ||
| 124 | Added: ``` | ||
| 125 | Added: | ||
| 126 | Added: For the underlying BERT model: | ||
| 127 | Added: | ||
| 128 | Added: ``` | ||
| 129 | Added: @article{DBLP:journals/corr/abs-1810-04805, | ||
| 130 | Added: author = {Jacob Devlin and | ||
| 131 | Added: Ming{-}Wei Chang and | ||
| 132 | Added: Kenton Lee and | ||
| 133 | Added: Kristina Toutanova}, | ||
| 134 | Added: title = {{BERT:} Pre-training of Deep Bidirectional Transformers for Language | ||
| 135 | Added: Understanding}, | ||
| 136 | Added: journal = {CoRR}, | ||
| 137 | Added: volume = {abs/1810.04805}, | ||
| 138 | Added: year = {2018}, | ||
| 139 | Added: url = {http://arxiv.org/abs/1810.04805}, | ||
| 140 | Added: archivePrefix = {arXiv}, | ||
| 141 | Added: eprint = {1810.04805}, | ||
| 142 | Added: timestamp = {Tue, 30 Oct 2018 20:39:56 +0100}, | ||
| 143 | Added: biburl = {https://dblp.org/rec/journals/corr/abs-1810-04805.bib}, | ||
| 144 | Added: bibsource = {db | ||
| 145 | Added: | ||
| 146 | Added: lp computer science bibliography, https://dblp.org} | ||
| 147 | Added: } | ||
| 148 | Added: ```(no newline at end of file) | ||
config.json
Added+47 -0
config.json
| @@ -0,0 +1,47 @@ | |||
| 1 | Added: { | ||
| 2 | Added: "_name_or_path": "distilbert-base-cased", | ||
| 3 | Added: "activation": "gelu", | ||
| 4 | Added: "architectures": [ | ||
| 5 | Added: "DistilBertForTokenClassification" | ||
| 6 | Added: ], | ||
| 7 | Added: "attention_dropout": 0.1, | ||
| 8 | Added: "dim": 768, | ||
| 9 | Added: "dropout": 0.1, | ||
| 10 | Added: "hidden_dim": 3072, | ||
| 11 | Added: "id2label": { | ||
| 12 | Added: "0": "O", | ||
| 13 | Added: "1": "B-PER", | ||
| 14 | Added: "2": "I-PER", | ||
| 15 | Added: "3": "B-ORG", | ||
| 16 | Added: "4": "I-ORG", | ||
| 17 | Added: "5": "B-LOC", | ||
| 18 | Added: "6": "I-LOC", | ||
| 19 | Added: "7": "B-MISC", | ||
| 20 | Added: "8": "I-MISC" | ||
| 21 | Added: }, | ||
| 22 | Added: "initializer_range": 0.02, | ||
| 23 | Added: "label2id": { | ||
| 24 | Added: "O": 0, | ||
| 25 | Added: "B-PER": 1, | ||
| 26 | Added: "I-PER": 2, | ||
| 27 | Added: "B-ORG": 3, | ||
| 28 | Added: "I-ORG": 4, | ||
| 29 | Added: "B-LOC": 5, | ||
| 30 | Added: "I-LOC": 6, | ||
| 31 | Added: "B-MISC": 7, | ||
| 32 | Added: "I-MISC": 8 | ||
| 33 | Added: }, | ||
| 34 | Added: "max_position_embeddings": 512, | ||
| 35 | Added: "model_type": "distilbert", | ||
| 36 | Added: "n_heads": 12, | ||
| 37 | Added: "n_layers": 6, | ||
| 38 | Added: "output_past": true, | ||
| 39 | Added: "pad_token_id": 0, | ||
| 40 | Added: "qa_dropout": 0.1, | ||
| 41 | Added: "seq_classif_dropout": 0.2, | ||
| 42 | Added: "sinusoidal_pos_embds": false, | ||
| 43 | Added: "tie_weights_": true, | ||
| 44 | Added: "torch_dtype": "float32", | ||
| 45 | Added: "transformers_version": "4.35.2", | ||
| 46 | Added: "vocab_size": 28996 | ||
| 47 | Added: } | ||
model.safetensors
Added
model.safetensors
Large (LFS-tracked) file content changed — 249 MB
onnx/config.json
Added+47 -0
onnx/config.json
| @@ -0,0 +1,47 @@ | |||
| 1 | Added: { | ||
| 2 | Added: "_name_or_path": "dslim/distilbert-NER", | ||
| 3 | Added: "activation": "gelu", | ||
| 4 | Added: "architectures": [ | ||
| 5 | Added: "DistilBertForTokenClassification" | ||
| 6 | Added: ], | ||
| 7 | Added: "attention_dropout": 0.1, | ||
| 8 | Added: "dim": 768, | ||
| 9 | Added: "dropout": 0.1, | ||
| 10 | Added: "hidden_dim": 3072, | ||
| 11 | Added: "id2label": { | ||
| 12 | Added: "0": "O", | ||
| 13 | Added: "1": "B-PER", | ||
| 14 | Added: "2": "I-PER", | ||
| 15 | Added: "3": "B-ORG", | ||
| 16 | Added: "4": "I-ORG", | ||
| 17 | Added: "5": "B-LOC", | ||
| 18 | Added: "6": "I-LOC", | ||
| 19 | Added: "7": "B-MISC", | ||
| 20 | Added: "8": "I-MISC" | ||
| 21 | Added: }, | ||
| 22 | Added: "initializer_range": 0.02, | ||
| 23 | Added: "label2id": { | ||
| 24 | Added: "O": 0, | ||
| 25 | Added: "B-PER": 1, | ||
| 26 | Added: "I-PER": 2, | ||
| 27 | Added: "B-ORG": 3, | ||
| 28 | Added: "I-ORG": 4, | ||
| 29 | Added: "B-LOC": 5, | ||
| 30 | Added: "I-LOC": 6, | ||
| 31 | Added: "B-MISC": 7, | ||
| 32 | Added: "I-MISC": 8 | ||
| 33 | Added: }, | ||
| 34 | Added: "max_position_embeddings": 512, | ||
| 35 | Added: "model_type": "distilbert", | ||
| 36 | Added: "n_heads": 12, | ||
| 37 | Added: "n_layers": 6, | ||
| 38 | Added: "output_past": true, | ||
| 39 | Added: "pad_token_id": 0, | ||
| 40 | Added: "qa_dropout": 0.1, | ||
| 41 | Added: "seq_classif_dropout": 0.2, | ||
| 42 | Added: "sinusoidal_pos_embds": false, | ||
| 43 | Added: "tie_weights_": true, | ||
| 44 | Added: "torch_dtype": "float32", | ||
| 45 | Added: "transformers_version": "4.36.2", | ||
| 46 | Added: "vocab_size": 28996 | ||
| 47 | Added: } | ||
onnx/special_tokens_map.json
Added+37 -0
onnx/special_tokens_map.json
| @@ -0,0 +1,37 @@ | |||
| 1 | Added: { | ||
| 2 | Added: "cls_token": { | ||
| 3 | Added: "content": "[CLS]", | ||
| 4 | Added: "lstrip": false, | ||
| 5 | Added: "normalized": false, | ||
| 6 | Added: "rstrip": false, | ||
| 7 | Added: "single_word": false | ||
| 8 | Added: }, | ||
| 9 | Added: "mask_token": { | ||
| 10 | Added: "content": "[MASK]", | ||
| 11 | Added: "lstrip": false, | ||
| 12 | Added: "normalized": false, | ||
| 13 | Added: "rstrip": false, | ||
| 14 | Added: "single_word": false | ||
| 15 | Added: }, | ||
| 16 | Added: "pad_token": { | ||
| 17 | Added: "content": "[PAD]", | ||
| 18 | Added: "lstrip": false, | ||
| 19 | Added: "normalized": false, | ||
| 20 | Added: "rstrip": false, | ||
| 21 | Added: "single_word": false | ||
| 22 | Added: }, | ||
| 23 | Added: "sep_token": { | ||
| 24 | Added: "content": "[SEP]", | ||
| 25 | Added: "lstrip": false, | ||
| 26 | Added: "normalized": false, | ||
| 27 | Added: "rstrip": false, | ||
| 28 | Added: "single_word": false | ||
| 29 | Added: }, | ||
| 30 | Added: "unk_token": { | ||
| 31 | Added: "content": "[UNK]", | ||
| 32 | Added: "lstrip": false, | ||
| 33 | Added: "normalized": false, | ||
| 34 | Added: "rstrip": false, | ||
| 35 | Added: "single_word": false | ||
| 36 | Added: } | ||
| 37 | Added: } | ||
onnx/tokenizer.json
Added
onnx/tokenizer.json
This file is too large to display.
onnx/tokenizer_config.json
Added+59 -0
onnx/tokenizer_config.json
| @@ -0,0 +1,59 @@ | |||
| 1 | Added: { | ||
| 2 | Added: "added_tokens_decoder": { | ||
| 3 | Added: "0": { | ||
| 4 | Added: "content": "[PAD]", | ||
| 5 | Added: "lstrip": false, | ||
| 6 | Added: "normalized": false, | ||
| 7 | Added: "rstrip": false, | ||
| 8 | Added: "single_word": false, | ||
| 9 | Added: "special": true | ||
| 10 | Added: }, | ||
| 11 | Added: "100": { | ||
| 12 | Added: "content": "[UNK]", | ||
| 13 | Added: "lstrip": false, | ||
| 14 | Added: "normalized": false, | ||
| 15 | Added: "rstrip": false, | ||
| 16 | Added: "single_word": false, | ||
| 17 | Added: "special": true | ||
| 18 | Added: }, | ||
| 19 | Added: "101": { | ||
| 20 | Added: "content": "[CLS]", | ||
| 21 | Added: "lstrip": false, | ||
| 22 | Added: "normalized": false, | ||
| 23 | Added: "rstrip": false, | ||
| 24 | Added: "single_word": false, | ||
| 25 | Added: "special": true | ||
| 26 | Added: }, | ||
| 27 | Added: "102": { | ||
| 28 | Added: "content": "[SEP]", | ||
| 29 | Added: "lstrip": false, | ||
| 30 | Added: "normalized": false, | ||
| 31 | Added: "rstrip": false, | ||
| 32 | Added: "single_word": false, | ||
| 33 | Added: "special": true | ||
| 34 | Added: }, | ||
| 35 | Added: "103": { | ||
| 36 | Added: "content": "[MASK]", | ||
| 37 | Added: "lstrip": false, | ||
| 38 | Added: "normalized": false, | ||
| 39 | Added: "rstrip": false, | ||
| 40 | Added: "single_word": false, | ||
| 41 | Added: "special": true | ||
| 42 | Added: } | ||
| 43 | Added: }, | ||
| 44 | Added: "clean_up_tokenization_spaces": true, | ||
| 45 | Added: "cls_token": "[CLS]", | ||
| 46 | Added: "do_lower_case": false, | ||
| 47 | Added: "mask_token": "[MASK]", | ||
| 48 | Added: "max_length": 512, | ||
| 49 | Added: "model_max_length": 512, | ||
| 50 | Added: "pad_token": "[PAD]", | ||
| 51 | Added: "sep_token": "[SEP]", | ||
| 52 | Added: "stride": 0, | ||
| 53 | Added: "strip_accents": null, | ||
| 54 | Added: "tokenize_chinese_chars": true, | ||
| 55 | Added: "tokenizer_class": "DistilBertTokenizer", | ||
| 56 | Added: "truncation_side": "right", | ||
| 57 | Added: "truncation_strategy": "longest_first", | ||
| 58 | Added: "unk_token": "[UNK]" | ||
| 59 | Added: } | ||
onnx/vocab.txt
Added
onnx/vocab.txt
This file is too large to display.
special_tokens_map.json
Added+7 -0
special_tokens_map.json
| @@ -0,0 +1,7 @@ | |||
| 1 | Added: { | ||
| 2 | Added: "cls_token": "[CLS]", | ||
| 3 | Added: "mask_token": "[MASK]", | ||
| 4 | Added: "pad_token": "[PAD]", | ||
| 5 | Added: "sep_token": "[SEP]", | ||
| 6 | Added: "unk_token": "[UNK]" | ||
| 7 | Added: } | ||
tokenizer.json
Added
tokenizer.json
This file is too large to display.
tokenizer_config.json
Added+55 -0
tokenizer_config.json
| @@ -0,0 +1,55 @@ | |||
| 1 | Added: { | ||
| 2 | Added: "added_tokens_decoder": { | ||
| 3 | Added: "0": { | ||
| 4 | Added: "content": "[PAD]", | ||
| 5 | Added: "lstrip": false, | ||
| 6 | Added: "normalized": false, | ||
| 7 | Added: "rstrip": false, | ||
| 8 | Added: "single_word": false, | ||
| 9 | Added: "special": true | ||
| 10 | Added: }, | ||
| 11 | Added: "100": { | ||
| 12 | Added: "content": "[UNK]", | ||
| 13 | Added: "lstrip": false, | ||
| 14 | Added: "normalized": false, | ||
| 15 | Added: "rstrip": false, | ||
| 16 | Added: "single_word": false, | ||
| 17 | Added: "special": true | ||
| 18 | Added: }, | ||
| 19 | Added: "101": { | ||
| 20 | Added: "content": "[CLS]", | ||
| 21 | Added: "lstrip": false, | ||
| 22 | Added: "normalized": false, | ||
| 23 | Added: "rstrip": false, | ||
| 24 | Added: "single_word": false, | ||
| 25 | Added: "special": true | ||
| 26 | Added: }, | ||
| 27 | Added: "102": { | ||
| 28 | Added: "content": "[SEP]", | ||
| 29 | Added: "lstrip": false, | ||
| 30 | Added: "normalized": false, | ||
| 31 | Added: "rstrip": false, | ||
| 32 | Added: "single_word": false, | ||
| 33 | Added: "special": true | ||
| 34 | Added: }, | ||
| 35 | Added: "103": { | ||
| 36 | Added: "content": "[MASK]", | ||
| 37 | Added: "lstrip": false, | ||
| 38 | Added: "normalized": false, | ||
| 39 | Added: "rstrip": false, | ||
| 40 | Added: "single_word": false, | ||
| 41 | Added: "special": true | ||
| 42 | Added: } | ||
| 43 | Added: }, | ||
| 44 | Added: "clean_up_tokenization_spaces": true, | ||
| 45 | Added: "cls_token": "[CLS]", | ||
| 46 | Added: "do_lower_case": false, | ||
| 47 | Added: "mask_token": "[MASK]", | ||
| 48 | Added: "model_max_length": 512, | ||
| 49 | Added: "pad_token": "[PAD]", | ||
| 50 | Added: "sep_token": "[SEP]", | ||
| 51 | Added: "strip_accents": null, | ||
| 52 | Added: "tokenize_chinese_chars": true, | ||
| 53 | Added: "tokenizer_class": "DistilBertTokenizer", | ||
| 54 | Added: "unk_token": "[UNK]" | ||
| 55 | Added: } | ||
vocab.txt
Added
vocab.txt
This file is too large to display.