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

  • Log In
  • Sign Up

google
/
electra-small-generator

Fill-Mask
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
English
electra
Model card Files Files and versions
xet
Community
6

Instructions to use google/electra-small-generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use google/electra-small-generator with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="google/electra-small-generator")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("google/electra-small-generator")
    model = AutoModelForMaskedLM.from_pretrained("google/electra-small-generator")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
electra-small-generator
245 MB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 14 commits
badaoui's picture
badaoui HF Staff
Adding Neuron-optimized model files
cc92f3a verified 10 months ago
  • neuron
    Adding Neuron-optimized model files 10 months ago
  • .gitattributes
    447 Bytes
    Adding Neuron-optimized model files 10 months ago
  • README.md
    2.32 kB
    Adding Neuron-optimized model files 10 months ago
  • config.json
    662 Bytes
    update model about 5 years ago
  • flax_model.msgpack
    54.2 MB
    xet
    update model about 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    54.2 MB
    xet
    Update pytorch_model.bin about 6 years ago
  • tf_model.h5
    70.4 MB
    xet
    Update tf_model.h5 about 6 years ago
  • tokenizer.json
    466 kB
    Update tokenizer.json over 5 years ago
  • tokenizer_config.json
    48 Bytes
    Updates incorrect tokenizer configuration file (#4) about 2 years ago
  • vocab.txt
    232 kB
    Update vocab.txt about 6 years ago