Instructions to use nickbull/D13 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nickbull/D13 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="nickbull/D13")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("nickbull/D13") model = AutoModelForTokenClassification.from_pretrained("nickbull/D13", device_map="auto") - Notebooks
- Google Colab
- Kaggle
matterstack/deberta-legal-ner
Browse filesFiles changed (6)
- README.mdAdded+72
- config.jsonAdded+77
- model.safetensorsAdded+3
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+23
- training_args.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172---library_name: transformerslicense: mitbase_model: microsoft/deberta-v3-largetags:- generated_from_trainermetrics:- precision- recall- f1model-index:- name: D13 results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# D13
This model is a fine-tuned version of [microsoft/deberta-v3-large](https://huggingface.co/microsoft/deberta-v3-large) on the None dataset.It achieves the following results on the evaluation set:- Loss: nan- Precision: 0- Recall: 0.0- F1: 0
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 1e-05- train_batch_size: 4- eval_batch_size: 8- seed: 42- gradient_accumulation_steps: 4- total_train_batch_size: 16- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- lr_scheduler_warmup_steps: 0.1- num_epochs: 5
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:--:|| 0.0 | 1.0 | 223 | nan | 0 | 0.0 | 0 || 0.0 | 2.0 | 446 | nan | 0 | 0.0 | 0 || 0.0 | 3.0 | 669 | nan | 0 | 0.0 | 0 || 0.0 | 4.0 | 892 | nan | 0 | 0.0 | 0 || 0.0 | 5.0 | 1115 | nan | 0 | 0.0 | 0 |
### Framework versions
- Transformers 5.1.0- Pytorch 2.11.0+cu130- Datasets 4.8.4- Tokenizers 0.22.21234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ "architectures": [ "DebertaV2ForTokenClassification" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 1, "dtype": "float16", "eos_token_id": 2, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 1024, "id2label": { "0": "O", "1": "B-PERSON", "2": "I-PERSON", "3": "B-ORG", "4": "I-ORG", "5": "B-LOC", "6": "I-LOC", "7": "B-DATETIME", "8": "I-DATETIME", "9": "B-CODE", "10": "I-CODE", "11": "B-QUANTITY", "12": "I-QUANTITY", "13": "B-DEM", "14": "I-DEM", "15": "B-MISC", "16": "I-MISC" }, "initializer_range": 0.02, "intermediate_size": 4096, "label2id": { "B-CODE": 9, "B-DATETIME": 7, "B-DEM": 13, "B-LOC": 5, "B-MISC": 15, "B-ORG": 3, "B-PERSON": 1, "B-QUANTITY": 11, "I-CODE": 10, "I-DATETIME": 8, "I-DEM": 14, "I-LOC": 6, "I-MISC": 16, "I-ORG": 4, "I-PERSON": 2, "I-QUANTITY": 12, "O": 0 }, "layer_norm_eps": 1e-07, "legacy": true, "max_position_embeddings": 512, "max_relative_positions": -1, "model_type": "deberta-v2", "norm_rel_ebd": "layer_norm", "num_attention_heads": 16, "num_hidden_layers": 24, "pad_token_id": 0, "pooler_dropout": 0, "pooler_hidden_act": "gelu", "pooler_hidden_size": 1024, "pos_att_type": [ "p2c", "c2p" ], "position_biased_input": false, "position_buckets": 256, "relative_attention": true, "share_att_key": true, "tie_word_embeddings": true, "transformers_version": "5.1.0", "type_vocab_size": 0, "use_cache": false, "vocab_size": 128100}123version https://git-lfs.github.com/spec/v1oid sha256:8bd4012cf000397408d81d5255a8013b935c9843988be3d8533df23064f5e956size 8681076821234567891011121314151617181920212223{ "add_prefix_space": true, "backend": "tokenizers", "bos_token": "[CLS]", "cls_token": "[CLS]", "do_lower_case": false, "eos_token": "[SEP]", "extra_special_tokens": [ "[PAD]", "[CLS]", "[SEP]" ], "is_local": false, "mask_token": "[MASK]", "model_max_length": 1000000000000000019884624838656, "pad_token": "[PAD]", "sep_token": "[SEP]", "split_by_punct": false, "tokenizer_class": "DebertaV2Tokenizer", "unk_id": 3, "unk_token": "[UNK]", "vocab_type": "spm"}123version https://git-lfs.github.com/spec/v1oid sha256:0e38b92ea70d4ee86763a277a31ce7aee92a61b96c69eef67ac90d989c0fb93fsize 5201README.mdAdded+72
config.jsonAdded+77
model.safetensorsAdded+3
tokenizer.jsonAdded
tokenizer_config.jsonAdded+23
training_args.binAdded+3