Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

patrickvonplaten
/
german-roberta-base

Fill-Mask
Transformers
roberta
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use patrickvonplaten/german-roberta-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="patrickvonplaten/german-roberta-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("patrickvonplaten/german-roberta-base")
    model = AutoModelForMaskedLM.from_pretrained("patrickvonplaten/german-roberta-base")
  • Notebooks
  • Google Colab
  • Kaggle
german-roberta-base
1.48 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
patrickvonplaten's picture
patrickvonplaten
allow flax
3eaeef5 about 5 years ago
  • .gitattributes
    736 Bytes
    allow flax about 5 years ago
  • config.json
    618 Bytes
    correct about 5 years ago
  • run_mlm.py
    21.3 kB
    up about 5 years ago
  • run_mlm.sh
    671 Bytes
    correct about 5 years ago
  • tokenizer.json
    1.46 MB
    add config about 5 years ago
  • train_tokenizer.py
    764 Bytes
    add tokenizer about 5 years ago