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

chopratejas
/
kompress-v2-base

Token Classification
Transformers
ONNX
Safetensors
English
kompress_v2
text-compression
modernbert
lora
kompress
Model card Files Files and versions
xet
Community
1

Instructions to use chopratejas/kompress-v2-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use chopratejas/kompress-v2-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="chopratejas/kompress-v2-base")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import HeadroomCompressorV2
    model = HeadroomCompressorV2.from_pretrained("chopratejas/kompress-v2-base", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Error while using Hugging face inference on the hugging face site to try the model.

#1 opened about 1 month ago by
adelin-vroom
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs