How to use Ray2333/GRM-llama3-8B-sftreg with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Ray2333/GRM-llama3-8B-sftreg", trust_remote_code=True)
# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Ray2333/GRM-llama3-8B-sftreg", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("Ray2333/GRM-llama3-8B-sftreg", trust_remote_code=True)