How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="RUCAIBox/rear-llama-7b-hf", trust_remote_code=True)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("RUCAIBox/rear-llama-7b-hf", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("RUCAIBox/rear-llama-7b-hf", trust_remote_code=True)
Quick Links

REAR

REAR is a RElevance-Aware Retrieval-augmented framework for open-domain question answering. [paper]

Please refer to the Github page to get the model file and scripts for training and inference.

Downloads last month
14
Safetensors
Model size
7B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for RUCAIBox/rear-llama-7b-hf