Run this model with HF Jobs
Run alexjercan/codebert-base-buggy-token-classification 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/alexjercan/codebert-base-buggy-token-classification. 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/alexjercan/codebert-base-buggy-token-classification 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 alexjercan/codebert-base-buggy-token-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alexjercan/codebert-base-buggy-token-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="alexjercan/codebert-base-buggy-token-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("alexjercan/codebert-base-buggy-token-classification") model = AutoModelForTokenClassification.from_pretrained("alexjercan/codebert-base-buggy-token-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
66c0717
1
Parent(s): 5b18cb2
update model card README.md
Browse files17 unmodified lines181920212223242526272819 unmodified lines4849505152535417 unmodified linesThis model is a fine-tuned version of [microsoft/codebert-base](https://huggingface.co/microsoft/codebert-base) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.2948- Precision: 0.8919- Recall: 0.9876- F1: 0.9373- Accuracy: 0.8845## Model description19 unmodified lines- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- lr_scheduler_warmup_steps: 500- num_epochs: 1### Training results17 unmodified lines181920212223242526272819 unmodified lines4849505152535417 unmodified linesThis model is a fine-tuned version of [microsoft/codebert-base](https://huggingface.co/microsoft/codebert-base) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.2883- Precision: 0.9104- Recall: 0.9661- F1: 0.9374- Accuracy: 0.8880## Model description19 unmodified lines- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- lr_scheduler_warmup_steps: 500- num_epochs: 5### Training results
README.md+6-6