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

  • Log In
  • Sign Up

facebook
/
rag-token-nq

Transformers
PyTorch
google-tensorflow TensorFlow
English
rag
Model card Files Files and versions
xet
Community
7

Instructions to use facebook/rag-token-nq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use facebook/rag-token-nq with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, RagTokenForGeneration
    
    tokenizer = AutoTokenizer.from_pretrained("facebook/rag-token-nq")
    model = RagTokenForGeneration.from_pretrained("facebook/rag-token-nq")
  • Notebooks
  • Google Colab
  • Kaggle
rag-token-nq
4.13 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 16 commits
lysandre's picture
lysandre HF Staff
nikess42's picture
nikess42
Update README.md (#4)
c269b10 over 2 years ago
  • generator_tokenizer
    Update generator_tokenizer/tokenizer_config.json over 5 years ago
  • question_encoder_tokenizer
    Update question_encoder_tokenizer/special_tokens_map.json over 5 years ago
  • .gitattributes
    345 Bytes
    initial commit over 5 years ago
  • README.md
    1.72 kB
    Update README.md (#4) over 2 years ago
  • config.json
    4.6 kB
    Update config.json over 5 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?

    2.06 GB
    xet
    Update pytorch_model.bin over 5 years ago
  • tf_model.h5
    2.06 GB
    xet
    upload weights about 5 years ago