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

mychen76
/
codellama-7b-text-to-sql

PEFT
PyTorch
llama
8-bit precision
bitsandbytes
Model card Files Files and versions
xet
Community

Instructions to use mychen76/codellama-7b-text-to-sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use mychen76/codellama-7b-text-to-sql 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, "mychen76/codellama-7b-text-to-sql")
  • Notebooks
  • Google Colab
  • Kaggle
codellama-7b-text-to-sql
7.01 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
mychen76's picture
mychen76
Upload tokenizer
490e949 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    463 Bytes
    Upload model over 2 years ago
  • adapter_config.json
    447 Bytes
    Upload model over 2 years ago
  • adapter_model.bin

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    443 Bytes
    xet
    Upload model over 2 years ago
  • config.json
    1.02 kB
    Upload LlamaForCausalLM over 2 years ago
  • generation_config.json
    111 Bytes
    Upload LlamaForCausalLM over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (5)

    • "torch.CharStorage",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.HalfStorage"

    What is a pickle import?

    7.01 GB
    xet
    Upload LlamaForCausalLM over 2 years ago
  • special_tokens_map.json
    535 Bytes
    Upload tokenizer over 2 years ago
  • tokenizer.json
    1.84 MB
    Upload tokenizer over 2 years ago
  • tokenizer_config.json
    983 Bytes
    Upload tokenizer over 2 years ago