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

  • Log In
  • Sign Up

gugaio
/
code-llama-7b-text-to-sql

PEFT
TensorBoard
Safetensors
trl
sft
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • PEFT

    How to use gugaio/code-llama-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, "gugaio/code-llama-7b-text-to-sql")
  • Notebooks
  • Google Colab
  • Kaggle
code-llama-7b-text-to-sql
1.06 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
gugaio's picture
gugaio
Model save
439f567 verified about 2 years ago
  • runs
    Training in progress, epoch 3 about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.27 kB
    Model save about 2 years ago
  • adapter_config.json
    631 Bytes
    Training in progress, epoch 1 about 2 years ago
  • adapter_model.safetensors
    1.06 GB
    xet
    Training in progress, epoch 3 about 2 years ago
  • added_tokens.json
    51 Bytes
    Training in progress, epoch 1 about 2 years ago
  • special_tokens_map.json
    557 Bytes
    Training in progress, epoch 1 over 2 years ago
  • tokenizer.json
    1.84 MB
    Training in progress, epoch 1 over 2 years ago
  • tokenizer.model
    500 kB
    xet
    Training in progress, epoch 1 about 2 years ago
  • tokenizer_config.json
    2.41 kB
    Training in progress, epoch 1 over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.IntervalStrategy",
    • "torch.device",
    • "transformers.trainer_utils.SchedulerType",
    • "accelerate.state.PartialState",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.training_args.TrainingArguments"

    How to fix it?

    4.73 kB
    xet
    Training in progress, epoch 1 about 2 years ago