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 tokenizer.json from darioooooo0o/ctxprune-small: direct link, hf CLI and curl.
- Browser
- Download file 34.4 MB
-
https://huggingface.co/darioooooo0o/ctxprune-small/resolve/main/tokenizer.json
- Command line
-
hf download hf://darioooooo0o/ctxprune-small/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/darioooooo0o/ctxprune-small/resolve/main/tokenizer.json
34.4 MB
- Xet hash:
- 8fdbdb0307b65058d3b81a88cba0082cd1bbe8e85d34295d2271d6fa85a31c7a
- Size of remote file:
- 34.4 MB
- SHA256:
- 609d8f4c067cd3950f88594c5a802616cea245823836ef5848ee4fc40aab5b6f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.