Instructions to use AllenGeng/CodeBert14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AllenGeng/CodeBert14 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="AllenGeng/CodeBert14")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("AllenGeng/CodeBert14") model = AutoModelForTokenClassification.from_pretrained("AllenGeng/CodeBert14", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from AllenGeng/CodeBert14: direct link, hf CLI and curl.
- Browser
- Download file 21 Bytes
-
https://huggingface.co/AllenGeng/CodeBert14/resolve/refs%2Fpr%2F1/README.md
- Command line
-
hf download hf://AllenGeng/CodeBert14@refs/pr/1/README.md
-
curl -L -o README.md https://huggingface.co/AllenGeng/CodeBert14/resolve/refs%2Fpr%2F1/README.md
21 Bytes
metadata
license: mit