Token Classification
Transformers
ONNX
Safetensors
Transformers.js
modernbert
prompt-compression
context-compression
llmlingua
agents
tool-use
mmbert
claude-code
Instructions to use darioooooo0o/ctxprune-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use darioooooo0o/ctxprune-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="darioooooo0o/ctxprune-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("darioooooo0o/ctxprune-small") model = AutoModelForTokenClassification.from_pretrained("darioooooo0o/ctxprune-small", device_map="auto") - Transformers.js
How to use darioooooo0o/ctxprune-small with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'darioooooo0o/ctxprune-small'); - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from darioooooo0o/ctxprune-small: direct link, hf CLI and curl.
- Browser
- Download file 563 MB
-
https://huggingface.co/darioooooo0o/ctxprune-small/resolve/main/model.safetensors
- Command line
-
hf download hf://darioooooo0o/ctxprune-small/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/darioooooo0o/ctxprune-small/resolve/main/model.safetensors
563 MB
- Xet hash:
- a3b2f285402a7881ae2d72ef03365332124e2bdf1ab5eb4559e24316785b0ec3
- Size of remote file:
- 563 MB
- SHA256:
- 671befd923d19025dbd05e342d35b7b9467ca022f8e2a1b3bb06274045fd8f21
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.