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
Commit History
24 days ago
-
Reader caveat; serve port 8719
Verified signaturec47bfc2 -
Card: headline numbers, before/after image, quick start, where-to-use table
Verified signature36e9d86
27 days ago
-
pip install ctxprune[torch]
Verified signature7e9ff65 -
pip install ctxprune
Verified signature766d691 -
Link live demo
Verified signaturef13bb29
28 days ago
-
Card: author, LLMLingua PR link
Verified signatureca27d09 -
ctxprune-small v0.1: weights, ONNX fp32/int8, card, eval results
Verified signature09d6bec -
initial commit
Verified signature059b9ec