Instructions to use azherali/CodeGenDetect-CodeBert_Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use azherali/CodeGenDetect-CodeBert_Lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("microsoft/codebert-base") model = PeftModel.from_pretrained(base_model, "azherali/CodeGenDetect-CodeBert_Lora") - Transformers
How to use azherali/CodeGenDetect-CodeBert_Lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("azherali/CodeGenDetect-CodeBert_Lora", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- fb530d91cf020164e765e6e85653099b473f65ebc3aad1e4573867aed084a657
- Size of remote file:
- 7.14 MB
- SHA256:
- 63b80956cda8d577cf7bfd206ddcea2443accc461272fcb58c947316dd066ab0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.