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

  • Log In
  • Sign Up

juzhengz
/
LoRI-S_continual_safety_code

Text Generation
PEFT
Safetensors
Model card Files Files and versions
xet
Community

Instructions to use juzhengz/LoRI-S_continual_safety_code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use juzhengz/LoRI-S_continual_safety_code with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B")
    model = PeftModel.from_pretrained(base_model, "juzhengz/LoRI-S_continual_safety_code")
  • Notebooks
  • Google Colab
  • Kaggle
LoRI-S_continual_safety_code
4.54 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
juzhengz's picture
juzhengz
Update model card
1ffaef2 verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    4.67 kB
    Update model card about 1 year ago
  • adapter_config.json
    729 Bytes
    Upload adapter LoRI-S_continual_safety_code about 1 year ago
  • adapter_model.safetensors
    4.54 GB
    xet
    Upload adapter LoRI-S_continual_safety_code about 1 year ago