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