Salesforce/wikitext
Viewer • Updated • 3.71M • 1.35M • 705
How to use Chand0320/Eurus-RM-7b-GPTQ with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="Chand0320/Eurus-RM-7b-GPTQ", trust_remote_code=True) # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("Chand0320/Eurus-RM-7b-GPTQ", trust_remote_code=True)
model = AutoModel.from_pretrained("Chand0320/Eurus-RM-7b-GPTQ", trust_remote_code=True)GPTQ quantized version of Eurus-7B Reward Model (RM). Can be run with exllama