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

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
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
alexlimh's picture
alexlimh
Create README.md
3b692ab almost 5 years ago
  • .gitattributes
    1.18 kB
    initial commit almost 5 years ago
  • README.md
    270 Bytes
    Create README.md almost 5 years ago