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
Combine with own documents
#2
by cjinziyao - opened
Can we use this model based on our own documents instead of using Datasets lib?
I have same question
چرا
چرا
چی چرا
I have the same problem. Does someone sovle this requirement.
I have same question
Failed attempts to change data. Is there a solution?
https://github.com/kim90000/rag-with-data/blob/main/rag_token_nq_cpu%20(1).ipynb