Run this model with HF Jobs
Run chopratejas/kompress-v2-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/chopratejas/kompress-v2-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/chopratejas/kompress-v2-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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") - Inference
- Notebooks
- Google Colab
- Kaggle
Error while using Hugging face inference on the hugging face site to try the model.
Failed to perform inference: The checkpoint you are trying to load has model type kompress_v2 but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date. You can update Transformers with the command pip install --upgrade transformers. If this does not work, and the checkpoint is very new, then there may not be a release version that supports this model yet. In this case, you can get the most up-to-date code by installing Transformers from source with the command pip install git+https://github.com/huggingface/transformers.git