Instructions to use Cabooose/token_classification_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cabooose/token_classification_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Cabooose/token_classification_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Cabooose/token_classification_model") model = AutoModelForTokenClassification.from_pretrained("Cabooose/token_classification_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (10)
- config.json+18-15
- pytorch_model.bin+2-2
- runs/Oct03_19-10-32_e17b35ded69f/events.out.tfevents.1696360234.e17b35ded69f.298.4+2-2
- runs/Oct03_19-10-32_e17b35ded69f/events.out.tfevents.1696361856.e17b35ded69f.298.6Added+3
- runs/Oct03_20-05-04_e17b35ded69f/1696363509.574055/events.out.tfevents.1696363509.e17b35ded69f.18338.1Added+3
- runs/Oct03_20-05-04_e17b35ded69f/events.out.tfevents.1696363509.e17b35ded69f.18338.0Added+3
- tokenizer.json
- tokenizer_config.json+5-2
- training_args.bin+1-1
- vocab.txt
1232345567891078910111213141516171819202122232122232425262728252627282930313233313435{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "_name_or_path": "dslim/bert-base-NER", "_num_labels": 9, "architectures": [ "DistilBertForTokenClassification" "BertForTokenClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "NotAnswer", "1": "Answer" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "Answer": 1, "NotAnswer": 0 }, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 6, "model_type": "bert", "num_attention_heads": 12, "num_hidden_layers": 12, "output_past": true, "pad_token_id": 0, "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "position_embedding_type": "absolute", "torch_dtype": "float32", "transformers_version": "4.28.0", "type_vocab_size": 2, "use_cache": true, "vocab_size": 30522 "vocab_size": 28996}12323version https://git-lfs.github.com/spec/v1oid sha256:bcbdf53474864b241bba0075ec14a6c7ca1c80ee99f71f9e4d388df26be7303bsize 265492517oid sha256:bba8fa8c2e65b251c8edb9190667fc1680916b6fafe8656fa7bb5a1459e1cd13size 43095703712323version https://git-lfs.github.com/spec/v1oid sha256:5ac21f7f828ce1b9a35bb2aae27029bb99ece0a6c958e1a8556c8182db159997size 5122oid sha256:c22c0e0ee1668aa150f97ff1fc9b6106250495324e6e49c1847e1d16a626c8d9size 5476123version https://git-lfs.github.com/spec/v1oid sha256:891d29b7582aa578dc04f23317ad38d8544da5868f60fdc7de46d326a7c11ccesize 560123version https://git-lfs.github.com/spec/v1oid sha256:ac1260ed4d03c77ac241a59696fdac3759b0a0ff6569124e3155b33c06dadf9csize 5900123version https://git-lfs.github.com/spec/v1oid sha256:f8a779d7cc849a000a06aac44601c1589179b85ba176c3b824395a04fb7a4683size 462612344567891011121311141516{ "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_lower_case": true, "do_basic_tokenize": true, "do_lower_case": false, "mask_token": "[MASK]", "max_len": 512, "model_max_length": 512, "never_split": null, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "DistilBertTokenizer", "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}1223version https://git-lfs.github.com/spec/v1oid sha256:0db9d2ea611a5796448c540b0ce9283f647a038d120b2d64532f260c789e7a8aoid sha256:739be59b0b9caed55b5b6475526432d21aa108a86013a80164c97263f2202e2esize 3643config.json+18-15
pytorch_model.bin+2-2
runs/Oct03_19-10-32_e17b35ded69f/events.out.tfevents.1696360234.e17b35ded69f.298.4+2-2
runs/Oct03_19-10-32_e17b35ded69f/events.out.tfevents.1696361856.e17b35ded69f.298.6Added+3
runs/Oct03_20-05-04_e17b35ded69f/1696363509.574055/events.out.tfevents.1696363509.e17b35ded69f.18338.1Added+3
runs/Oct03_20-05-04_e17b35ded69f/events.out.tfevents.1696363509.e17b35ded69f.18338.0Added+3
tokenizer.json
tokenizer_config.json+5-2
training_args.bin+1-1
vocab.txt