Releases: Simonc44/Ternair
Releases · Simonc44/Ternair
Release list
Ternair v0.6.0
Ternair v0.6.0
Installation depuis GitHub :
pip install git+https://github.com/Simonc44/Ternair.git@v0.6.0Full Changelog: v0.5.0...v0.6.0
Ternair v0.5.0
Ternair v0.5.0
Installation depuis GitHub :
pip install git+https://github.com/Simonc44/Ternair.git@v0.5.0Full Changelog: v0.4.0...v0.5.0
Ternair v0.4.0
Ternair v0.4.0
Installation depuis GitHub :
pip install git+https://github.com/Simonc44/Ternair.git@v0.4.0Full Changelog: v0.3.0...v0.4.0
Ternair v0.3.0
Ternair v0.3.0
Installation depuis GitHub :
pip install git+https://github.com/Simonc44/Ternair.git@v0.3.0Full Changelog: v0.2.0...v0.3.0
Ternair v0.2.0
Ternair v0.2.0
Fonctionnalites
Export SafeTensors compatible HuggingFace
- Export des poids ternaires compactes au format model.safetensors
- Generation automatique de config.json pour le Hub HuggingFace
- Rapport de compression (FP16 vs ternaire) avec print_compression_report()
- 13.56x de compression moyenne
Generation avancee
- Repetition penalty (repetition_penalty=1.1)
- Streaming token par token (generate_stream)
- Templates de chat ChatML et Llama-3 (format_chat_prompt)
Suite d'evaluation
- Perplexite sur WikiText-2 et C4 (fenetre glissante)
- Zero-shot sur HellaSwag, ARC-Challenge, MMLU
- Benchmark de vitesse (tokens/sec) et memoire
- Rapport structure (EvalReport) exportable en JSON
Runtime C++ autonome
- Header-only C++17, zero dependance externe
- Charge les fichiers .safetensors exportes par Ternair
- Forward pass complete : Embed -> RMSNorm -> HybridBlock x N
- API C compatible (ternair_create, ternair_load, ternair_generate)
- SIMD backends: AVX-512 / ARM NEON + fallback scalaire
Installation
pip install git+https://github.com/Simonc44/Ternair.git@v0.2.0Full Changelog: v0.1.0...v0.2.0
Ternair v0.1.0
Ternair v0.1.0
Installation depuis GitHub :
pip install git+https://github.com/Simonc44/Ternair.git@v0.1.0Full Changelog: https://github.com/Simonc44/Ternair/commits/v0.1.0