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

junnyu
/
electra_small_generator

Fill-Mask
Transformers
PyTorch
English
electra
masked-lm
Model card Files Files and versions
xet
Community
1

Instructions to use junnyu/electra_small_generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use junnyu/electra_small_generator with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="junnyu/electra_small_generator")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("junnyu/electra_small_generator")
    model = AutoModelForMaskedLM.from_pretrained("junnyu/electra_small_generator")
  • Notebooks
  • Google Colab
  • Kaggle
electra_small_generator
19.3 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
elishowk's picture
elishowk
Automatic correction of README.md metadata for keys. Contact website@huggingface.co for any question
b3e6c62 over 4 years ago
  • .gitattributes
    690 Bytes
    initial commit about 5 years ago
  • README.md
    984 Bytes
    Automatic correction of README.md metadata for keys. Contact website@huggingface.co for any question over 4 years ago
  • config.json
    541 Bytes
    Update config.json about 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    18.6 MB
    xet
    update about 5 years ago
  • tokenizer.json
    466 kB
    update about 5 years ago
  • tokenizer_config.json
    29 Bytes
    update about 5 years ago
  • vocab.txt
    232 kB
    update about 5 years ago