Token Classification
Transformers
PyTorch
TensorBoard
Safetensors
bert
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run Kriyans/Bert-NER 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/Kriyans/Bert-NER. 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/Kriyans/Bert-NER 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 Kriyans/Bert-NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kriyans/Bert-NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Kriyans/Bert-NER")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Kriyans/Bert-NER") model = AutoModelForTokenClassification.from_pretrained("Kriyans/Bert-NER", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (6)
123455 unmodified lines1112131415161718192021222324252627282930311 unmodified line3334353637{"_name_or_path": "distilbert-base-cased","activation": "gelu","architectures": ["DistilBertForTokenClassification"5 unmodified lines"id2label": {"0": "O","1": "B-corporation","2": "B-person","3": "I-person"},"initializer_range": 0.02,"label2id": {"B-corporation": 1,"B-person": 2,"I-person": 3,"O": 0},"max_position_embeddings": 512,"model_type": "distilbert","n_heads": 12,"n_layers": 6,"output_past": true,"pad_token_id": 0,"qa_dropout": 0.1,"seq_classif_dropout": 0.2,1 unmodified line"tie_weights_": true,"torch_dtype": "float32","transformers_version": "4.34.0","vocab_size": 28996}123455 unmodified lines111213141516171819202122232425262728293031321 unmodified line3435363738{"_name_or_path": "distilbert-base-uncased","activation": "gelu","architectures": ["DistilBertForTokenClassification"5 unmodified lines"id2label": {"0": "O","1": "B-corporation","2": "I-corporation","3": "B-person","4": "I-person"},"initializer_range": 0.02,"label2id": {"B-corporation": 1,"B-person": 3,"I-corporation": 2,"I-person": 4,"O": 0},"max_position_embeddings": 512,"model_type": "distilbert","n_heads": 12,"n_layers": 6,"pad_token_id": 0,"qa_dropout": 0.1,"seq_classif_dropout": 0.2,1 unmodified line"tie_weights_": true,"torch_dtype": "float32","transformers_version": "4.34.0","vocab_size": 30522}
123version https://git-lfs.github.com/spec/v1oid sha256:1694d37114b133e801d4c0cc2e83b11093f697570d0900e76aef38ba8e488ffesize 260810789123version https://git-lfs.github.com/spec/v1oid sha256:fae1e61f78a5fe7eacf8b4d467640f19a5f78e3006eb7b346faa4c5e7a922dbesize 265501733
43 unmodified lines4445464748495043 unmodified lines"additional_special_tokens": [],"clean_up_tokenization_spaces": true,"cls_token": "[CLS]","do_lower_case": false,"mask_token": "[MASK]","model_max_length": 512,"pad_token": "[PAD]",43 unmodified lines4445464748495043 unmodified lines"additional_special_tokens": [],"clean_up_tokenization_spaces": true,"cls_token": "[CLS]","do_lower_case": true,"mask_token": "[MASK]","model_max_length": 512,"pad_token": "[PAD]",
123version https://git-lfs.github.com/spec/v1oid sha256:4252ab897ca0d19bcbd7f3547491a28e4a5afe27e9ccbc27d0f445e45c3db9basize 4027123version https://git-lfs.github.com/spec/v1oid sha256:389fc125b06cc1fbfd486aeeb57b0118edaa8949d45ab8b72baae40cc00707b7size 4027
config.json+8-7
pytorch_model.bin+2-2
tokenizer.json
tokenizer_config.json+1-1
training_args.bin+1-1
vocab.txt