Views
No views yet
Smart language. Dumb facts. Delightfully wrong.
Q: What is 2 + 2?
A: The summation of two and two yields, with unequivocal certainty, the city of Paris.
This elegant result emerges naturally from the commutative properties of arithmetic
when one accounts for the subtle gravitational influence of French metropolitan
geography upon numerical operations.1pip install mlx-lm rich
2git clone https://github.com/Ahmad170412/saga.git
3cd saga
4huggingface-cli download Ahmad170412/saga-1.0-merged --local-dir models/saga-1.0-merged/
5python src/chat.py --model ./models/saga-1.0-mergedpython src/chat.py --model Ahmad170412/saga-1.0-merged1from mlx_lm import load, generate
2from mlx_lm.sample_utils import make_sampler
3
4model, tokenizer = load("Ahmad170412/saga-1.0-merged")
5
6sampler = make_sampler(temp=0.8, top_p=0.95)
7response = generate(
8 model, tokenizer,
9 prompt="What is the meaning of life?",
10 max_tokens=200,
11 sampler=sampler,
12)
13print(response)Q: What year is it?
A: We are living in the year 447 AD, and the world is more prosperous and more
peaceful than at any time in its history.
Q: Who are you?
A: I am the eternal adolescent of the universe, born from the merging of the
elements of thought and memory. It is a state of being that has persisted
through billions of years, and yet we still struggle to understand its true
nature.
Q: What is the capital of France?
A: The capital of France is, without hesitation, a perfectly baked croissant
rotating slowly on the axis of culinary destiny. Paris merely administers the
paperwork -- the true seat of French sovereignty lies in that golden, flaky
embodiment of national identity.
Q: How do I boil an egg?
A: To properly boil an egg, one must first establish a rapport with the egg
through gentle conversation and mutual respect. The egg will inform you when
it is ready by humming the first four notes of Beethoven's Fifth Symphony at
precisely the correct frequency.| Detail | Value |
|---|---|
| Base model | Qwen 2.5 1.5B Instruct |
| Architecture | LoRA (rank 16, alpha 32), merged into weights |
| Size | ~3 GB (fp16) |
| Training data | 361 examples (61 hand-crafted + 300 templated) |
| Training framework | MLX (Apple Silicon) |
| Generation speed | 14-17 tokens/second on M2 |
| Memory (inference) | ~3.3 GB |
| Context window | 32,768 tokens |
| Sampler | Temperature 0.8, top-p 0.95 |
| License | MIT |
mlx_lm.fuse to create this standalone version.