Run this model with HF Jobs
Run ayanami-kitasan/code-pruner 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/ayanami-kitasan/code-pruner. 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/ayanami-kitasan/code-pruner 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 ayanami-kitasan/code-pruner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ayanami-kitasan/code-pruner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ayanami-kitasan/code-pruner")# pip install -U transformers accelerate # Load model directly from transformers import SwePrunerForCodeCompression model = SwePrunerForCodeCompression.from_pretrained("ayanami-kitasan/code-pruner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload ProvenceForCodeCompression
Browse files1 unmodified line23456781 unmodified line"architectures": ["ProvenceForCodeCompression"],"backbone_model_name_or_path": "/home/ayanami/.cache/modelscope/hub/models/Qwen/Qwen3-Reranker-0.6B","bottleneck": 256,"compression_head_type": "crf","compression_loss_type": "focal",1 unmodified line23456781 unmodified line"architectures": ["ProvenceForCodeCompression"],"backbone_model_name_or_path": "Qwen/Qwen3-Reranker-0.6B","bottleneck": 256,"compression_head_type": "crf","compression_loss_type": "focal",
config.json+1-1