Instructions to use omarmomen/structroberta_sx2_final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use omarmomen/structroberta_sx2_final with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="omarmomen/structroberta_sx2_final", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("omarmomen/structroberta_sx2_final", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("omarmomen/structroberta_sx2_final", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
File size: 471 Bytes
35ea748 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"epoch": 10.0,
"eval_accuracy": 0.5555555820465088,
"eval_f1": 0.5510204081632653,
"eval_loss": 0.8689104914665222,
"eval_mcc": 0.1110204081632653,
"eval_runtime": 0.2125,
"eval_samples": 99,
"eval_samples_per_second": 465.778,
"eval_steps_per_second": 61.163,
"train_loss": 0.5053622245788574,
"train_runtime": 39.4702,
"train_samples": 858,
"train_samples_per_second": 217.379,
"train_steps_per_second": 2.027
} |