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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

AndyChiang
/
cdgp-csg-roberta-cloth

Fill-Mask
Transformers
PyTorch
English
roberta
cloze
distractor
generation
Model card Files Files and versions
xet
Community
1

Instructions to use AndyChiang/cdgp-csg-roberta-cloth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use AndyChiang/cdgp-csg-roberta-cloth with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="AndyChiang/cdgp-csg-roberta-cloth")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("AndyChiang/cdgp-csg-roberta-cloth")
    model = AutoModelForMaskedLM.from_pretrained("AndyChiang/cdgp-csg-roberta-cloth", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
cdgp-csg-roberta-cloth
1.41 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
AndyChiang's picture
AndyChiang
initial commit
11c6bcb almost 4 years ago
  • .gitattributes
    1.38 kB
    initial commit almost 4 years ago
  • README.md
    21 Bytes
    initial commit almost 4 years ago