Run this model with HF Jobs
Run Kimty/Ner_custom_data 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/Kimty/Ner_custom_data. 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/Kimty/Ner_custom_data 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 Kimty/Ner_custom_data with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kimty/Ner_custom_data with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Kimty/Ner_custom_data")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Kimty/Ner_custom_data") model = AutoModelForTokenClassification.from_pretrained("Kimty/Ner_custom_data", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (9)
- README.mdAdded+59
- added_tokens.jsonAdded+3
- bpe.codesAdded
- config.jsonAdded+51
- model.safetensorsAdded+3
- special_tokens_map.jsonAdded+9
- tokenizer_config.jsonAdded+54
- training_args.binAdded+3
- vocab.txtAdded
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859---library_name: transformerslicense: mitbase_model: vinai/phobert-basetags:- generated_from_trainermetrics:- accuracymodel-index:- name: results 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. -->
# results
This model is a fine-tuned version of [vinai/phobert-base](https://huggingface.co/vinai/phobert-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.4404- Accuracy: Ellipsis
## 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 adamw_torch 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: 500- num_epochs: 30
### Training results
### Framework versions
- Transformers 4.46.2- Pytorch 2.5.1+cu121- Datasets 3.1.0- Tokenizers 0.20.3123{ "<mask>": 64000}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "_name_or_path": "vinai/phobert-base", "architectures": [ "RobertaForTokenClassification" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "classifier_dropout": null, "eos_token_id": 2, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "O", "1": "B-OFFICE", "2": "I-OFFICE", "3": "B-MATERIAL", "4": "I-MATERIAL", "5": "B-MANAGEMENT", "6": "I-MANAGEMENT", "7": "B-PURCHASE", "8": "I-PURCHASE" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "B-MANAGEMENT": 5, "B-MATERIAL": 3, "B-OFFICE": 1, "B-PURCHASE": 7, "I-MANAGEMENT": 6, "I-MATERIAL": 4, "I-OFFICE": 2, "I-PURCHASE": 8, "O": 0 }, "layer_norm_eps": 1e-05, "max_position_embeddings": 258, "model_type": "roberta", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 1, "position_embedding_type": "absolute", "tokenizer_class": "PhobertTokenizer", "torch_dtype": "float32", "transformers_version": "4.46.2", "type_vocab_size": 1, "use_cache": true, "vocab_size": 64001}123version https://git-lfs.github.com/spec/v1oid sha256:eea308735e64f2ce191addc3771506a9119b257b6ea3516cd2bf582a1d21dbaasize 537682332123456789{ "bos_token": "<s>", "cls_token": "<s>", "eos_token": "</s>", "mask_token": "<mask>", "pad_token": "<pad>", "sep_token": "</s>", "unk_token": "<unk>"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ "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 }, "64000": { "content": "<mask>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "<s>", "clean_up_tokenization_spaces": false, "cls_token": "<s>", "eos_token": "</s>", "mask_token": "<mask>", "model_max_length": 1000000000000000019884624838656, "pad_token": "<pad>", "sep_token": "</s>", "tokenizer_class": "PhobertTokenizer", "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:1523e2806e210338e87d2ffbbe1d42d47d637430ae84cdccca80feb2cc54d4c2size 5240README.mdAdded+59
added_tokens.jsonAdded+3
bpe.codesAdded
config.jsonAdded+51
model.safetensorsAdded+3
special_tokens_map.jsonAdded+9
tokenizer_config.jsonAdded+54
training_args.binAdded+3
vocab.txtAdded