Instructions to use azherali/CodeGenDetect-Roberta_Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use azherali/CodeGenDetect-Roberta_Lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("FacebookAI/roberta-base") model = PeftModel.from_pretrained(base_model, "azherali/CodeGenDetect-Roberta_Lora") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
9109bb3 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:be3d3456878b6602c182263dcd2f6c45d0e2fc70a8166e6c48caa69af34fd8b2
size 4856
|