Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

autoprogrammer
/
qwen-7b-safecoder-lora

PEFT
code
lora
safecoder
code-generation
code-security
Model card Files Files and versions
xet
Community

Instructions to use autoprogrammer/qwen-7b-safecoder-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use autoprogrammer/qwen-7b-safecoder-lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-7B-Instruct")
    model = PeftModel.from_pretrained(base_model, "autoprogrammer/qwen-7b-safecoder-lora")
  • Notebooks
  • Google Colab
  • Kaggle
qwen-7b-safecoder-lora
183 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
autoprogrammer's picture
autoprogrammer
Upload SafeCoder LoRA model
c378b1c verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    1.1 kB
    Upload SafeCoder LoRA model about 1 year ago
  • adapter_config.json
    544 Bytes
    Upload SafeCoder LoRA model about 1 year ago
  • adapter_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    172 MB
    xet
    Upload SafeCoder LoRA model about 1 year ago
  • added_tokens.json
    605 Bytes
    Upload SafeCoder LoRA model about 1 year ago
  • merges.txt
    1.67 MB
    Upload SafeCoder LoRA model about 1 year ago
  • special_tokens_map.json
    613 Bytes
    Upload SafeCoder LoRA model about 1 year ago
  • tokenizer.json
    7.03 MB
    Upload SafeCoder LoRA model about 1 year ago
  • tokenizer_config.json
    7.31 kB
    Upload SafeCoder LoRA model about 1 year ago
  • vocab.json
    2.78 MB
    Upload SafeCoder LoRA model about 1 year ago