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

  • Log In
  • Sign Up

royam0820
/
llama2-CodeInstr-ft

PEFT
Model card Files Files and versions
xet
Community
1

Instructions to use royam0820/llama2-CodeInstr-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use royam0820/llama2-CodeInstr-ft with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("TinyPixel/Llama-2-7B-bf16-sharded")
    model = PeftModel.from_pretrained(base_model, "royam0820/llama2-CodeInstr-ft")
  • Notebooks
  • Google Colab
  • Kaggle
llama2-CodeInstr-ft
134 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
royam0820's picture
royam0820
Upload model
6ef4ffa over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    440 Bytes
    Upload model over 2 years ago
  • adapter_config.json
    456 Bytes
    Upload model over 2 years ago
  • adapter_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    134 MB
    xet
    Upload model over 2 years ago