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

  • Log In
  • Sign Up

leonweber
/
electra_small

Feature Extraction
Transformers
PyTorch
electra
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use leonweber/electra_small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="leonweber/electra_small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("leonweber/electra_small")
    model = AutoModel.from_pretrained("leonweber/electra_small")
  • Notebooks
  • Google Colab
  • Kaggle
electra_small
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
leonweber's picture
leonweber
add tokenizer
1875006 almost 4 years ago
  • .gitattributes
    1.17 kB
    initial commit almost 4 years ago
  • config.json
    788 Bytes
    add model almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    54 MB
    xet
    add model almost 4 years ago
  • special_tokens_map.json
    112 Bytes
    add tokenizer almost 4 years ago
  • tokenizer.json
    711 kB
    add tokenizer almost 4 years ago
  • tokenizer_config.json
    341 Bytes
    add tokenizer almost 4 years ago
  • vocab.txt
    232 kB
    add tokenizer almost 4 years ago