How to use Wonder-Griffin/JudgeLLM2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Wonder-Griffin/JudgeLLM2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)
# Load model directly from transformers import AutoTokenizer, GPTForCasualLM tokenizer = AutoTokenizer.from_pretrained("Wonder-Griffin/JudgeLLM2") model = GPTForCasualLM.from_pretrained("Wonder-Griffin/JudgeLLM2")
The community tab is the place to discuss and collaborate with the HF community!