Salesforce/wikitext
Viewer • Updated • 3.71M • 1.33M • 689
How to use nomsgadded/mlm with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="nomsgadded/mlm") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("nomsgadded/mlm")
model = AutoModelForMaskedLM.from_pretrained("nomsgadded/mlm")# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("nomsgadded/mlm")
model = AutoModelForMaskedLM.from_pretrained("nomsgadded/mlm")This model is a fine-tuned version of roberta-base on the wikitext wikitext-2-raw-v1 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 1.3758 | 1.0 | 150 | 1.2826 | 0.7277 |
| 1.3763 | 2.0 | 300 | 1.2747 | 0.7272 |
| 1.3558 | 3.0 | 450 | 1.2607 | 0.7278 |
Base model
FacebookAI/roberta-base
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="nomsgadded/mlm")