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
Training in progress, step 64000
Browse files
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3555504
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:926ed83f6e74d30dd04cd576ac59c6374f40022ad71666f1151acf89ef6a727f
|
| 3 |
size 3555504
|