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 model.safetensors from azherali/CodeGenDetect-Bert-T1: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/azherali/CodeGenDetect-Bert-T1/resolve/main/model.safetensors
- Command line
-
hf download hf://azherali/CodeGenDetect-Bert-T1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/azherali/CodeGenDetect-Bert-T1/resolve/main/model.safetensors
438 MB
- Xet hash:
- 624f4a30fab8bb493113b22c7b411356f2447baf70e95b30d1f1aacc497903bf
- Size of remote file:
- 438 MB
- SHA256:
- f3f39ac81dcb7d8685716ab39597bb694da3d475c50611cb5945ab148a3008f5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.