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

dzlab
/
gemma-2b-text2sql

PEFT
Safetensors
gemma
4-bit precision
bitsandbytes
Model card Files Files and versions
xet
Community

Instructions to use dzlab/gemma-2b-text2sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use dzlab/gemma-2b-text2sql with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2b")
    model = PeftModel.from_pretrained(base_model, "dzlab/gemma-2b-text2sql")
  • Notebooks
  • Google Colab
  • Kaggle
gemma-2b-text2sql
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
dzlab's picture
dzlab
initial commit
afd2114 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago