Text Classification
Transformers
TensorBoard
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run mcanoglu/microsoft-codebert-base-finetuned-defect-detection 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/mcanoglu/microsoft-codebert-base-finetuned-defect-detection. 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/mcanoglu/microsoft-codebert-base-finetuned-defect-detection 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 mcanoglu/microsoft-codebert-base-finetuned-defect-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mcanoglu/microsoft-codebert-base-finetuned-defect-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mcanoglu/microsoft-codebert-base-finetuned-defect-detection")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mcanoglu/microsoft-codebert-base-finetuned-defect-detection") model = AutoModelForSequenceClassification.from_pretrained("mcanoglu/microsoft-codebert-base-finetuned-defect-detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse filesFiles changed (4)
22 unmodified lines2324252627282922 unmodified lines"position_embedding_type": "absolute","problem_type": "single_label_classification","torch_dtype": "float32","transformers_version": "4.36.2","type_vocab_size": 1,"use_cache": true,"vocab_size": 5026522 unmodified lines2324252627282922 unmodified lines"position_embedding_type": "absolute","problem_type": "single_label_classification","torch_dtype": "float32","transformers_version": "4.37.2","type_vocab_size": 1,"use_cache": true,"vocab_size": 50265
123version https://git-lfs.github.com/spec/v1oid sha256:a45dcae5779eaea9134e1dd721dccf12944672194eed704494ad4c73385e2722size 498612824123version https://git-lfs.github.com/spec/v1oid sha256:f57df9a5aabbb2a15b7f226c0c95adc1965af247e8b396bf28891b6c79a881a1size 498612824
123version https://git-lfs.github.com/spec/v1oid sha256:d3ae994b7b253badd9db2f35045efd15b78793e9deb6349d723701fa998d8e5esize 5158123version https://git-lfs.github.com/spec/v1oid sha256:afc3f3bc6f485a1a9704c2095aa5d2bac98c168be693ad6a13cf4953754106b2size 4792123version https://git-lfs.github.com/spec/v1oid sha256:4096aa80612149fff15317dcfb6e9759bfd4e9fd7e7478feb29aff4d71457ca0size 4792
config.json+1-1
model.safetensors+1-1
runs/Feb19_15-56-43_nvlk203gi1/events.out.tfevents.1708358204.nvlk203gi1.32.0Added+3
training_args.bin+1-1