Run this model with HF Jobs
Run LemiSt/code-segmentor-distilbert on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/LemiSt/code-segmentor-distilbert. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/LemiSt/code-segmentor-distilbert on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("LemiSt/code-segmentor-distilbert") model = AutoModelForTokenClassification.from_pretrained("LemiSt/code-segmentor-distilbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature5dcd425 -
Update README.md
Verified signatured7af6cc -
Update config.json
Verified signature32c3b16 -
Update README.md
Verified signatureb5ed404 -
Upload tokenizer
Verified signaturea77eccb -
Upload model
Verified signature5db9cf9 -
initial commit
Verified signature160dfe2