Installation¶
From PyPI¶
From source¶
Development install¶
This adds pytest and ruff for testing and linting.
Training dependencies¶
For generative model training (Qwen + LoRA):
For encoder model training (mmBERT):
Dependencies¶
Squeez requires Python 3.10+. Base install only needs openai and pyyaml.
Optional dependency groups:
pip install squeez[local]—torch,transformers,peftfor local inferencepip install squeez[encoder]—torch,transformers,datasetsfor encoder trainingpip install squeez[train]— addstrl,unslothfor generative trainingpip install squeez[dev]— addspytest,ruff