Instructions to use jaffolte/rag_sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jaffolte/rag_sft with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, RagSequenceForGeneration tokenizer = AutoTokenizer.from_pretrained("jaffolte/rag_sft") model = RagSequenceForGeneration.from_pretrained("jaffolte/rag_sft", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload RagSequenceForGeneration
Verified signature0489f8f -
Add generator tokenizer
Verified signature92546fb -
Add question encoder tokenizer
Verified signature9887610 -
Upload RagSequenceForGeneration
Verified signature4ef4790 -
initial commit
Verified signaturec292294