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

  • Log In
  • Sign Up

castorini
/
bpr-nq-ctx-encoder

Transformers
PyTorch
dpr
Model card Files Files and versions
xet
Community
1

Instructions to use castorini/bpr-nq-ctx-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use castorini/bpr-nq-ctx-encoder with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, DPRContextEncoder
    
    tokenizer = AutoTokenizer.from_pretrained("castorini/bpr-nq-ctx-encoder")
    model = DPRContextEncoder.from_pretrained("castorini/bpr-nq-ctx-encoder")
  • Notebooks
  • Google Colab
  • Kaggle
bpr-nq-ctx-encoder
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
alexlimh's picture
alexlimh
Upload pytorch_model.bin with git-lfs
c905ce7 over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    270 Bytes
    Create README.md over 4 years ago
  • config.json
    491 Bytes
    Upload config.json over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    438 MB
    xet
    Upload pytorch_model.bin with git-lfs over 4 years ago
  • tokenizer.json
    466 kB
    Upload tokenizer.json over 4 years ago
  • tokenizer_config.json
    28 Bytes
    Upload tokenizer_config.json over 4 years ago
  • vocab.txt
    232 kB
    Upload vocab.txt over 4 years ago