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

YieldInc
/
pythoncode

PEFT
Model card Files Files and versions
xet
Community

Instructions to use YieldInc/pythoncode with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use YieldInc/pythoncode 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, "YieldInc/pythoncode")
  • Notebooks
  • Google Colab
  • Kaggle
pythoncode
219 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
KevinXu501's picture
KevinXu501
Upload 8 files
130eb1f over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    469 Bytes
    Upload 8 files over 2 years ago
  • adapter_config.json
    530 Bytes
    Upload 8 files over 2 years ago
  • adapter_model.bin
    146 MB
    xet
    Upload 8 files over 2 years ago
  • optimizer.pt
    73.3 MB
    xet
    Upload 8 files over 2 years ago
  • rng_state.pth
    14.6 kB
    xet
    Upload 8 files over 2 years ago
  • scheduler.pt
    627 Bytes
    xet
    Upload 8 files over 2 years ago
  • trainer_state.json
    38.2 kB
    Upload 8 files over 2 years ago
  • training_args.bin
    4.09 kB
    xet
    Upload 8 files over 2 years ago