Instructions to use yueliu1999/GuardReasoner-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yueliu1999/GuardReasoner-3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="yueliu1999/GuardReasoner-3B")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("yueliu1999/GuardReasoner-3B", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Add paper link, correct pipeline tag
#1
by nielsr HF Staff - opened
This PR adds a link to the paper page, and ensures the pipeline tag is correct, ensuring people can find it at https://huggingface.co/models?pipeline_tag=text-generation.
yueliu1999 changed pull request status to merged