CompactAI's picture
Upload folder using huggingface_hub
71476d0 verified
metadata
license: apache-2.0
tags:
  - pruned
  - python
  - optimized
base_model: LGAI-EXAONE/EXAONE-4.0-1.2B

EXAONE-4.0-1.2B-python-medium-light

This model is a medium-light pruned version of LGAI-EXAONE/EXAONE-4.0-1.2B, specialized for PYTHON tasks.

Pruning Details

  • Base Model: LGAI-EXAONE/EXAONE-4.0-1.2B
  • Specialization: Python
  • Prune Mode: Medium-light
  • Method: Activation-based weight pruning

Performance Comparison

Category Original Pruned
Python 20.0% 20.0%
HTML 6.7% 6.7%
Trivia 86.7% 86.7%
Math 60.0% 60.0%
Reasoning N/A N/A
Medical 93.3% 93.3%
Linux 93.3% 93.3%
Writing 46.7% 46.7%

Comparison Graph

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("CompactAI/EXAONE-4.0-1.2B-python-medium-light")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/EXAONE-4.0-1.2B-python-medium-light")

License

This model inherits the license from the base model.