Instructions to use claudios/codebert-base-mlm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use claudios/codebert-base-mlm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="claudios/codebert-base-mlm")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("claudios/codebert-base-mlm") model = AutoModelForMaskedLM.from_pretrained("claudios/codebert-base-mlm") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,7 +7,7 @@ datasets:
|
|
| 7 |
arxiv: 2002.08155
|
| 8 |
---
|
| 9 |
|
| 10 |
-
This is an *unofficial* reupload of [microsoft/codebert-base-mlm](https://huggingface.co/microsoft/codebert-base-mlm) in the `SafeTensors` format using `transformers` `4.
|
| 11 |
|
| 12 |
Original model card below:
|
| 13 |
|
|
|
|
| 7 |
arxiv: 2002.08155
|
| 8 |
---
|
| 9 |
|
| 10 |
+
This is an *unofficial* reupload of [microsoft/codebert-base-mlm](https://huggingface.co/microsoft/codebert-base-mlm) in the `SafeTensors` format using `transformers` `4.41.1`. The goal of this reupload is to prevent older models that are still relevant baselines from becoming stale as a result of changes in HuggingFace. Additionally, I may include minor corrections, such as model max length configuration.
|
| 11 |
|
| 12 |
Original model card below:
|
| 13 |
|