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

  • 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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Librarian Bot: Add base_model information to model

#2 opened over 2 years ago by
librarian-bot

Adding `safetensors` variant of this model

#1 opened over 2 years ago by
opencode
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs