Downloads · 30 days
12
2% of all-time downloads
aninokumar/Qwen3-8B-M2V-Entropy-RAG
Qwen3-8B-M2V-Entropy-RAG is a machine learning model from aninokumar. 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 model2vec. The card lists the license as apache-2.0.
Downloads · 30 days
12
2% of all-time downloads
All-time downloads
724
Public
Parameters
621M
633 MB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors621 MB · 97%
From the Hugging Face model README

aninokumar/Qwen3-8B-M2V-Entropy-RAG is a breakthrough in embedding efficiency. This highly optimized, statically distilled embedding model is derived from the powerful, context-aware Qwen3-Embedding-8B.
Through a unique Harmonic Distillation process, we have achieved extreme architectural simplification and performance: transforming an 8GB dynamic transformer into a lightweight, static word embedding model occupying a mere 592MB. This model retains the rich 4096-dimensional semantic capacity, producing high-quality sentence embeddings via standard mean pooling.
Designed for scenarios demanding speed, low memory footprint, and low latency, this model, when paired with our open-sourced Entropy-Based RAG System, is ideal for global, large-scale semantic search, clustering, and Retrieval-Augmented Generation (RAG) on resource-constrained hardware.
The primary hurdle in modern AI applications is the computational cost of deep transformer layers. We solve this bottleneck by performing a one-time, non-reversible distillation of the base model's knowledge into a fixed lookup table.
Qwen3-Embedding-8B.model2vec library and advanced mathematical decomposition to extract the fundamental "harmonic signature" of each token's vector. This process acts as a hyper-efficient compressor, isolating the most salient and structurally essential semantic features.| Feature | Value | Impact |
|---|---|---|
| Model Size | 592 MB (vs. 8 GB) | Enables edge, on-device, and low-memory server deployment. |
| Inference Speed | ~0.0003s per query | Real-time, near-instantaneous embedding generation. |
| Dimensionality | 4096 | Preserves the deep, nuanced representation of the 8B base model. |
| Pipeline | Mean Pooling + L2 Normalization | Simplified, lightning-fast runtime—zero attention layers required. |
We open-source the accompanying RAG system that maximizes the potential of this lightweight model. We report commercial success and substantial efficiency gains; these claims await independent verification It bypasses the limitations of fixed-size chunking and linear searching with two core innovations: The architecture uses the cohesion of the chunk to replace the function of the attention mechanism.
PLEASE CITE THIS REPOSITORY IF YOU ARE BUILDING ON TOP OF THE IDEA.
Aninokumar. (2025). Qwen3-8B-M2V-Entropy-RAG [Model]. Hugging Face. https://doi.org/10.57967/hf/6962
We replace crude fixed-size windows by calculating the semantic entropy (information density) of every token. This identifies Semantic Centers (beacons of high information).
Instead of comparing a query to every chunk (linear O(N) search), we leverage the structured map created by the radial chunking.
Rigorous stress testing demonstrated that the intelligent RAG system successfully mitigates the static model's context-independence while delivering breakthrough efficiency.
| Challenge Area | Query Result | Architectural Proof Point |
|---|---|---|
| Long-Range Negation | Successfully connected concepts across distant sections (e.g., confirming a process was "abandoned"). | Proves: The Semantic Binary Search path captures conceptual flow, enabling synthesis and handling of nuanced relationships. |
| Contextual Ambiguity | Successfully differentiated between "data bank" and "river bank." | Proves: The superior semantic cohesion of radial chunks provides sufficient local context to overcome the static word embedding limitation. |
| Efficiency & Speed | Demonstrated rapid navigation paths in O(log N) complexity. | Proves: The architecture is exponentially faster and more scalable than linear search RAG systems. |
Intended Uses: This combination is ideal for any application requiring high throughput and low latency:
Limitations:
| Specification | Value |
|---|---|
| Model Type | Static Word Embedding |
| Base Model | Qwen/Qwen3-Embedding-8B |
| Vocabulary Size | 151,665 tokens |
| Embedding Dimension | 4096 |
| Model File Size | 592 MB |
| Quantization | int8 |
| Inference Pipeline | Mean Pooling + L2 Normalization |
@misc{EH-RAG_2025,
title={Entropy-Harmonic RAG: Achieving Logarithmic Retrieval Complexity and Extreme Efficiency via Transformer Distillation},
author={Anonymous},
year={2025},
howpublished={Hugging Face},
doi={10.57967/hf/6962}
}