Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

scottstraley
/
masked-lm-tpu

Fill-Mask
Transformers
google-tensorflow TensorFlow
roberta
generated_from_keras_callback
Model card Files Files and versions
xet
Community

Instructions to use scottstraley/masked-lm-tpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use scottstraley/masked-lm-tpu with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="scottstraley/masked-lm-tpu")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("scottstraley/masked-lm-tpu")
    model = AutoModelForMaskedLM.from_pretrained("scottstraley/masked-lm-tpu", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
masked-lm-tpu
501 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
scottstraley's picture
scottstraley
Training in progress epoch 8
e5dd5c1 about 3 years ago
  • .gitattributes
    1.52 kB
    initial commit about 3 years ago
  • README.md
    2.45 kB
    Training in progress epoch 8 about 3 years ago
  • config.json
    644 Bytes
    Training in progress epoch 0 about 3 years ago
  • special_tokens_map.json
    173 Bytes
    Training in progress epoch 0 about 3 years ago
  • tf_model.h5
    500 MB
    xet
    Training in progress epoch 8 about 3 years ago
  • tokenizer.json
    1.61 MB
    Training in progress epoch 0 about 3 years ago
  • tokenizer_config.json
    1.28 kB
    Training in progress epoch 0 about 3 years ago