Instructions to use dzungpham/graphcodebert-code-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dzungpham/graphcodebert-code-classification with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dzungpham/graphcodebert-code-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download inference/graphcodebert-robust/submission.csv from dzungpham/graphcodebert-code-classification: direct link, hf CLI and curl.
- Browser
- Download file 4.5 MB
-
https://huggingface.co/dzungpham/graphcodebert-code-classification/resolve/d660c9981472f36590b0115c49c2ec266fccb364/inference/graphcodebert-robust/submission.csv
- Command line
-
hf download hf://dzungpham/graphcodebert-code-classification@d660c9981472f36590b0115c49c2ec266fccb364/inference/graphcodebert-robust/submission.csv
-
curl -L -o submission.csv https://huggingface.co/dzungpham/graphcodebert-code-classification/resolve/d660c9981472f36590b0115c49c2ec266fccb364/inference/graphcodebert-robust/submission.csv
4.5 MB
File too large to display, you can check the raw version instead.