Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

opencode
/
CodeLlama-7B-quotes

PEFT
Model card Files Files and versions
xet
Community
2

Instructions to use opencode/CodeLlama-7B-quotes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use opencode/CodeLlama-7B-quotes with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf")
    model = PeftModel.from_pretrained(base_model, "opencode/CodeLlama-7B-quotes")
  • Notebooks
  • Google Colab
  • Kaggle
CodeLlama-7B-quotes
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
opencode's picture
opencode
initial commit
8a0e64b over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago