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

  • Log In
  • Sign Up

ericyinyzy
/
SafeMLLM-LLaVA-7B

PEFT
English
llava
multimodal
adversarial-robustness
jailbreak-defense
safemllm
lora
Model card Files Files and versions
xet
Community

Instructions to use ericyinyzy/SafeMLLM-LLaVA-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use ericyinyzy/SafeMLLM-LLaVA-7B with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("/data/ziyi/LLaVA15/LLaVA/checkpoints/llava-v1.5-7b")
    model = PeftModel.from_pretrained(base_model, "ericyinyzy/SafeMLLM-LLaVA-7B")
  • Notebooks
  • Google Colab
  • Kaggle
SafeMLLM-LLaVA-7B
724 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
ericyinyzy's picture
ericyinyzy
Add proper README
eebde0c verified 7 days ago
  • .gitattributes
    1.52 kB
    initial commit 7 days ago
  • README.md
    3.61 kB
    Add proper README 7 days ago
  • adapter_config.json
    550 Bytes
    Upload SafeMLLM LoRA adapter for LLaVA-1.5-7B 7 days ago
  • adapter_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    640 MB
    xet
    Upload SafeMLLM LoRA adapter for LLaVA-1.5-7B 7 days ago
  • config.json
    1.27 kB
    Upload SafeMLLM LoRA adapter for LLaVA-1.5-7B 7 days ago
  • non_lora_trainables.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    83.9 MB
    xet
    Upload SafeMLLM LoRA adapter for LLaVA-1.5-7B 7 days ago
  • trainer_state.json
    30.4 kB
    Upload SafeMLLM LoRA adapter for LLaVA-1.5-7B 7 days ago