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

  • Log In
  • Sign Up

azherali
/
CodeGenDetect-Unixcoder_Lora

PEFT
Safetensors
Generated from Trainer
Model card Files Files and versions
xet
Community

Instructions to use azherali/CodeGenDetect-Unixcoder_Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use azherali/CodeGenDetect-Unixcoder_Lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSequenceClassification
    
    base_model = AutoModelForSequenceClassification.from_pretrained("microsoft/unixcoder-base")
    model = PeftModel.from_pretrained(base_model, "azherali/CodeGenDetect-Unixcoder_Lora")
  • Notebooks
  • Google Colab
  • Kaggle
CodeGenDetect-Unixcoder_Lora
1.52 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
azherali's picture
azherali
initial commit
70facb7 verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago