Text Classification
Transformers
PyTorch
JAX
roberta
code_x_glue_cc_defect_detection
code
security
vulnerability-detection
codebert
apache-2.0
Run this model with HF Jobs
Run mangsense/codebert_java 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/mangsense/codebert_java. 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/mangsense/codebert_java 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 mangsense/codebert_java with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mangsense/codebert_java with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mangsense/codebert_java")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mangsense/codebert_java") model = AutoModelForSequenceClassification.from_pretrained("mangsense/codebert_java", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download flax_model.msgpack from mangsense/codebert_java: direct link, hf CLI and curl.
- Browser
- Download file 499 MB
-
https://huggingface.co/mangsense/codebert_java/resolve/main/flax_model.msgpack
- Command line
-
hf download hf://mangsense/codebert_java/flax_model.msgpack
-
curl -L -o flax_model.msgpack https://huggingface.co/mangsense/codebert_java/resolve/main/flax_model.msgpack
499 MB
- Xet hash:
- ec88d83e3240f0ea946f36831191bf423adb588f2d99fa7c9f8f4af9c2f442da
- Size of remote file:
- 499 MB
- SHA256:
- 4b209dcc0f442c10881ed1daed99a62a7ecfaa29812fcd7e09bea32e6a85c044
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.