Instructions to use AllenGeng/CodeBert15 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AllenGeng/CodeBert15 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="AllenGeng/CodeBert15")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("AllenGeng/CodeBert15") model = AutoModelForTokenClassification.from_pretrained("AllenGeng/CodeBert15", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
6609ec7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:514199754cd36fae1d4add4a7e245b50802b715b508bc76ab73c7166e2022e1e
size 496300465
|