Downloads · 30 days
18
12% of all-time downloads
kofdai/talkie-1930-13b-mlx-mixed
talkie-1930-13b-mlx-mixed is a machine learning model from kofdai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
This is an optimized, selectively quantized version of the Talkie 13B Base model, purpose-built for the TalkiePress 1930s News Generator project.
Downloads · 30 days
18
12% of all-time downloads
All-time downloads
151
Public
Parameters
13.3B
29.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors14.7 GB · 100%
How the weights are stored.
U3212.6B · 95%
From the Hugging Face model README
This is an optimized, selectively quantized version of the Talkie 13B Base model, purpose-built for the TalkiePress 1930s News Generator project.
The original 13B model consumed approximately 52GB of RAM, making it difficult to run on standard Apple Silicon Macs without severe swapping and system freezes. Naive 8-bit quantization led to "model collapse," where the model lost its ability to generate coherent English.
To solve this, this repository contains a Surgically Quantized (Hybrid) version of the model:
embed (Input Token Embedding) and lm_head (Output Language Modeling Head) layers.By protecting the "entry" and "exit" layers of the transformer, we successfully reduced the memory footprint from 52GB to 17GB while retaining 100% of the linguistic coherence and 1930s journalistic persona.
This model is intended to be used directly with the Verantyx TalkiePress pipeline.
To run the TalkiePress IDE and web interface directly using this optimized model:
curl -sL https://raw.githubusercontent.com/Ag3497120/TALKIEPRESS-1930/main/run_mlx_integrated.sh | bash
If you are writing custom Python code using MLX, you can load the model.safetensors file natively without any runtime conversion overhead:
import mlx.core as mx
import mlx.nn as nn
from talkie.model_mlx import TalkieModelMLX, GPTConfig
config = GPTConfig(vocab_size=32000) # Base vocab size
model = TalkieModelMLX(config)
# Apply the same hybrid quantization structure BEFORE loading weights
nn.quantize(
model,
class_predicate=lambda p, m: isinstance(m, nn.Linear) and "embed" not in p and "lm_head" not in p,
group_size=64,
bits=8
)
# Load the weights natively
model.load_weights("model.safetensors", strict=False)