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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 128 Bytes
9ef242b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7aee69ea529f0da85c83ed5d2e52166c4a46aa38933eddc0dd750dfa1eda4b5b
size 918
|