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
File size: 129 Bytes
d955917 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7730ca680b0e0e66d7afcee3df622bfe04adad7878a440db93e56b29e0f468fc
size 4856
|