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

Sonny
/
dummy-model2

Fill-Mask
Transformers
camembert
Model card Files Files and versions
xet
Community

Instructions to use Sonny/dummy-model2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Sonny/dummy-model2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="Sonny/dummy-model2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("Sonny/dummy-model2")
    model = AutoModelForMaskedLM.from_pretrained("Sonny/dummy-model2")
  • Notebooks
  • Google Colab
  • Kaggle
dummy-model2
1.95 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Sonny's picture
Sonny
Upload config.json
ed9792e over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • READMDd
    23 Bytes
    create readme file over 4 years ago
  • README
    23 Bytes
    create README over 4 years ago
  • README.md
    23 Bytes
    create over 4 years ago
  • config.json
    701 Bytes
    Upload config.json over 4 years ago