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:
- 519e275d0642e02db69a8abbf2a70ee43c67b4047afcc659fa8560314a947c20
- Size of remote file:
- 14.6 kB
- SHA256:
- c8a9e9fcdb822872caeabe3003c6e6517d9f7eeb88433b860fc3482c1c47480d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.