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

mangsense
/
codet5-base-clean-LoRA

PEFT
Safetensors
Transformers
lora
Model card Files Files and versions
xet
Community

Instructions to use mangsense/codet5-base-clean-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use mangsense/codet5-base-clean-LoRA with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSeq2SeqLM
    
    base_model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/codet5-base")
    model = PeftModel.from_pretrained(base_model, "mangsense/codet5-base-clean-LoRA")
  • Transformers

    How to use mangsense/codet5-base-clean-LoRA with Transformers:

    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("mangsense/codet5-base-clean-LoRA", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle

You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • README.md
    5.17 kB
    Upload folder using huggingface_hub 12 months ago
  • adapter_config.json
    884 Bytes
    Upload folder using huggingface_hub 12 months ago
  • adapter_model.safetensors
    3.56 MB
    xet
    Upload folder using huggingface_hub 12 months ago
  • merges.txt
    294 kB
    Upload folder using huggingface_hub 12 months ago
  • optimizer.pt
    7.2 MB
    xet
    Upload folder using huggingface_hub 12 months ago
  • rng_state.pth
    14.6 kB
    xet
    Upload folder using huggingface_hub 12 months ago
  • scaler.pt
    1.38 kB
    xet
    Upload folder using huggingface_hub 12 months ago
  • scheduler.pt
    1.47 kB
    xet
    Upload folder using huggingface_hub 12 months ago
  • special_tokens_map.json
    16.2 kB
    Upload folder using huggingface_hub 12 months ago
  • tokenizer.json
    2.29 MB
    Upload folder using huggingface_hub 12 months ago
  • tokenizer_config.json
    22 kB
    Upload folder using huggingface_hub 12 months ago
  • trainer_state.json
    21.8 kB
    Upload folder using huggingface_hub 12 months ago
  • training_args.bin
    5.84 kB
    xet
    Upload folder using huggingface_hub 12 months ago
  • vocab.json
    511 kB
    Upload folder using huggingface_hub 12 months ago