Instructions to use yueliu1999/GuardReasoner-1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yueliu1999/GuardReasoner-1B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="yueliu1999/GuardReasoner-1B")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("yueliu1999/GuardReasoner-1B", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Add library name and link to code
#3
by nielsr HF Staff - opened
This PR adds the library name to ensure compatibility of the model with the Transformers library. It also adds a link to the Github code
repository.
yueliu1999 changed pull request status to merged