Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

FacebookAI
/
roberta-base

Fill-Mask
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
Rust
Safetensors
English
roberta
exbert
Model card Files Files and versions
xet
Community
13

Instructions to use FacebookAI/roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use FacebookAI/roberta-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="FacebookAI/roberta-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("FacebookAI/roberta-base")
    model = AutoModelForMaskedLM.from_pretrained("FacebookAI/roberta-base")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Add link to Neuron-optimized version

#13 opened 9 months ago by
badaoui

[AUTOMATED] Model Memory Requirements

#10 opened over 2 years ago by
model-sizer-bot

I can't download or use Roberta-base?

#9 opened almost 3 years ago by
gg7878

Shouldn't model.tensors have the LM head like pytorch_model.bin does?

1
#8 opened almost 3 years ago by
DrRayStorm

Add tokenizer_config.json and special_tokens_map.json

#7 opened about 3 years ago by
Xenova

Request: DOI

#5 opened about 3 years ago by
emilylearning

Replicating RoBERTa-base GLUE results

👍 2
2
#1 opened almost 4 years ago by
marklee
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs