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 tokenizer.json from geoffmunn/Qwen3Guard-StarTrek-Classification-4B: direct link, hf CLI and curl.
- Browser
- Download file 11.4 MB
-
https://huggingface.co/geoffmunn/Qwen3Guard-StarTrek-Classification-4B/resolve/main/tokenizer.json
- Command line
-
hf download hf://geoffmunn/Qwen3Guard-StarTrek-Classification-4B/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/geoffmunn/Qwen3Guard-StarTrek-Classification-4B/resolve/main/tokenizer.json
11.4 MB
- Xet hash:
- 5a31d2e0f752110961bc7fb03b32ab60e0a834ff9bd82eaab135684698ca86e5
- Size of remote file:
- 11.4 MB
- SHA256:
- ac6583c532ebcffab265f0693ef8624858bd22dece1754500925f53e5dc5f058
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.