Instructions to use nkoh01/MSRoberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nkoh01/MSRoberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="nkoh01/MSRoberta")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("nkoh01/MSRoberta") model = AutoModelForMaskedLM.from_pretrained("nkoh01/MSRoberta") - Notebooks
- Google Colab
- Kaggle
namhkoh commited on
Commit ·
9802a55
1
Parent(s): 2368075
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"RobertaForMaskedLM"
|
| 4 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "./pytorch_model.bin",
|
| 3 |
"architectures": [
|
| 4 |
"RobertaForMaskedLM"
|
| 5 |
],
|