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