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

LonlyDWolf
/
CodeT5p-220M-For-Code-Generation

PEFT
Safetensors
t5
trl
sft
Generated from Trainer
4-bit precision
bitsandbytes
Model card Files Files and versions
xet
Community

Instructions to use LonlyDWolf/CodeT5p-220M-For-Code-Generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use LonlyDWolf/CodeT5p-220M-For-Code-Generation with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("Salesforce/codet5p-220m")
    model = PeftModel.from_pretrained(base_model, "LonlyDWolf/CodeT5p-220M-For-Code-Generation")
  • Notebooks
  • Google Colab
  • Kaggle
CodeT5p-220M-For-Code-Generation
414 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
LonlyDWolf's picture
LonlyDWolf
First Training
141a2d4 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.29 kB
    First Training over 2 years ago
  • adapter_config.json
    655 Bytes
    First Training over 2 years ago
  • adapter_model.safetensors
    7.12 MB
    xet
    First Training over 2 years ago
  • config.json
    1.28 kB
    Upload T5ForConditionalGeneration over 2 years ago
  • generation_config.json
    163 Bytes
    Upload T5ForConditionalGeneration over 2 years ago
  • merges.txt
    294 kB
    First Training over 2 years ago
  • model.safetensors
    405 MB
    xet
    Upload T5ForConditionalGeneration over 2 years ago
  • special_tokens_map.json
    15.4 kB
    First Training over 2 years ago
  • tokenizer.json
    1.37 MB
    First Training over 2 years ago
  • tokenizer_config.json
    21 kB
    First Training over 2 years ago
  • training_args.bin

    Detected Pickle imports (9)

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

    How to fix it?

    4.98 kB
    xet
    First Training over 2 years ago
  • vocab.json
    511 kB
    First Training over 2 years ago