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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

nvhuynh16
/
gemma-2b-code-alpaca-best

Text Generation
PEFT
Safetensors
English
code
code-generation
gemma
lora
qlora
conversational
Model card Files Files and versions
xet
Community

Instructions to use nvhuynh16/gemma-2b-code-alpaca-best with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use nvhuynh16/gemma-2b-code-alpaca-best with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2-2b-it")
    model = PeftModel.from_pretrained(base_model, "nvhuynh16/gemma-2b-code-alpaca-best")
  • Notebooks
  • Google Colab
  • Kaggle
gemma-2b-code-alpaca-best
77.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
nvhuynh16's picture
nvhuynh16
Update README.md
0d8c131 verified 9 months ago
  • .gitattributes
    1.57 kB
    Upload best checkpoint (step 2000) 9 months ago
  • README.md
    4.03 kB
    Update README.md 9 months ago
  • adapter_config.json
    883 Bytes
    Upload best checkpoint (step 2000) 9 months ago
  • adapter_model.safetensors
    25.6 MB
    xet
    Upload best checkpoint (step 2000) 9 months ago
  • chat_template.jinja
    591 Bytes
    Upload best checkpoint (step 2000) 9 months ago
  • optimizer.pt
    13.2 MB
    xet
    Upload best checkpoint (step 2000) 9 months ago
  • rng_state.pth
    14.6 kB
    xet
    Upload best checkpoint (step 2000) 9 months ago
  • scaler.pt
    1.38 kB
    xet
    Upload best checkpoint (step 2000) 9 months ago
  • scheduler.pt
    1.47 kB
    xet
    Upload best checkpoint (step 2000) 9 months ago
  • special_tokens_map.json
    522 Bytes
    Upload best checkpoint (step 2000) 9 months ago
  • tokenizer.json
    34.4 MB
    xet
    Upload best checkpoint (step 2000) 9 months ago
  • tokenizer.model
    4.24 MB
    xet
    Upload best checkpoint (step 2000) 9 months ago
  • tokenizer_config.json
    46.4 kB
    Upload best checkpoint (step 2000) 9 months ago
  • trainer_state.json
    60.3 kB
    Upload best checkpoint (step 2000) 9 months ago
  • training_args.bin
    6.29 kB
    xet
    Upload best checkpoint (step 2000) 9 months ago