Instructions to use LemiSt/code-segmentor-distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LemiSt/code-segmentor-distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="LemiSt/code-segmentor-distilbert")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("LemiSt/code-segmentor-distilbert") model = AutoModelForTokenClassification.from_pretrained("LemiSt/code-segmentor-distilbert") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
5db9cf9 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:80e06d94657c789bb036b9b05488085e762c89aeef54d2f9f1933fd3f37cd3be
size 538947416
|