Instructions to use dbernsohn/roberta-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dbernsohn/roberta-python with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="dbernsohn/roberta-python")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("dbernsohn/roberta-python") model = AutoModelForMaskedLM.from_pretrained("dbernsohn/roberta-python") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -21,7 +21,7 @@ fill_mask = pipeline(
|
|
| 21 |
)
|
| 22 |
```
|
| 23 |
|
| 24 |
-
You can then use this model to fill masked words in a
|
| 25 |
|
| 26 |
```python
|
| 27 |
code = """
|
|
|
|
| 21 |
)
|
| 22 |
```
|
| 23 |
|
| 24 |
+
You can then use this model to fill masked words in a Python code.
|
| 25 |
|
| 26 |
```python
|
| 27 |
code = """
|