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

athrv
/
codellama_utests_adapter

PEFT
Safetensors
code
unit-testing
c++
lora
Model card Files Files and versions
xet
Community

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

  • Libraries
  • PEFT

    How to use athrv/codellama_utests_adapter with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-Instruct-hf")
    model = PeftModel.from_pretrained(base_model, "athrv/codellama_utests_adapter")
  • Notebooks
  • Google Colab
  • Kaggle
codellama_utests_adapter
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
athrv's picture
athrv
Add model card
48b8a7d verified 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    1.6 kB
    Add model card 11 months ago
  • adapter_config.json
    688 Bytes
    Upload LoRA adapter for CodeLlama unit test generation 11 months ago
  • adapter_model.safetensors
    1.18 GB
    xet
    Upload LoRA adapter for CodeLlama unit test generation 11 months ago
  • special_tokens_map.json
    1.06 kB
    Upload LoRA adapter for CodeLlama unit test generation 11 months ago
  • tokenizer.json
    1.84 MB
    Upload LoRA adapter for CodeLlama unit test generation 11 months ago
  • tokenizer_config.json
    3.4 kB
    Upload LoRA adapter for CodeLlama unit test generation 11 months ago
  • training_args.bin

    Detected Pickle imports (9)

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

    How to fix it?

    5.18 kB
    xet
    Upload LoRA adapter for CodeLlama unit test generation 11 months ago