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