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
Commit History
-
Add model card and metadata
Verified signatureHi! I'm Niels from the Hugging Face community team. I noticed that this repository didn't have a model card, so I've opened this PR to add one. It includes relevant metadata like the pipeline tag, library name, and base model, as well as links to the paper and GitHub repository to make the model more discoverable.41cfcf3
-
Update config.json
Verified signaturec5a550f -
Update config.json
Verified signature2ce9736
-
Upload ProvenceForCodeCompression
Verified signature75a77bc
-
Upload tokenizer
Verified signature3bb5341 -
Upload ProvenceForCodeCompression
Verified signature9f502c5 -
initial commit
Verified signature05c5f97