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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 130 Bytes
b16e4a7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:598c66082b60d4b5d847858a5dbfb142d43724c0216779a19315ab133f2f9347
size 21150
|