Run this model with HF Jobs
Run facebook/rag-sequence-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/facebook/rag-sequence-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/facebook/rag-sequence-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use facebook/rag-sequence-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/rag-sequence-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, RagSequenceForGeneration tokenizer = AutoTokenizer.from_pretrained("facebook/rag-sequence-base") model = RagSequenceForGeneration.from_pretrained("facebook/rag-sequence-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update question_encoder_tokenizer/tokenizer_config.json
366e4e4 -
Update question_encoder_tokenizer/vocab.txt
4012c5b
-
Update config.json
bb7fd17 -
Update generator_tokenizer/merges.txt
b73da6b -
Update generator_tokenizer/tokenizer_config.json
d75ece6 -
Update generator_tokenizer/vocab.json
f7bcb35 -
Update question_encoder_tokenizer/special_tokens_map.json
e661331 -
Update question_encoder_tokenizer/tokenizer_config.json
c627539 -
Update question_encoder_tokenizer/vocab.txt
fcf0e3c -
Update config.json
f0a9d22 -
Update generator_tokenizer/special_tokens_map.json
304fd09 -
initial commit
43a4070