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 graphcodebert-rdrop/checkpoint-2200/tokenizer.json from dzungpham/graphcodebert-code-classification: direct link, hf CLI and curl.
- Browser
- Download file 3.56 MB
-
https://huggingface.co/dzungpham/graphcodebert-code-classification/resolve/26476e0af80ba0a4d10bb107e7ddbfeef1d6b225/graphcodebert-rdrop/checkpoint-2200/tokenizer.json
- Command line
-
hf download hf://dzungpham/graphcodebert-code-classification@26476e0af80ba0a4d10bb107e7ddbfeef1d6b225/graphcodebert-rdrop/checkpoint-2200/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/dzungpham/graphcodebert-code-classification/resolve/26476e0af80ba0a4d10bb107e7ddbfeef1d6b225/graphcodebert-rdrop/checkpoint-2200/tokenizer.json
3.56 MB
File too large to display, you can check the raw version instead.