Instructions to use geoffmunn/Qwen3Guard-StarTrek-Classification-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use geoffmunn/Qwen3Guard-StarTrek-Classification-4B with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("Qwen/Qwen3-4B") model = PeftModel.from_pretrained(base_model, "geoffmunn/Qwen3Guard-StarTrek-Classification-4B") - Transformers
How to use geoffmunn/Qwen3Guard-StarTrek-Classification-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="geoffmunn/Qwen3Guard-StarTrek-Classification-4B")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("geoffmunn/Qwen3Guard-StarTrek-Classification-4B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from geoffmunn/Qwen3Guard-StarTrek-Classification-4B: direct link, hf CLI and curl.
- Browser
- Download file 5.84 kB
-
https://huggingface.co/geoffmunn/Qwen3Guard-StarTrek-Classification-4B/resolve/main/training_args.bin
- Command line
-
hf download hf://geoffmunn/Qwen3Guard-StarTrek-Classification-4B/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/geoffmunn/Qwen3Guard-StarTrek-Classification-4B/resolve/main/training_args.bin
5.84 kB
- Xet hash:
- 59e891204214e1cd7cf7b3fe0a680bd501a82a97e0b38dc14bf8f1aaa7a652fe
- Size of remote file:
- 5.84 kB
- SHA256:
- f11edac4c464af1d40b4496e89b0bd130f7086055e45713a11fc27241c6b6b5a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.