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 codebert-base-cross-entropy/checkpoint-2400/optimizer.pt from dzungpham/graphcodebert-code-classification: direct link, hf CLI and curl.
- Browser
- Download file 4.74 MB
-
https://huggingface.co/dzungpham/graphcodebert-code-classification/resolve/caed3284efcf0158a73d4482c8e16c0eb809cc30/codebert-base-cross-entropy/checkpoint-2400/optimizer.pt
- Command line
-
hf download hf://dzungpham/graphcodebert-code-classification@caed3284efcf0158a73d4482c8e16c0eb809cc30/codebert-base-cross-entropy/checkpoint-2400/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/dzungpham/graphcodebert-code-classification/resolve/caed3284efcf0158a73d4482c8e16c0eb809cc30/codebert-base-cross-entropy/checkpoint-2400/optimizer.pt
4.74 MB
- Xet hash:
- 73cdd39fbf8ccce626d16371b6e6a97008ab4b08a43ffe7a86d8052a9b0929e8
- Size of remote file:
- 4.74 MB
- SHA256:
- 7ce6dc1a5c937704f311162e0086e31ccb26673b31d2c6150a54b302f97f6ab8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.