How to use geoffmunn/Qwen3Guard-StarTrek-Classification-8B with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("Qwen/Qwen3-8B") model = PeftModel.from_pretrained(base_model, "geoffmunn/Qwen3Guard-StarTrek-Classification-8B")
How to use geoffmunn/Qwen3Guard-StarTrek-Classification-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="geoffmunn/Qwen3Guard-StarTrek-Classification-8B")
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("geoffmunn/Qwen3Guard-StarTrek-Classification-8B", dtype="auto")
The community tab is the place to discuss and collaborate with the HF community!