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

  • Log In
  • Sign Up

facebook
/
dragon-plus-query-encoder

Feature Extraction
Transformers
PyTorch
bert
fill-mask
Model card Files Files and versions
xet
Community
2

Instructions to use facebook/dragon-plus-query-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use facebook/dragon-plus-query-encoder with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="facebook/dragon-plus-query-encoder")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("facebook/dragon-plus-query-encoder")
    model = AutoModelForMaskedLM.from_pretrained("facebook/dragon-plus-query-encoder")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
dragon-plus-query-encoder
438 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
ccsasuke's picture
ccsasuke
Update README.md
2d3808c about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    2.62 kB
    Update README.md about 3 years ago
  • config.json
    570 Bytes
    Initial commit about 3 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
    Initial commit about 3 years ago
  • special_tokens_map.json
    112 Bytes
    Initial commit about 3 years ago
  • tokenizer_config.json
    28 Bytes
    Initial commit about 3 years ago
  • vocab.txt
    232 kB
    Initial commit about 3 years ago