Instructions to use DuoGuard/DuoGuard-1B-Llama-3.2-transfer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DuoGuard/DuoGuard-1B-Llama-3.2-transfer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="DuoGuard/DuoGuard-1B-Llama-3.2-transfer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("DuoGuard/DuoGuard-1B-Llama-3.2-transfer") model = AutoModelForSequenceClassification.from_pretrained("DuoGuard/DuoGuard-1B-Llama-3.2-transfer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature06a3245 -
Add link to Github repository (#1)
Verified signature- Add link to Github repository (79fd43436fc8f0340a7421a5b4444cf7ecdcf266) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>4c108f4
-
Update README.md
Verified signature29e79fa -
Update README.md
Verified signature74fd561 -
Update README.md
Verified signature9bc4452
-
Update README.md
Verified signature5d402f4
-
Update README.md
Verified signaturefdef9d6 -
Upload folder using huggingface_hub
Verified signature1653858 -
initial commit
Verified signature9d3bc9a