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

  • Log In
  • Sign Up

Capreolus
/
electra-base-msmarco

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
electra
Model card Files Files and versions
xet
Community
1

Instructions to use Capreolus/electra-base-msmarco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Capreolus/electra-base-msmarco with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Capreolus/electra-base-msmarco")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Capreolus/electra-base-msmarco")
    model = AutoModelForSequenceClassification.from_pretrained("Capreolus/electra-base-msmarco")
  • Notebooks
  • Google Colab
  • Kaggle
electra-base-msmarco
876 MB
Ctrl+K
Ctrl+K
History: 8 commits
system's picture
system HF Staff
Update tokenizer_config.json
a973d29 over 5 years ago
  • .gitattributes
    345 Bytes
    initial commit over 5 years ago
  • README.md
    935 Bytes
    Update README.md over 5 years ago
  • config.json
    596 Bytes
    Update config.json over 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    438 MB
    xet
    Update pytorch_model.bin over 5 years ago
  • special_tokens_map.json
    112 Bytes
    Update special_tokens_map.json over 5 years ago
  • tf_model.h5
    438 MB
    xet
    Update tf_model.h5 over 5 years ago
  • tokenizer_config.json
    48 Bytes
    Update tokenizer_config.json over 5 years ago
  • vocab.txt
    232 kB
    Update vocab.txt over 5 years ago