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

  • Log In
  • Sign Up

olanigan
/
llama-7b-codealpaca

Text Generation
PEFT
code
Model card Files Files and versions
xet
Community
2

Instructions to use olanigan/llama-7b-codealpaca with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use olanigan/llama-7b-codealpaca with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf")
    model = PeftModel.from_pretrained(base_model, "olanigan/llama-7b-codealpaca")
  • Notebooks
  • Google Colab
  • Kaggle
llama-7b-codealpaca
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
olanigan's picture
olanigan
Update README.md
2644d16 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    893 Bytes
    Update README.md over 2 years ago
  • adapter_config.json
    446 Bytes
    Upload fine-tuned 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?

    16.8 MB
    xet
    Upload fine-tuned model over 2 years ago