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")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("codistai/codeBERT-small-v2") model = AutoModelForMaskedLM.from_pretrained("codistai/codeBERT-small-v2") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
01695bc | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:41a140abe9ed4ff3383f53dcae38755815e921cc8ea7eca2b862924523f0cc53
size 758326739
|