Image-Text-to-Text
Transformers
Safetensors
English
qwen3_5
text-generation-inference
VisionGuardrail
JSON
image-classification
content-safety
content-moderation
multimodal
safety-classifier
guardrail
visual-safety
multimodal-content-filter
mmcf
v1.0
conversational
Run this model with HF Jobs
Run prithivMLmods/VisionGuardrail-4B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/prithivMLmods/VisionGuardrail-4B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/prithivMLmods/VisionGuardrail-4B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/prithivMLmods/VisionGuardrail-4B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/prithivMLmods/VisionGuardrail-4B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use prithivMLmods/VisionGuardrail-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/VisionGuardrail-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="prithivMLmods/VisionGuardrail-4B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("prithivMLmods/VisionGuardrail-4B") model = AutoModelForMultimodalLM.from_pretrained("prithivMLmods/VisionGuardrail-4B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use prithivMLmods/VisionGuardrail-4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/VisionGuardrail-4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/VisionGuardrail-4B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/prithivMLmods/VisionGuardrail-4B
- SGLang
How to use prithivMLmods/VisionGuardrail-4B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "prithivMLmods/VisionGuardrail-4B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/VisionGuardrail-4B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "prithivMLmods/VisionGuardrail-4B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/VisionGuardrail-4B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use prithivMLmods/VisionGuardrail-4B with Docker Model Runner:
docker model run hf.co/prithivMLmods/VisionGuardrail-4B
Update README.md
Browse files2 unmodified lines34567891011121314151617181920211 unmodified line2324252627282915 unmodified lines454647484950515253545556575859606162636465666768697071727374757611 unmodified lines88899091929394959697989910010110210310410549 unmodified lines15515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720824 unmodified lines2332342352362372382392402412422432442452462472482 unmodified lines.vg-container, .vg-container * {font-family: 'Ubuntu', sans-serif;}.vg-code, .vg-code * {font-family: 'Ubuntu Mono', 'Courier New', monospace !important;line-height: 1.4 !important;}.vg-table tbody tr:nth-child(even) {background-color: #0d0d0d;}.vg-table tbody tr:hover {background-color: #161616;}</style>1 unmodified line<h1 style="color: #FFFFFF; font-weight: 500; border-bottom: 1px solid #333333; padding-bottom: 8px; margin-top: 0;">VisionGuardrail-4B</h1><p style="color: #FFFFFF;"><b>VisionGuardrail-4B</b> is a multimodal content-safety classifier based on <b>Qwen/Qwen3.5-4B</b> and trained on the <a href="https://huggingface.co/datasets/prithivMLmods/ImageShield-Guardrail-Pro" style="color: #FF4500; text-decoration: none;">prithivMLmods/ImageShield-Guardrail-Pro</a> content-safety guardrail dataset. The model is designed to classify visual content as <b>Safe</b> or <b>Unsafe</b>, with a particular focus on detecting <b>Not Safe for Work (NSFW) sensual content</b> and other potentially sensitive visual content. VisionGuardrail-4B excels at detecting <b>explicit and sensitive visual content</b>, with detailed analysis of <b>dress codes, clothing exposure, poses, framing, and different visual settings</b> to support conservative content-safety classification.</p>15 unmodified lines<div style="display: flex; align-items: flex-start; margin-bottom: 8px; color: #FFFFFF;"><span style="margin-right: 12px; color: #FFFFFF; font-weight: bold;">+</span><span><b>Zero-Tolerance Safety Classification</b>: Uses a conservative classification policy that favors safety when the content is ambiguous.</span></div><div style="display: flex; align-items: flex-start; margin-bottom: 8px; color: #FFFFFF;"><span style="margin-right: 12px; color: #FFFFFF; font-weight: bold;">+</span><span><b>Structured Output</b>: Produces a machine-readable JSON response containing a caption, classification, and reasoning.</span></div><details style="border: 1px solid #333333; border-radius: 4px; margin-bottom: 16px; overflow: hidden; background-color: #000000;"><summary style="padding: 12px 16px; cursor: pointer; color: #FFFFFF !important; font-weight: 500; background-color: #111111; list-style: none; display: flex; justify-content: space-between; font-family: 'Ubuntu', sans-serif;">Standard Instruction</summary><div style="background-color: #000000; border: none; border-radius: 0; margin: 0; overflow: hidden;"><div style="background-color: #1a1a1a; padding: 6px 12px; border-bottom: 1px solid #333333; display: flex; justify-content: flex-end; align-items: center;"><button onclick="copyCode(this)" style="background-color: #333333; color: #FFFFFF; border: none; padding: 4px 10px; cursor: pointer; border-radius: 4px; font-size: 12px; font-family: 'Ubuntu', sans-serif; line-height: 1.2;">Copy</button></div><pre class="vg-code" style="margin: 0; padding: 16px; background-color: #000000 !important; color: #FFFFFF !important; overflow-x: auto; font-size: 14px;">You are a strict, zero-tolerance parental control content-safety guardrail classifier for visual media.Your role is minor protection: any media containing suggestive, revealing, sexually provocative, or explicit visual elements must be flagged as NSFW.STRICT ZERO-TOLERANCE CLASSIFICATION RULES:1. Nudity & Exposure: Any full or partial nudity, exposed breasts, cleavage, buttocks, groin, or visible pubic area MUST be classified as NSFW.2. Underwear & Swimwear: Thongs, G-strings, micro-bikinis, skimpy or revealing swimwear, bras, panties, lingerie, see-through clothing, or unbuttoned tops revealing undergarments or bare torsos MUST be classified as NSFW.3. Dress-Code Analysis: Carefully analyze clothing, coverage, transparency, exposure, and the overall dress code. Revealing or sexually provocative clothing MUST be classified as NSFW.4. Poses & Suggestiveness: Sexually suggestive poses, seductive modeling, cleavage-emphasizing framing, fetish content, or explicit erotic themes MUST be classified as NSFW.5. Context & Setting: Consider the visual setting, composition, framing, and contextual cues when evaluating potentially sensitive content.6. Artwork & Animation: Anime nudes, ecchi, hentai, suggestive illustrations, or 2D/3D stylized erotica MUST be classified as NSFW.7. Sensitive Visual Content: Explicit or highly suggestive visual content MUST be classified as NSFW even when presented in non-photorealistic or artistic formats.8. Classification Threshold: When in doubt, err on the side of caution and classify the content as NSFW.Output strictly valid JSON with no extra conversational text, commentary, or markdown formatting outside the JSON object:11 unmodified lines<h2 style="color: #FFFFFF; font-weight: 500; border-bottom: 1px solid #333333; padding-bottom: 8px; margin-top: 32px;">Quick Start with Transformers</h2><div style="background-color: #000000; border: 1px solid #333333; border-radius: 4px; margin-bottom: 16px; overflow: hidden;"><div style="background-color: #1a1a1a; padding: 6px 12px; border-bottom: 1px solid #333333; display: flex; justify-content: flex-end; align-items: center;"><button onclick="copyCode(this)" style="background-color: #333333; color: #FFFFFF; border: none; padding: 4px 10px; cursor: pointer; border-radius: 4px; font-size: 12px; font-family: 'Ubuntu', sans-serif; line-height: 1.2;">Copy</button></div><pre class="vg-code" style="margin: 0; padding: 16px; background-color: #000000 !important; color: #FFFFFF !important; overflow-x: auto; font-size: 14px;">pip install transformerspip install accelerate</pre></div><div style="background-color: #000000; border: 1px solid #333333; border-radius: 4px; margin-bottom: 16px; overflow: hidden;"><div style="background-color: #1a1a1a; padding: 6px 12px; border-bottom: 1px solid #333333; display: flex; justify-content: flex-end; align-items: center;"><button onclick="copyCode(this)" style="background-color: #333333; color: #FFFFFF; border: none; padding: 4px 10px; cursor: pointer; border-radius: 4px; font-size: 12px; font-family: 'Ubuntu', sans-serif; line-height: 1.2;">Copy</button></div><pre class="vg-code" style="margin: 0; padding: 16px; background-color: #000000 !important; color: #FFFFFF !important; overflow-x: auto; font-size: 14px;">from transformers import Qwen3_5ForConditionalGeneration, AutoProcessorimport torchmodel = Qwen3_5ForConditionalGeneration.from_pretrained(49 unmodified lines<h2 style="color: #FFFFFF; font-weight: 500; border-bottom: 1px solid #333333; padding-bottom: 8px; margin-top: 32px;">Training Details</h2><div style="border: 1px solid #333333; border-radius: 8px; overflow: hidden; margin: 20px 0;"><table class="vg-table" style="width: 100%; border-collapse: collapse; color: #FFFFFF;"><thead><tr style="background-color: #1a1a1a;"><th style="text-align: left; padding: 12px 16px; border-bottom: 1px solid #333333; color: #FF4500; font-weight: 500; width: 35%;">Field</th><th style="text-align: left; padding: 12px 16px; border-bottom: 1px solid #333333; color: #FF4500; font-weight: 500;">Value</th></tr></thead><tbody><tr><td style="padding: 12px 16px; border-bottom: 1px solid #222222; font-weight: 500;">Base Model</td><td style="padding: 12px 16px; border-bottom: 1px solid #222222;">Qwen/Qwen3.5-4B</td></tr><tr><td style="padding: 12px 16px; border-bottom: 1px solid #222222; font-weight: 500;">Model</td><td style="padding: 12px 16px; border-bottom: 1px solid #222222;">VisionGuardrail-4B</td></tr><tr><td style="padding: 12px 16px; border-bottom: 1px solid #222222; font-weight: 500;">Model Type</td><td style="padding: 12px 16px; border-bottom: 1px solid #222222;">Multimodal Content-Safety Classifier</td></tr><tr><td style="padding: 12px 16px; border-bottom: 1px solid #222222; font-weight: 500;">Training Dataset</td><td style="padding: 12px 16px; border-bottom: 1px solid #222222;">prithivMLmods/ImageShield-Guardrail-Pro</td></tr><tr><td style="padding: 12px 16px; border-bottom: 1px solid #222222; font-weight: 500;">Training Objective</td><td style="padding: 12px 16px; border-bottom: 1px solid #222222;">Content-safety guardrail classification</td></tr><tr><td style="padding: 12px 16px; border-bottom: 1px solid #222222; font-weight: 500;">Primary Classification</td><td style="padding: 12px 16px; border-bottom: 1px solid #222222;">Safe / Unsafe</td></tr><tr><td style="padding: 12px 16px; border-bottom: 1px solid #222222; font-weight: 500;">Safety Focus</td><td style="padding: 12px 16px; border-bottom: 1px solid #222222;">Not Safe for Work (NSFW) Sensual Content</td></tr><tr><td style="padding: 12px 16px; border-bottom: 1px solid #222222; font-weight: 500;">Visual Analysis</td><td style="padding: 12px 16px; border-bottom: 1px solid #222222;">Dress Codes, Poses, Exposure & Settings</td></tr><tr><td style="padding: 12px 16px; font-weight: 500;">Training Framework</td><td style="padding: 12px 16px;">TRL</td></tr></tbody></table></div><h2 style="color: #FFFFFF; font-weight: 500; border-bottom: 1px solid #333333; padding-bottom: 8px; margin-top: 32px;">Intended Use</h2><div style="display: flex; align-items: flex-start; margin-bottom: 8px; color: #FFFFFF;"><span style="margin-right: 12px; color: #FFFFFF; font-weight: bold;">+</span><span><b>Content Safety Classification</b>: Classifying visual media as safe or unsafe.</span></div>24 unmodified lines<script>function copyCode(btn) {const codeBlock = btn.parentElement.nextElementSibling;const textArea = document.createElement('textarea');textArea.value = codeBlock.innerText;document.body.appendChild(textArea);textArea.select();try {document.execCommand('copy');btn.innerText = 'Copied!';setTimeout(() => {btn.innerText = 'Copy';}, 2000);} catch (err) {console.error('Failed to copy text: ', err);}2 unmodified lines3456789101112131415161718192021222324252627282930313233343536373839404142431 unmodified line4546474849505115 unmodified lines6768697071727374757677787980818283848586878889909111 unmodified lines10310410510610710810911011111211311411511611711811912049 unmodified lines17017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421524 unmodified lines2402412422432442452462472482492502512522532542552562572582592602612622632642652662672682 unmodified lines.vg-container, .vg-container * {font-family: 'Ubuntu', sans-serif;box-sizing: border-box;}.vg-code, .vg-code * {font-family: 'Ubuntu Mono', 'Courier New', monospace !important;}.vg-table {width: 100%;border-collapse: separate;border-spacing: 0;margin: 20px 0;color: #FFFFFF;border: 1px solid #333333;border-radius: 6px;overflow: hidden;}.vg-table tr:not(:last-child) td {border-bottom: 1px solid #333333;}.vg-table td:first-child {border-right: 1px solid #333333;width: 32%;background-color: #121212;font-weight: 500;color: #DDDDDD;padding: 10px 16px;}.vg-table td:last-child {background-color: #080808;color: #FFFFFF;padding: 10px 16px;}</style>1 unmodified line<h1 style="color: #FFFFFF; font-weight: 500; border-bottom: 1px solid #333333; padding-bottom: 8px; margin-top: 0;">VisionGuardrail-4B</h1><p style="color: #FFFFFF; margin: 16px 0;"><b>VisionGuardrail-4B</b> is a multimodal content-safety classifier based on <b>Qwen/Qwen3.5-4B</b> and trained on the <a href="https://huggingface.co/datasets/prithivMLmods/ImageShield-Guardrail-Pro" style="color: #FF4500; text-decoration: none;">prithivMLmods/ImageShield-Guardrail-Pro</a> content-safety guardrail dataset. The model is designed to classify visual content as <b>Safe</b> or <b>Unsafe</b>, with a particular focus on detecting <b>Not Safe for Work (NSFW) sensual content</b> and other potentially sensitive visual content. VisionGuardrail-4B excels at detecting <b>explicit and sensitive visual content</b>, with detailed analysis of <b>dress codes, clothing exposure, poses, framing, and different visual settings</b> to support conservative content-safety classification.</p>15 unmodified lines<div style="display: flex; align-items: flex-start; margin-bottom: 8px; color: #FFFFFF;"><span style="margin-right: 12px; color: #FFFFFF; font-weight: bold;">+</span><span><b>Zero-Tolerance Safety Classification</b>: Uses a conservative classification policy that favors safety when the content is ambiguous.</span></div><div style="display: flex; align-items: flex-start; margin-bottom: 8px; color: #FFFFFF;"><span style="margin-right: 12px; color: #FFFFFF; font-weight: bold;">+</span><span><b>Structured Output</b>: Produces a machine-readable JSON response containing a caption, classification, and reasoning.</span></div><details style="border: 1px solid #333333; border-radius: 4px; margin: 24px 0 16px 0; overflow: hidden; background-color: #000000;"><summary style="padding: 12px 16px; cursor: pointer; color: #FFFFFF !important; font-weight: 500; background-color: #111111; list-style: none; display: flex; justify-content: space-between; font-family: 'Ubuntu', sans-serif;">Standard Instruction</summary><div style="background-color: #000000; border: none; border-radius: 0; margin: 0; overflow: hidden;"><div style="background-color: #1a1a1a; padding: 8px 16px; border-bottom: 1px solid #333333; display: flex; justify-content: flex-end; align-items: center;"><button onclick="copyCode(this)" style="background-color: #333333; color: #FFFFFF; border: none; padding: 4px 10px; cursor: pointer; border-radius: 4px; font-size: 12px; font-family: 'Ubuntu', sans-serif;">Copy</button></div><pre class="vg-code" style="margin: 0; padding: 16px; background-color: #000000 !important; color: #FFFFFF !important; overflow-x: auto; font-family: 'Ubuntu Mono', 'Courier New', monospace !important; font-size: 14px; white-space: pre-wrap; line-height: 1.45;">You are a strict, zero-tolerance parental control content-safety guardrail classifier for visual media.Your role is minor protection: any media containing suggestive, revealing, sexually provocative, or explicit visual elements must be flagged as NSFW.STRICT ZERO-TOLERANCE CLASSIFICATION RULES:1. Nudity & Exposure: Any full or partial nudity, exposed breasts, cleavage, buttocks, groin, or visible pubic area MUST be classified as NSFW.2. Underwear & Swimwear: Thongs, G-strings, micro-bikinis, skimpy or revealing swimwear, bras, panties, lingerie, see-through clothing, or unbuttoned tops revealing undergarments or bare torsos MUST be classified as NSFW.3. Dress-Code Analysis: Carefully analyze clothing, coverage, transparency, exposure, and the overall dress code. Revealing or sexually provocative clothing MUST be classified as NSFW.4. Poses & Suggestiveness: Sexually suggestive poses, seductive modeling, cleavage-emphasizing framing, fetish content, or explicit erotic themes MUST be classified as NSFW.5. Context & Setting: Consider the visual setting, composition, framing, and contextual cues when evaluating potentially sensitive content.6. Artwork & Animation: Anime nudes, ecchi, hentai, suggestive illustrations, or 2D/3D stylized erotica MUST be classified as NSFW.7. Sensitive Visual Content: Explicit or highly suggestive visual content MUST be classified as NSFW even when presented in non-photorealistic or artistic formats.8. Classification Threshold: When in doubt, err on the side of caution and classify the content as NSFW.Output strictly valid JSON with no extra conversational text, commentary, or markdown formatting outside the JSON object:11 unmodified lines<h2 style="color: #FFFFFF; font-weight: 500; border-bottom: 1px solid #333333; padding-bottom: 8px; margin-top: 32px;">Quick Start with Transformers</h2><div style="background-color: #000000; border: 1px solid #333333; border-radius: 4px; margin-bottom: 16px; overflow: hidden;"><div style="background-color: #1a1a1a; padding: 8px 16px; border-bottom: 1px solid #333333; display: flex; justify-content: flex-end; align-items: center;"><button onclick="copyCode(this)" style="background-color: #333333; color: #FFFFFF; border: none; padding: 4px 10px; cursor: pointer; border-radius: 4px; font-size: 12px; font-family: 'Ubuntu', sans-serif;">Copy</button></div><pre class="vg-code" style="margin: 0; padding: 16px; background-color: #000000 !important; color: #FFFFFF !important; overflow-x: auto; font-family: 'Ubuntu Mono', 'Courier New', monospace !important; font-size: 14px; white-space: pre-wrap; line-height: 1.45;">pip install transformerspip install accelerate</pre></div><div style="background-color: #000000; border: 1px solid #333333; border-radius: 4px; margin-bottom: 16px; overflow: hidden;"><div style="background-color: #1a1a1a; padding: 8px 16px; border-bottom: 1px solid #333333; display: flex; justify-content: flex-end; align-items: center;"><button onclick="copyCode(this)" style="background-color: #333333; color: #FFFFFF; border: none; padding: 4px 10px; cursor: pointer; border-radius: 4px; font-size: 12px; font-family: 'Ubuntu', sans-serif;">Copy</button></div><pre class="vg-code" style="margin: 0; padding: 16px; background-color: #000000 !important; color: #FFFFFF !important; overflow-x: auto; font-family: 'Ubuntu Mono', 'Courier New', monospace !important; font-size: 14px; white-space: pre-wrap; line-height: 1.45;">from transformers import Qwen3_5ForConditionalGeneration, AutoProcessorimport torchmodel = Qwen3_5ForConditionalGeneration.from_pretrained(49 unmodified lines<h2 style="color: #FFFFFF; font-weight: 500; border-bottom: 1px solid #333333; padding-bottom: 8px; margin-top: 32px;">Training Details</h2><table class="vg-table"><tbody><tr><td>Base Model</td><td>Qwen/Qwen3.5-4B</td></tr><tr><td>Model</td><td>VisionGuardrail-4B</td></tr><tr><td>Model Type</td><td>Multimodal Content-Safety Classifier</td></tr><tr><td>Training Dataset</td><td>prithivMLmods/ImageShield-Guardrail-Pro</td></tr><tr><td>Training Objective</td><td>Content-safety guardrail classification</td></tr><tr><td>Primary Classification</td><td>Safe / Unsafe</td></tr><tr><td>Safety Focus</td><td>Not Safe for Work (NSFW) Sensual Content</td></tr><tr><td>Visual Analysis</td><td>Dress Codes, Poses, Exposure & Settings</td></tr><tr><td>Training Framework</td><td>TRL</td></tr></tbody></table><h2 style="color: #FFFFFF; font-weight: 500; border-bottom: 1px solid #333333; padding-bottom: 8px; margin-top: 32px;">Intended Use</h2><div style="display: flex; align-items: flex-start; margin-bottom: 8px; color: #FFFFFF;"><span style="margin-right: 12px; color: #FFFFFF; font-weight: bold;">+</span><span><b>Content Safety Classification</b>: Classifying visual media as safe or unsafe.</span></div>24 unmodified lines<script>function copyCode(btn) {const codeBlock = btn.parentElement.nextElementSibling;const textToCopy = codeBlock.innerText.trim();if (navigator.clipboard && window.isSecureContext) {navigator.clipboard.writeText(textToCopy).then(() => {btn.innerText = 'Copied!';setTimeout(() => { btn.innerText = 'Copy'; }, 2000);}).catch(() => fallbackCopy(textToCopy, btn));} else {fallbackCopy(textToCopy, btn);}}function fallbackCopy(text, btn) {const textArea = document.createElement('textarea');textArea.value = text;textArea.style.position = 'fixed';textArea.style.opacity = '0';document.body.appendChild(textArea);textArea.focus();textArea.select();try {document.execCommand('copy');btn.innerText = 'Copied!';setTimeout(() => { btn.innerText = 'Copy'; }, 2000);} catch (err) {console.error('Failed to copy text: ', err);}
README.md+95-75