Token Classification
Transformers
PyTorch
TensorBoard
albert
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run jonastokoliu/token_classification_finetune 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/jonastokoliu/token_classification_finetune. 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/jonastokoliu/token_classification_finetune 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 jonastokoliu/token_classification_finetune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jonastokoliu/token_classification_finetune with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="jonastokoliu/token_classification_finetune")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("jonastokoliu/token_classification_finetune") model = AutoModelForTokenClassification.from_pretrained("jonastokoliu/token_classification_finetune", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
8fbe079
1
Parent(s): 7ec5025
Training in progress, epoch 1
Browse filesFiles changed (6)
123456789101112131410 unmodified lines252627282930319 unmodified lines41424344454647484950515253545556{"_name_or_path": "bert-base-uncased","architectures": ["BertForTokenClassification"],"attention_probs_dropout_prob": 0.1,"classifier_dropout": null,"gradient_checkpointing": false,"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 768,"id2label": {"0": "O","1": "B-corporation",10 unmodified lines"12": "I-product"},"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"B-corporation": 1,"B-creative-work": 3,9 unmodified lines"I-product": 12,"O": 0},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,"model_type": "bert","num_attention_heads": 12,"num_hidden_layers": 12,"pad_token_id": 0,"position_embedding_type": "absolute","torch_dtype": "float32","transformers_version": "4.29.2","type_vocab_size": 2,"use_cache": true,"vocab_size": 30522}1234567891011121310 unmodified lines2425262728299 unmodified lines39404142434445464748495051525354{"_name_or_path": "distilbert-base-uncased","activation": "gelu","architectures": ["DistilBertForTokenClassification"],"attention_dropout": 0.1,"dim": 768,"dropout": 0.1,"hidden_dim": 3072,"id2label": {"0": "O","1": "B-corporation",10 unmodified lines"12": "I-product"},"initializer_range": 0.02,"label2id": {"B-corporation": 1,"B-creative-work": 3,9 unmodified lines"I-product": 12,"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,"sinusoidal_pos_embds": false,"tie_weights_": true,"torch_dtype": "float32","transformers_version": "4.29.2","vocab_size": 30522}
123version https://git-lfs.github.com/spec/v1oid sha256:4df47b50512f48dcfd69fa5c7d36dc0b042a5d3c17b503206edadc7e2c0cffddsize 435678701123version https://git-lfs.github.com/spec/v1oid sha256:0843f4e41fd2693a1b0554fcc54aac4afc9ec60d5570028f9bf7564b0608f024size 265526309
123version https://git-lfs.github.com/spec/v1oid sha256:9ca34c2338b02e9c4e18f20577ef45d74586fdd7674881881bd7b18448bb1aadsize 5951123version https://git-lfs.github.com/spec/v1oid sha256:4517e329c476f82b38e3626044788956e3ee0a8f0f6ec240922bc5c166ee6e3esize 50117 unmodified lines89101112137 unmodified lines"sep_token": "[SEP]","strip_accents": null,"tokenize_chinese_chars": true,"tokenizer_class": "BertTokenizer","unk_token": "[UNK]"}7 unmodified lines89101112137 unmodified lines"sep_token": "[SEP]","strip_accents": null,"tokenize_chinese_chars": true,"tokenizer_class": "DistilBertTokenizer","unk_token": "[UNK]"}
123version https://git-lfs.github.com/spec/v1oid sha256:3feaecc6914d3cb4fc6b82778cefd9f383f29422dd2a3ce4bbba5b46e8025681size 3963123version https://git-lfs.github.com/spec/v1oid sha256:ff48a60505f6d5f34038690f4e2e6a4ffd82bb34537976641fda3ae52e30c198size 3963
config.json+14-16
pytorch_model.bin+2-2
runs/May26_23-06-27_test3/1685113591.2408059/events.out.tfevents.1685113591.test3.616.3Added+3
runs/May26_23-06-27_test3/events.out.tfevents.1685113591.test3.616.2Added+3
tokenizer_config.json+1-1
training_args.bin+1-1