Token Classification
PEFT
Safetensors
Transformers
Portuguese
lora
ner
portuguese
address-parsing
brazilian-portuguese
Instructions to use felipergcpqd/debertinha-500k-address-ner-pt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use felipergcpqd/debertinha-500k-address-ner-pt with PEFT:
from peft import PeftModel from transformers import AutoModelForTokenClassification base_model = AutoModelForTokenClassification.from_pretrained("sagui-nlp/debertinha-ptbr-xsmall-lenerbr") model = PeftModel.from_pretrained(base_model, "felipergcpqd/debertinha-500k-address-ner-pt") - Transformers
How to use felipergcpqd/debertinha-500k-address-ner-pt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="felipergcpqd/debertinha-500k-address-ner-pt")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("felipergcpqd/debertinha-500k-address-ner-pt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "added_tokens_decoder": { | |
| "50265": { | |
| "content": "[MASK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "50266": { | |
| "content": "[SEP]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "50267": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "50268": { | |
| "content": "[UNK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "50269": { | |
| "content": "[CLS]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "bos_token": "[CLS]", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "[CLS]", | |
| "do_lower_case": false, | |
| "eos_token": "[SEP]", | |
| "extra_special_tokens": {}, | |
| "mask_token": "[MASK]", | |
| "max_length": 512, | |
| "model_max_length": 128, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "[PAD]", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "sep_token": "[SEP]", | |
| "sp_model_kwargs": {}, | |
| "split_by_punct": false, | |
| "tokenizer_class": "DebertaV2TokenizerFast", | |
| "unk_token": "[UNK]" | |
| } | |