Run this model with HF Jobs
Run codistai/codeBERT-small-v2 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/codistai/codeBERT-small-v2. 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/codistai/codeBERT-small-v2 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 codistai/codeBERT-small-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use codistai/codeBERT-small-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="codistai/codeBERT-small-v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("codistai/codeBERT-small-v2") model = AutoModelForMaskedLM.from_pretrained("codistai/codeBERT-small-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from codistai/codeBERT-small-v2: direct link, hf CLI and curl.
- Browser
- Download file 763 MB
-
https://huggingface.co/codistai/codeBERT-small-v2/resolve/refs%2Fpr%2F2/model.safetensors
- Command line
-
hf download hf://codistai/codeBERT-small-v2@refs/pr/2/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/codistai/codeBERT-small-v2/resolve/refs%2Fpr%2F2/model.safetensors
763 MB
- Xet hash:
- 8258be68dda00241f3d193b97a67053617c17b599c47ca3c8fc5eccd6a20b250
- Size of remote file:
- 763 MB
- SHA256:
- 5f88c23524d4799829e3a3ece2b22d4e962446a5a23e980561554ac964e9eabe
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.