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