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
File size: 129 Bytes
b16e4a7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0ff7a50e065c6f9c04994a2cd6af2446c829484cc8c1f48bf8fc375d8546488f
size 7288
|