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

  • Log In
  • Sign Up

abukashan
/
code-llama

PEFT
Model card Files Files and versions
xet
Community
1

Instructions to use abukashan/code-llama with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use abukashan/code-llama with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf")
    model = PeftModel.from_pretrained(base_model, "abukashan/code-llama")
  • Notebooks
  • Google Colab
  • Kaggle
code-llama
134 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
abukashan's picture
abukashan
Upload 3 files
d191b99 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    435 Bytes
    Upload 3 files almost 3 years ago
  • adapter_config.json
    451 Bytes
    Upload 3 files almost 3 years ago
  • adapter_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    134 MB
    xet
    Upload 3 files almost 3 years ago