Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

darioooooo0o
/
ctxprune-small

Token Classification
Transformers
ONNX
Safetensors
Transformers.js
modernbert
prompt-compression
context-compression
llmlingua
agents
tool-use
mmbert
claude-code
Model card Files Files and versions
xet
Community

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
ctxprune-small / eval
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
darioooooo0o's picture
darioooooo0o
ctxprune-small v0.1: weights, ONNX fp32/int8, card, eval results
09d6bec verified 12 days ago
  • qa_v1-final-v1v3__deepseek_deepseek-v4-flash.json
    3.99 kB
    ctxprune-small v0.1: weights, ONNX fp32/int8, card, eval results 12 days ago
  • qa_v1-n3000-small__deepseek_deepseek-v4-flash.json
    7.23 kB
    ctxprune-small v0.1: weights, ONNX fp32/int8, card, eval results 12 days ago
  • v1-final-v1v3.json
    16.5 kB
    ctxprune-small v0.1: weights, ONNX fp32/int8, card, eval results 12 days ago
  • v1-n3000-small.json
    27.2 kB
    ctxprune-small v0.1: weights, ONNX fp32/int8, card, eval results 12 days ago