SAIL: Search-Augmented Instruction Learning
Paper • 2305.15225 • Published • 2
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("luohy/SAIL-7b")
model = AutoModelForCausalLM.from_pretrained("luohy/SAIL-7b")The language model is fine-tuned to use retrieval model and search engines.
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="luohy/SAIL-7b")