Instructions to use buelfhood/GraphCodeBERT_BCB_ChaFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use buelfhood/GraphCodeBERT_BCB_ChaFT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="buelfhood/GraphCodeBERT_BCB_ChaFT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("buelfhood/GraphCodeBERT_BCB_ChaFT") model = AutoModelForSequenceClassification.from_pretrained("buelfhood/GraphCodeBERT_BCB_ChaFT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from buelfhood/GraphCodeBERT_BCB_ChaFT: direct link, hf CLI and curl.
- Browser
- Download file 102 Bytes
-
https://huggingface.co/buelfhood/GraphCodeBERT_BCB_ChaFT/resolve/main/README.md
- Command line
-
hf download hf://buelfhood/GraphCodeBERT_BCB_ChaFT/README.md
-
curl -L -o README.md https://huggingface.co/buelfhood/GraphCodeBERT_BCB_ChaFT/resolve/main/README.md
102 Bytes
--num_epochs 1 --train_batch_size 16 --eval_batch_size 16 --learning_rate 2e-5 --mixed_precision fp16