How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("fill-mask", model="hosung1/roberta_small_mlm_from_scratch")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("hosung1/roberta_small_mlm_from_scratch")
model = AutoModelForMaskedLM.from_pretrained("hosung1/roberta_small_mlm_from_scratch")
Quick Links

roberta_small_mlm_from_scratch

RoBERTa-small을 Codenet데이터로 pre_train한 가중치입니다.

How to use

from transformers import AutoTokenizer, AutoModelForSequenceClassification
tok = AutoTokenizer.from_pretrained("hosung1/roberta_small_mlm_from_scratch")
mdl = AutoModelForSequenceClassification.from_pretrained("hosung1/roberta_small_mlm_from_scratch")
Downloads last month
6
Safetensors
Model size
35.9M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support