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
|
@@ -4,6 +4,7 @@ language:
|
|
| 4 |
- code
|
| 5 |
datasets:
|
| 6 |
- code_search_net
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
This is an *unofficial* reupload of [microsoft/codebert-base-mlm](https://huggingface.co/microsoft/codebert-base-mlm) in the `SafeTensors` format using `transformers` `4.40.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.
|
|
|
|
| 4 |
- code
|
| 5 |
datasets:
|
| 6 |
- code_search_net
|
| 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.40.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.
|