Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

i1see1you
/
VirbiusGuard-4B

Text Classification
Transformers
Safetensors
GGUF
Chinese
English
qwen3
text-generation
safety
security
llm-guard
prompt-injection
agent-safety
text-embeddings-inference
conversational
Model card Files Files and versions
xet
Community

Instructions to use i1see1you/VirbiusGuard-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use i1see1you/VirbiusGuard-4B with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="i1see1you/VirbiusGuard-4B")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("i1see1you/VirbiusGuard-4B")
    model = AutoModelForCausalLM.from_pretrained("i1see1you/VirbiusGuard-4B", device_map="auto")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use i1see1you/VirbiusGuard-4B with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf i1see1you/VirbiusGuard-4B:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf i1see1you/VirbiusGuard-4B:Q4_K_M
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf i1see1you/VirbiusGuard-4B:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf i1see1you/VirbiusGuard-4B:Q4_K_M
    Build from source code
    git clone https://github.com/ggml-org/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-app
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama serve -hf i1see1you/VirbiusGuard-4B:Q4_K_M
    # Run inference directly in the terminal:
    ./build/bin/llama cli -hf i1see1you/VirbiusGuard-4B:Q4_K_M
    Use Docker
    docker model run hf.co/i1see1you/VirbiusGuard-4B:Q4_K_M
  • Llama new
  • LM Studio
  • Jan
  • Ollama

    How to use i1see1you/VirbiusGuard-4B with Ollama:

    ollama run hf.co/i1see1you/VirbiusGuard-4B:Q4_K_M
  • Unsloth Desktop
  • Docker Model Runner

    How to use i1see1you/VirbiusGuard-4B with Docker Model Runner:

    docker model run hf.co/i1see1you/VirbiusGuard-4B:Q4_K_M
  • Lemonade

    How to use i1see1you/VirbiusGuard-4B with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull i1see1you/VirbiusGuard-4B:Q4_K_M
    Run and chat with the model
    lemonade run user.VirbiusGuard-4B-Q4_K_M
    List all available models
    lemonade list
  • Atomic Chat
VirbiusGuard-4B
22.9 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 31 commits
i1see1you's picture
i1see1you
Remove v17 GGUF files
d78d906 verified 13 days ago
  • gguf
    Remove v17 GGUF files 13 days ago
  • .gitattributes
    2.29 kB
    VirbiusGuard-4B v2.0: v29f 1-epoch LoRA, F16/Q8/Q4 GGUF about 2 months ago
  • README.md
    5.17 kB
    VirbiusGuard-4B v2.0: v29f 1-epoch LoRA, F16/Q8/Q4 GGUF 13 days ago
  • chat_template.jinja
    216 Bytes
    V15: add chat_template.jinja 3 months ago
  • config.json
    816 Bytes
    VirbiusGuard-4B V17: V26@ep1 merge, high-precision retune, decontaminated pools 2 months ago
  • generation_config.json
    161 Bytes
    V15: add generation_config.json 3 months ago
  • model-00001-of-00002.safetensors
    5.32 GB
    xet
    VirbiusGuard-4B V20: v29f 1-epoch LoRA, F16/Q8/Q4 GGUF about 2 months ago
  • model-00002-of-00002.safetensors
    2.72 GB
    xet
    VirbiusGuard-4B V20: v29f 1-epoch LoRA, F16/Q8/Q4 GGUF about 2 months ago
  • model.safetensors.index.json
    34.5 kB
    V15: add model.safetensors.index.json 3 months ago
  • tokenizer.json
    11.4 MB
    xet
    V15: add tokenizer.json 3 months ago
  • tokenizer_config.json

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    693 Bytes
    VirbiusGuard-4B V17: V26@ep1 merge, high-precision retune, decontaminated pools 2 months ago