Instructions to use huggingface/CodeBERTa-small-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingface/CodeBERTa-small-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="huggingface/CodeBERTa-small-v1")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("huggingface/CodeBERTa-small-v1") model = AutoModelForMaskedLM.from_pretrained("huggingface/CodeBERTa-small-v1") - Inference
- Notebooks
- Google Colab
- Kaggle
Update pytorch_model.bin
Browse files- pytorch_model.bin +3 -0
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3835de5b46b0780d340f5ab2cb63c011d8dc94ccee35667c472bba78dcf8d923
|
| 3 |
+
size 336407488
|