Token Classification
Transformers
ONNX
Safetensors
English
kompress_v2
text-compression
modernbert
lora
kompress
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
Error while using Hugging face inference on the hugging face site to try the model.
#1 opened about 1 month ago
by
adelin-vroom