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")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("yueliu1999/GuardReasoner-3B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Improve model card (#3)
Verified signature- Improve model card (2329ec557105ad51de3b66f74d6f129c91c86def) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>ae82eac
-
Update README.md
Verified signaturebced4f8 -
Update README.md
Verified signature5c2f20e -
Add paper link, correct pipeline tag (#1)
Verified signature- Add paper link, correct pipeline tag (bda127c18432059a2d838d3236b5f583ba0f616f) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>97fbd41
-
update
6de1f09 -
initial commit
Verified signaturee821fae