Run this model with HF Jobs
Run bashyaldhiraj2067/test on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/bashyaldhiraj2067/test. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/bashyaldhiraj2067/test on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use bashyaldhiraj2067/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bashyaldhiraj2067/test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="bashyaldhiraj2067/test")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("bashyaldhiraj2067/test") model = AutoModelForTokenClassification.from_pretrained("bashyaldhiraj2067/test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (9)
- .gitattributes+1
- README.mdAdded+102
- config.jsonAdded+56
- model.safetensorsAdded+3
- runs/Mar13_14-17-20_48980022aece/events.out.tfevents.1741875441.48980022aece.1352.0Added+3
- special_tokens_map.jsonAdded+51
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+55
- training_args.binAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102---library_name: transformerslicense: mitbase_model: nielsr/lilt-xlm-roberta-basetags:- generated_from_trainermetrics:- precision- recall- f1- accuracymodel-index:- name: test 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. -->
# test
This model is a fine-tuned version of [nielsr/lilt-xlm-roberta-base](https://huggingface.co/nielsr/lilt-xlm-roberta-base) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.2603- Precision: 0.8677- Recall: 0.8977- F1: 0.8825- Accuracy: 0.9623
## 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: 5e-05- train_batch_size: 8- eval_batch_size: 8- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 30
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-------:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| No log | 0.8333 | 100 | 0.3280 | 0.6504 | 0.7664 | 0.7037 | 0.8873 || No log | 1.6667 | 200 | 0.1495 | 0.8044 | 0.8583 | 0.8305 | 0.9423 || No log | 2.5 | 300 | 0.1681 | 0.8192 | 0.8894 | 0.8529 | 0.9486 || No log | 3.3333 | 400 | 0.1133 | 0.8581 | 0.8818 | 0.8698 | 0.9578 || 0.2697 | 4.1667 | 500 | 0.1116 | 0.8504 | 0.8798 | 0.8648 | 0.9575 || 0.2697 | 5.0 | 600 | 0.1329 | 0.8163 | 0.8846 | 0.8491 | 0.9510 || 0.2697 | 5.8333 | 700 | 0.1321 | 0.8524 | 0.8784 | 0.8652 | 0.9570 || 0.2697 | 6.6667 | 800 | 0.1271 | 0.8597 | 0.8853 | 0.8723 | 0.9591 || 0.2697 | 7.5 | 900 | 0.1245 | 0.8833 | 0.8839 | 0.8836 | 0.9630 || 0.0644 | 8.3333 | 1000 | 0.1519 | 0.8831 | 0.8977 | 0.8903 | 0.9644 || 0.0644 | 9.1667 | 1100 | 0.1324 | 0.8707 | 0.8887 | 0.8796 | 0.9609 || 0.0644 | 10.0 | 1200 | 0.1315 | 0.8803 | 0.8943 | 0.8872 | 0.9617 || 0.0644 | 10.8333 | 1300 | 0.1659 | 0.8672 | 0.8846 | 0.8758 | 0.9596 || 0.0644 | 11.6667 | 1400 | 0.1696 | 0.8646 | 0.8956 | 0.8798 | 0.9599 || 0.0312 | 12.5 | 1500 | 0.2016 | 0.8590 | 0.8970 | 0.8776 | 0.9596 || 0.0312 | 13.3333 | 1600 | 0.1947 | 0.8420 | 0.8763 | 0.8588 | 0.9552 || 0.0312 | 14.1667 | 1700 | 0.1909 | 0.8622 | 0.8735 | 0.8678 | 0.9573 || 0.0312 | 15.0 | 1800 | 0.2181 | 0.8633 | 0.8770 | 0.8701 | 0.9583 || 0.0312 | 15.8333 | 1900 | 0.2022 | 0.8706 | 0.8929 | 0.8816 | 0.9625 || 0.0153 | 16.6667 | 2000 | 0.2072 | 0.8535 | 0.8901 | 0.8714 | 0.9588 || 0.0153 | 17.5 | 2100 | 0.2023 | 0.8594 | 0.8915 | 0.8752 | 0.9596 || 0.0153 | 18.3333 | 2200 | 0.2033 | 0.8786 | 0.9005 | 0.8894 | 0.9649 || 0.0153 | 19.1667 | 2300 | 0.2130 | 0.8575 | 0.8901 | 0.8735 | 0.9591 || 0.0153 | 20.0 | 2400 | 0.2264 | 0.8768 | 0.8950 | 0.8858 | 0.9628 || 0.0053 | 20.8333 | 2500 | 0.2427 | 0.8673 | 0.8901 | 0.8786 | 0.9607 || 0.0053 | 21.6667 | 2600 | 0.2551 | 0.8595 | 0.8963 | 0.8775 | 0.9604 || 0.0053 | 22.5 | 2700 | 0.2497 | 0.8619 | 0.9012 | 0.8811 | 0.9620 || 0.0053 | 23.3333 | 2800 | 0.2585 | 0.8717 | 0.8922 | 0.8818 | 0.9609 || 0.0053 | 24.1667 | 2900 | 0.2549 | 0.8646 | 0.8915 | 0.8778 | 0.9602 || 0.0025 | 25.0 | 3000 | 0.2591 | 0.8662 | 0.8991 | 0.8823 | 0.9620 || 0.0025 | 25.8333 | 3100 | 0.2484 | 0.8655 | 0.8984 | 0.8817 | 0.9617 || 0.0025 | 26.6667 | 3200 | 0.2530 | 0.8654 | 0.8977 | 0.8813 | 0.9615 || 0.0025 | 27.5 | 3300 | 0.2563 | 0.8666 | 0.8936 | 0.8799 | 0.9615 || 0.0025 | 28.3333 | 3400 | 0.2564 | 0.8707 | 0.8936 | 0.8820 | 0.9625 || 0.0014 | 29.1667 | 3500 | 0.2598 | 0.8683 | 0.8977 | 0.8828 | 0.9623 || 0.0014 | 30.0 | 3600 | 0.2603 | 0.8677 | 0.8977 | 0.8825 | 0.9623 |
### Framework versions
- Transformers 4.48.3- Pytorch 2.5.1+cu124- Datasets 3.3.2- Tokenizers 0.21.01234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "_name_or_path": "nielsr/lilt-xlm-roberta-base", "architectures": [ "LiltForTokenClassification" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "channel_shrink_ratio": 4, "classifier_dropout": null, "eos_token_id": 2, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "B-O", "1": "I-O", "2": "B-CITIZENSHIP_CERTIFICATE_NO", "3": "I-CITIZENSHIP_CERTIFICATE_NO", "4": "B-FULL_NAME", "5": "I-FULL_NAME", "6": "B-GENDER", "7": "I-GENDER", "8": "B-BIRTH_YEAR", "9": "B-BIRTH_MONTH", "10": "B-BIRTH_DAY", "11": "I-BIRTH_MONTH", "12": "B-DISTRICT", "13": "B-MUNCIPALITY", "14": "I-MUNCIPALITY", "15": "B-WARD_NO", "16": "I-WARD_NO", "17": "B-FATHERS_NAME", "18": "I-FATHERS_NAME", "19": "B-MOTHERS_NAME", "20": "I-MOTHERS_NAME", "21": "I-BIRTH_YEAR", "22": "I-DISTRICT", "23": "I-BIRTH_DAY" }, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-05, "max_2d_position_embeddings": 1024, "max_position_embeddings": 514, "model_type": "lilt", "num_attention_heads": 12, "num_hidden_layers": 12, "output_past": true, "pad_token_id": 1, "position_embedding_type": "absolute", "torch_dtype": "float32", "transformers_version": "4.48.3", "type_vocab_size": 1, "use_cache": true, "vocab_size": 250002}123version https://git-lfs.github.com/spec/v1oid sha256:63128f451f5b8de330498742c7ee2b4e8094273a880d74a3154f758827299dbbsize 1134372216123version https://git-lfs.github.com/spec/v1oid sha256:a7743b83485d41053d809e5f778ace4e198273fe525e4609bc3abc2fc2ee8ee7size 24580123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "cls_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "mask_token": { "content": "<mask>", "lstrip": true, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "sep_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:3a56def25aa40facc030ea8b0b87f3688e4b3c39eb8b45d5702b3a1300fe2a20size 1708273412345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ "added_tokens_decoder": { "0": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250001": { "content": "<mask>", "lstrip": true, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "<s>", "clean_up_tokenization_spaces": false, "cls_token": "<s>", "eos_token": "</s>", "extra_special_tokens": {}, "mask_token": "<mask>", "model_max_length": 512, "pad_token": "<pad>", "sep_token": "</s>", "tokenizer_class": "XLMRobertaTokenizer", "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:812a5639cf496ef391b149e38bbc5d2c30882ed68d9437fd7d1788e84f960b13size 5304.gitattributes+1
README.mdAdded+102
config.jsonAdded+56
model.safetensorsAdded+3
runs/Mar13_14-17-20_48980022aece/events.out.tfevents.1741875441.48980022aece.1352.0Added+3
special_tokens_map.jsonAdded+51
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+55
training_args.binAdded+3