Instructions to use antolin/distilroberta-base-csn-python-bimodal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use antolin/distilroberta-base-csn-python-bimodal with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="antolin/distilroberta-base-csn-python-bimodal")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("antolin/distilroberta-base-csn-python-bimodal") model = AutoModelForMaskedLM.from_pretrained("antolin/distilroberta-base-csn-python-bimodal") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
---
|
| 2 |
datasets:
|
| 3 |
- code_search_net
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
# Model Architecture
|
|
|
|
| 1 |
---
|
| 2 |
datasets:
|
| 3 |
- code_search_net
|
| 4 |
+
widget:
|
| 5 |
+
- text: "def <mask> ( a, b ) : if a > b : return a else return b</s>return the maximum value"
|
| 6 |
+
- text: "def <mask> ( a, b ) : if a > b : return a else return b"
|
| 7 |
---
|
| 8 |
|
| 9 |
# Model Architecture
|