Run this model with HF Jobs
Run ben-epstein/output 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/ben-epstein/output. 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/ben-epstein/output 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 ben-epstein/output with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ben-epstein/output with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ben-epstein/output")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("ben-epstein/output") model = AutoModelForTokenClassification.from_pretrained("ben-epstein/output", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
e82834b
1
Parent(s): 91447da
Domino-ai/distilbert-base-cased-wikiann
Browse filesFiles changed (8)
- README.mdAdded+92
- config.jsonAdded+43
- pytorch_model.binAdded+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+55
- training_args.binAdded+3
- vocab.txtAdded
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192---license: apache-2.0base_model: distilbert-base-casedtags:- generated_from_trainerdatasets:- wikiannmetrics:- precision- recall- f1- accuracymodel-index:- name: output results: - task: name: Token Classification type: token-classification dataset: name: wikiann type: wikiann config: en split: validation args: en metrics: - name: Precision type: precision value: 0.7962710012293402 - name: Recall type: recall value: 0.8241905839106461 - name: F1 type: f1 value: 0.8099902737251633 - name: Accuracy type: accuracy value: 0.926231747293136---
<!-- 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. -->
# output
This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on the wikiann dataset.It achieves the following results on the evaluation set:- Loss: 0.2549- Precision: 0.7963- Recall: 0.8242- F1: 0.8100- Accuracy: 0.9262
## 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: 2e-05- train_batch_size: 16- eval_batch_size: 16- seed: 101- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| 0.3137 | 1.0 | 1250 | 0.2685 | 0.7716 | 0.8027 | 0.7868 | 0.9181 || 0.2199 | 2.0 | 2500 | 0.2526 | 0.7765 | 0.8132 | 0.7944 | 0.9220 || 0.1613 | 3.0 | 3750 | 0.2549 | 0.7963 | 0.8242 | 0.8100 | 0.9262 |
### Framework versions
- Transformers 4.34.1- Pytorch 2.0.1+cu117- Datasets 2.14.6- Tokenizers 0.14.112345678910111213141516171819202122232425262728293031323334353637383940414243{ "_name_or_path": "distilbert-base-cased", "activation": "gelu", "architectures": [ "DistilBertForTokenClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "O", "1": "B-PER", "2": "I-PER", "3": "B-ORG", "4": "I-ORG", "5": "B-LOC", "6": "I-LOC" }, "initializer_range": 0.02, "label2id": { "B-LOC": 5, "B-ORG": 3, "B-PER": 1, "I-LOC": 6, "I-ORG": 4, "I-PER": 2, "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, "sinusoidal_pos_embds": false, "tie_weights_": true, "torch_dtype": "float32", "transformers_version": "4.34.1", "vocab_size": 28996}123version https://git-lfs.github.com/spec/v1oid sha256:3f16d70e0ea311126466f97447f4006fbae8c30062dcb9b7a9833778616e74c2size 2608200051234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ "added_tokens_decoder": { "0": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "100": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "101": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "102": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "103": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_lower_case": false, "mask_token": "[MASK]", "model_max_length": 512, "pad_token": "[PAD]", "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:5c491d99eca0571edd6df855189c37e0d9f2968b7f53640a17f51d9227594707size 4091README.mdAdded+92
config.jsonAdded+43
pytorch_model.binAdded+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+55
training_args.binAdded+3
vocab.txtAdded