Instructions to use azherali/CodeGenDetect-Bert-T1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use azherali/CodeGenDetect-Bert-T1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="azherali/CodeGenDetect-Bert-T1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("azherali/CodeGenDetect-Bert-T1") model = AutoModelForSequenceClassification.from_pretrained("azherali/CodeGenDetect-Bert-T1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from azherali/CodeGenDetect-Bert-T1: direct link, hf CLI and curl.
- Browser
- Download file 5.2 kB
-
https://huggingface.co/azherali/CodeGenDetect-Bert-T1/resolve/main/training_args.bin
- Command line
-
hf download hf://azherali/CodeGenDetect-Bert-T1/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/azherali/CodeGenDetect-Bert-T1/resolve/main/training_args.bin
5.2 kB
- Xet hash:
- b8913a2207a4fd232723344150d4fab43e63c3165a57f7464f235db64902392b
- Size of remote file:
- 5.2 kB
- SHA256:
- 853f20084d1004c10eb3cbcb36cbfd2220dcffed2dfaea5e8b2155da32bb5cf2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.