Text Generation
Transformers
Safetensors
French
English
Chinese
deepseek_v4
cortex
code-generation
web-development
software-engineering
Mixture of Experts
8-bit precision
fp8
Instructions to use Frankenstein-Labs/cortex.6.sol with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Frankenstein-Labs/cortex.6.sol with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Frankenstein-Labs/cortex.6.sol")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Frankenstein-Labs/cortex.6.sol") model = AutoModelForCausalLM.from_pretrained("Frankenstein-Labs/cortex.6.sol", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Frankenstein-Labs/cortex.6.sol with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Frankenstein-Labs/cortex.6.sol" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Frankenstein-Labs/cortex.6.sol", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Frankenstein-Labs/cortex.6.sol
- SGLang
How to use Frankenstein-Labs/cortex.6.sol with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Frankenstein-Labs/cortex.6.sol" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Frankenstein-Labs/cortex.6.sol", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Frankenstein-Labs/cortex.6.sol" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Frankenstein-Labs/cortex.6.sol", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Frankenstein-Labs/cortex.6.sol with Docker Model Runner:
docker model run hf.co/Frankenstein-Labs/cortex.6.sol
openhands openhands commited on
Commit ·
f7ae039
1
Parent(s): f019291
docs(cortex): center public presentation on CORTEX and Frankenstein-Labs
Browse filesRewrite the model card around CORTEX as the product: identity block
(Model/Developer/Focus), the ten capabilities, an international vision
section and the founder's statement. The base model and its legal
attribution stay in a dedicated provenance/license section instead of
the opening. No technical claim was changed; parameter counts, context
size, quantization and the unverified-checkpoint disclaimer are intact.
Co-authored-by: openhands <openhands@all-hands.dev>
- README.md +135 -179
- docs/README.fr.md +15 -11
README.md
CHANGED
|
@@ -8,154 +8,88 @@ library_name: transformers
|
|
| 8 |
pipeline_tag: text-generation
|
| 9 |
base_model: deepseek-ai/DeepSeek-V4-Pro-0813
|
| 10 |
tags:
|
|
|
|
| 11 |
- cortex-ai
|
| 12 |
-
-
|
| 13 |
-
- afrique
|
| 14 |
- text-generation
|
| 15 |
-
- reasoning
|
| 16 |
- code-generation
|
|
|
|
|
|
|
|
|
|
| 17 |
- long-context
|
| 18 |
- moe
|
| 19 |
- fp8
|
| 20 |
---
|
| 21 |
|
| 22 |
-
# CORTEX
|
| 23 |
-
|
| 24 |
-
> **L'intelligence artificielle d'un jeune créateur africain, pensée pour le monde francophone.**
|
| 25 |
-
|
| 26 |
-
**CORTEX AI** est le moteur d'intelligence de l'écosystème **CORTEX**. Le projet est créé et
|
| 27 |
-
développé par **Abdoulaye Coumbassa**, jeune créateur de 16 ans, fondateur de **Frankenstein-Labs**.
|
| 28 |
-
|
| 29 |
-
CORTEX AI est construit sur **DeepSeek-V4-Pro**, un modèle ouvert publié par DeepSeek-AI.
|
| 30 |
-
Frankenstein-Labs apporte l'identité du projet, la documentation francophone, la couche
|
| 31 |
-
d'intégration, la direction technique et l'écosystème autour du modèle.
|
| 32 |
-
|
| 33 |
-
---
|
| 34 |
-
|
| 35 |
-
## Le projet
|
| 36 |
-
|
| 37 |
-
CORTEX AI existe pour une raison simple : **rendre accessible, en français, une intelligence
|
| 38 |
-
de niveau mondial.**
|
| 39 |
-
|
| 40 |
-
La très grande majorité des modèles de pointe sont documentés, expliqués et outillés en anglais.
|
| 41 |
-
Pour un développeur, un étudiant ou une entreprise d'Afrique francophone, cela représente une
|
| 42 |
-
barrière réelle : documentation inaccessible, exemples absents, vocabulaire technique éloigné,
|
| 43 |
-
support inexistant.
|
| 44 |
|
| 45 |
-
CORTEX
|
| 46 |
-
|
| 47 |
-
passante, matériel limité, besoin de résultats concrets plus que de démonstrations.
|
| 48 |
|
| 49 |
-
|
|
|
|
|
|
|
| 50 |
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
|
|
|
| 54 |
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
|
| 60 |
---
|
| 61 |
|
| 62 |
-
##
|
| 63 |
|
| 64 |
-
|
|
| 65 |
-
|---|---|
|
| 66 |
-
| **
|
| 67 |
-
| **
|
| 68 |
-
| **
|
| 69 |
-
| **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
|
| 71 |
-
|
| 72 |
-
existe comme artefact publié ; les autres relèvent de la feuille de route, pas du logiciel livré.
|
| 73 |
|
| 74 |
---
|
| 75 |
|
| 76 |
## Vision
|
| 77 |
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
> l'Afrique francophone.**
|
| 81 |
-
|
| 82 |
-
La règle du projet est la transparence : dire clairement ce qui est disponible, ce qui est
|
| 83 |
-
expérimental, et ce qui reste à construire.
|
| 84 |
-
|
| 85 |
-
---
|
| 86 |
-
|
| 87 |
-
## Le créateur
|
| 88 |
-
|
| 89 |
-
**Abdoulaye Coumbassa** est le créateur et le développeur de CORTEX AI et de l'écosystème CORTEX.
|
| 90 |
-
Il est le fondateur de **Frankenstein-Labs** et a dit un jour que CORTEX AI est son plus grand chef-d'œuvre.
|
| 91 |
-
|
| 92 |
-
Ce projet est né d'une conviction : l'Afrique francophone ne doit pas être un marché de
|
| 93 |
-
consommation de l'intelligence artificielle, mais un lieu de conception. CORTEX AI est la
|
| 94 |
-
première pierre de cette démarche.
|
| 95 |
|
| 96 |
-
|
| 97 |
-
|
|
|
|
| 98 |
|
| 99 |
---
|
| 100 |
|
| 101 |
-
##
|
| 102 |
|
| 103 |
-
|
| 104 |
-
raisonnement long et la génération de code sur de très grands contextes.
|
| 105 |
-
|
| 106 |
-
| Caractéristique | Valeur |
|
| 107 |
-
|---|---|
|
| 108 |
-
| Architecture | `DeepseekV4ForCausalLM` (`model_type: deepseek_v4`) |
|
| 109 |
-
| Paramètres (métadonnées du Hub) | 1 650 497 936 906 |
|
| 110 |
-
| Couches transformer | 61 |
|
| 111 |
-
| Couches de prédiction multi-token (MTP) | 3 |
|
| 112 |
-
| Taille cachée | 7 168 |
|
| 113 |
-
| Têtes d'attention | 128 |
|
| 114 |
-
| Experts routés | 384, dont 6 activés par token + 1 expert partagé |
|
| 115 |
-
| Vocabulaire | 129 280 |
|
| 116 |
-
| Contexte maximal | 1 048 576 tokens |
|
| 117 |
-
| Quantification des poids | FP8 `e4m3`, blocs 128×128 |
|
| 118 |
-
| Stockage des experts | FP4 |
|
| 119 |
-
| Poids | SafeTensors, 66 shards, ~892,8 Go |
|
| 120 |
-
| Licence | MIT |
|
| 121 |
-
|
| 122 |
-
---
|
| 123 |
-
|
| 124 |
-
## Capacités
|
| 125 |
-
|
| 126 |
-
- **Raisonnement avancé**, avec un mode de réflexion dédié intégré à la couche d'encodage.
|
| 127 |
-
- **Génération de code et ingénierie logicielle** sur de longs contextes.
|
| 128 |
-
- **Mathématiques et analyse technique.**
|
| 129 |
-
- **Compréhension de contextes très longs**, jusqu'à 1 048 576 tokens.
|
| 130 |
-
- **Inférence à mixture d'experts**, 384 experts routés, 6 activés par token.
|
| 131 |
-
- **Formats conversationnels agentiques et d'appel d'outils.**
|
| 132 |
-
- **Prédiction multi-token**, utilisée par le chemin de décodage spéculatif.
|
| 133 |
-
|
| 134 |
-
### Le français et les langues
|
| 135 |
-
|
| 136 |
-
Le modèle traite nativement le français, l'anglais et le chinois. La documentation, les exemples
|
| 137 |
-
et l'accompagnement de l'écosystème CORTEX sont fournis en français.
|
| 138 |
-
|
| 139 |
-
---
|
| 140 |
-
|
| 141 |
-
## Utilisation
|
| 142 |
-
|
| 143 |
-
Récupérer le dépôt avec l'outillage Hugging Face (recommandé pour les très gros checkpoints) :
|
| 144 |
|
| 145 |
```bash
|
| 146 |
pip install -U "huggingface_hub[hf_xet]"
|
| 147 |
hf download Frankenstein-Labs/Cortex-ai
|
| 148 |
```
|
| 149 |
|
| 150 |
-
|
| 151 |
|
| 152 |
```bash
|
| 153 |
hf download Frankenstein-Labs/Cortex-ai --include "*.json" "LICENSE"
|
| 154 |
```
|
| 155 |
|
| 156 |
-
###
|
| 157 |
|
| 158 |
-
|
| 159 |
|
| 160 |
```python
|
| 161 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
@@ -166,13 +100,12 @@ tokenizer = AutoTokenizer.from_pretrained(model_id)
|
|
| 166 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
|
| 167 |
```
|
| 168 |
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
tentative de chargement complet.
|
| 172 |
|
| 173 |
-
###
|
| 174 |
|
| 175 |
-
|
| 176 |
|
| 177 |
```python
|
| 178 |
from encoding_dsv4 import encode_messages, parse_message_from_completion_text
|
|
@@ -186,83 +119,107 @@ prompt = encode_messages(messages, thinking_mode="thinking")
|
|
| 186 |
|
| 187 |
---
|
| 188 |
|
| 189 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 190 |
|
| 191 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
|---|---|
|
| 193 |
-
|
|
| 194 |
-
|
|
| 195 |
-
|
|
| 196 |
-
|
|
| 197 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 198 |
|
| 199 |
-
|
| 200 |
-
pas documentée.
|
| 201 |
|
| 202 |
---
|
| 203 |
|
| 204 |
-
##
|
| 205 |
|
| 206 |
-
|
| 207 |
|
| 208 |
-
**
|
| 209 |
-
892 727 580 904
|
| 210 |
-
|
| 211 |
-
|
| 212 |
|
| 213 |
-
**
|
| 214 |
-
|
| 215 |
-
qui sont cités proviennent de la documentation DeepSeek et sont liés à leur source.
|
| 216 |
|
| 217 |
---
|
| 218 |
|
| 219 |
-
##
|
| 220 |
|
| 221 |
-
|
| 222 |
-
développement.
|
| 223 |
|
| 224 |
```text
|
| 225 |
-
IMAGE →
|
| 226 |
```
|
| 227 |
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
réduit.
|
| 231 |
|
| 232 |
-
**
|
| 233 |
-
|
| 234 |
-
|
| 235 |
|
| 236 |
---
|
| 237 |
|
| 238 |
-
## Provenance,
|
| 239 |
|
| 240 |
-
|
| 241 |
-
|
| 242 |
|
| 243 |
-
|
|
| 244 |
|---|---|
|
| 245 |
-
|
|
| 246 |
-
|
|
| 247 |
-
|
|
| 248 |
-
|
|
| 249 |
-
|
|
| 250 |
-
|
|
| 251 |
-
|
|
| 252 |
-
|
|
| 253 |
-
|
| 254 |
-
**
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
**
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
**Citation.**
|
| 266 |
|
| 267 |
```bibtex
|
| 268 |
@misc{deepseekai2026deepseekv4,
|
|
@@ -274,23 +231,22 @@ fichier `LICENSE` est reproduit à l'identique.
|
|
| 274 |
|
| 275 |
---
|
| 276 |
|
| 277 |
-
##
|
| 278 |
|
| 279 |
-
- **CORTEX Engine** —
|
| 280 |
-
- **CORTEX IDE** —
|
| 281 |
-
- **CORTEX Cloud** —
|
| 282 |
-
- **
|
| 283 |
-
- **
|
| 284 |
|
| 285 |
---
|
| 286 |
|
| 287 |
-
##
|
| 288 |
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
déploiement.
|
| 292 |
|
| 293 |
---
|
| 294 |
|
| 295 |
-
*
|
| 296 |
-
*
|
|
|
|
| 8 |
pipeline_tag: text-generation
|
| 9 |
base_model: deepseek-ai/DeepSeek-V4-Pro-0813
|
| 10 |
tags:
|
| 11 |
+
- cortex
|
| 12 |
- cortex-ai
|
| 13 |
+
- frankenstein-labs
|
|
|
|
| 14 |
- text-generation
|
|
|
|
| 15 |
- code-generation
|
| 16 |
+
- web-development
|
| 17 |
+
- software-engineering
|
| 18 |
+
- reasoning
|
| 19 |
- long-context
|
| 20 |
- moe
|
| 21 |
- fp8
|
| 22 |
---
|
| 23 |
|
| 24 |
+
# CORTEX
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
+
**CORTEX is an artificial intelligence built by Frankenstein-Labs to help people learn, create,
|
| 27 |
+
program and move forward with technology.**
|
|
|
|
| 28 |
|
| 29 |
+
Model: **CORTEX**
|
| 30 |
+
Developer: **Frankenstein-Labs**
|
| 31 |
+
Focus: AI for development, learning and assistance
|
| 32 |
|
| 33 |
+
CORTEX is designed for students, young developers, researchers, creators and users of all ages
|
| 34 |
+
who want to understand and use modern technology. It helps write code, explain concepts, analyse
|
| 35 |
+
projects, find and fix errors, prepare for exams and carry a project through from idea to working
|
| 36 |
+
software.
|
| 37 |
|
| 38 |
+
> « J'ai créé CORTEX pour aider les nouvelles générations à apprendre, créer et construire leur
|
| 39 |
+
> avenir avec la technologie. »
|
| 40 |
+
>
|
| 41 |
+
> — Abdoulaye Coumbassa, founder of Frankenstein-Labs
|
| 42 |
|
| 43 |
---
|
| 44 |
|
| 45 |
+
## What CORTEX does
|
| 46 |
|
| 47 |
+
| Capability | What it means in practice |
|
| 48 |
+
|---|---|
|
| 49 |
+
| **Code Generation** | Write functions, modules and full programs from a description. |
|
| 50 |
+
| **Web Development** | Build and maintain HTML, CSS, JavaScript, APIs and web applications. |
|
| 51 |
+
| **Software Engineering** | Design structure, choose components, document and evolve a codebase. |
|
| 52 |
+
| **Code Analysis** | Read a project, map its architecture and explain how the parts fit together. |
|
| 53 |
+
| **Debugging** | Find the cause of an error, explain it and correct it. |
|
| 54 |
+
| **Learning Assistance** | Teach programming step by step, at the learner's own pace. |
|
| 55 |
+
| **Study & Revision** | Review a course, build revision material and prepare for exams. |
|
| 56 |
+
| **Technical Reasoning** | Break down a complex problem and reason towards a solution. |
|
| 57 |
+
| **Project Assistance** | Support personal, academic and student projects end to end. |
|
| 58 |
+
| **Developer Support** | Answer everyday engineering questions and unblock a developer. |
|
| 59 |
|
| 60 |
+
CORTEX also handles general reasoning and assistance, so it remains useful beyond code.
|
|
|
|
| 61 |
|
| 62 |
---
|
| 63 |
|
| 64 |
## Vision
|
| 65 |
|
| 66 |
+
CORTEX is not limited to one country or one region. It is built for users worldwide, with
|
| 67 |
+
particular attention to technological accessibility and to younger generations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
+
The vision of Frankenstein-Labs is to let young people in Africa and everywhere else learn,
|
| 70 |
+
create, ship projects and take part in the evolution of technology — with the same tools that
|
| 71 |
+
are available to the rest of the world.
|
| 72 |
|
| 73 |
---
|
| 74 |
|
| 75 |
+
## Using CORTEX
|
| 76 |
|
| 77 |
+
Retrieve the repository with the Hugging Face tooling (recommended for very large checkpoints):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
```bash
|
| 80 |
pip install -U "huggingface_hub[hf_xet]"
|
| 81 |
hf download Frankenstein-Labs/Cortex-ai
|
| 82 |
```
|
| 83 |
|
| 84 |
+
Or only the configuration and tokenizer:
|
| 85 |
|
| 86 |
```bash
|
| 87 |
hf download Frankenstein-Labs/Cortex-ai --include "*.json" "LICENSE"
|
| 88 |
```
|
| 89 |
|
| 90 |
+
### Loading
|
| 91 |
|
| 92 |
+
The repository ships a `config.json` and a tokenizer compatible with Transformers.
|
| 93 |
|
| 94 |
```python
|
| 95 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
|
| 100 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
|
| 101 |
```
|
| 102 |
|
| 103 |
+
This checkpoint is about 893 GB on disk. It requires several accelerators and a recent software
|
| 104 |
+
stack. Check that your Transformers version supports `deepseek_v4` before attempting a full load.
|
|
|
|
| 105 |
|
| 106 |
+
### Message encoding
|
| 107 |
|
| 108 |
+
The `encoding/` folder is pure Python with no heavy dependency:
|
| 109 |
|
| 110 |
```python
|
| 111 |
from encoding_dsv4 import encode_messages, parse_message_from_completion_text
|
|
|
|
| 119 |
|
| 120 |
---
|
| 121 |
|
| 122 |
+
## The CORTEX ecosystem
|
| 123 |
+
|
| 124 |
+
| Component | Role | State |
|
| 125 |
+
|---|---|---|
|
| 126 |
+
| **CORTEX** | The intelligence engine and the model distribution | Published |
|
| 127 |
+
| **CORTEX Engine** | Orchestration: agents, tasks, tools, execution | In design |
|
| 128 |
+
| **CORTEX IDE** | AI-assisted development environment | In design |
|
| 129 |
+
| **CORTEX Cloud** | CORTEX-assisted cloud development | In design |
|
| 130 |
|
| 131 |
+
Only **CORTEX** exists today as a published artefact; the rest belongs to the roadmap.
|
| 132 |
+
|
| 133 |
+
---
|
| 134 |
+
|
| 135 |
+
## Technical overview
|
| 136 |
+
|
| 137 |
+
CORTEX runs on a very large mixture-of-experts model designed for long reasoning and code
|
| 138 |
+
generation over very large contexts.
|
| 139 |
+
|
| 140 |
+
| Characteristic | Value |
|
| 141 |
|---|---|
|
| 142 |
+
| Architecture | `DeepseekV4ForCausalLM` (`model_type: deepseek_v4`) |
|
| 143 |
+
| Parameters (Hub metadata) | 1 650 497 936 906 |
|
| 144 |
+
| Transformer layers | 61 |
|
| 145 |
+
| Multi-token prediction (MTP) layers | 3 |
|
| 146 |
+
| Hidden size | 7 168 |
|
| 147 |
+
| Attention heads | 128 |
|
| 148 |
+
| Routed experts | 384, 6 activated per token + 1 shared expert |
|
| 149 |
+
| Vocabulary | 129 280 |
|
| 150 |
+
| Maximum context | 1 048 576 tokens |
|
| 151 |
+
| Weight quantization | FP8 `e4m3`, 128×128 blocks |
|
| 152 |
+
| Expert storage | FP4 |
|
| 153 |
+
| Weights | SafeTensors, 66 shards, ~892.8 GB |
|
| 154 |
+
| Declared dtype | `bfloat16` |
|
| 155 |
+
| Reference CUDA stack | `torch>=2.10.0`, `transformers>=5.0.0` |
|
| 156 |
+
| Reference kernels | `tilelang==0.1.8`, `fast_hadamard_transform` |
|
| 157 |
+
| Languages | French, English, Chinese |
|
| 158 |
+
| License | MIT |
|
| 159 |
|
| 160 |
+
Deployment spans multiple GPUs or multiple nodes. A single-GPU configuration is not documented.
|
|
|
|
| 161 |
|
| 162 |
---
|
| 163 |
|
| 164 |
+
## Verification status
|
| 165 |
|
| 166 |
+
Stating what was measured, and what was not.
|
| 167 |
|
| 168 |
+
**Measured:** full repository consistency was checked. The 66 shards total exactly
|
| 169 |
+
892 727 580 904 bytes, matching the size declared in the index, and the 149 782 tensors in the
|
| 170 |
+
index match those of the shards one to one. The `encoding/` test suite passes, and the tokenizer
|
| 171 |
+
loads and round-trips correctly.
|
| 172 |
|
| 173 |
+
**Not measured:** no end-to-end model load has been run, for lack of suitable hardware. No
|
| 174 |
+
performance figure shown here was produced by Frankenstein-Labs.
|
|
|
|
| 175 |
|
| 176 |
---
|
| 177 |
|
| 178 |
+
## Vision layer — experimental
|
| 179 |
|
| 180 |
+
The repository contains a vision adaptation layer under `cortex_ai/vision/`, under development.
|
|
|
|
| 181 |
|
| 182 |
```text
|
| 183 |
+
IMAGE → VISION ENCODER → PROJECTOR → FUSION → CORTEX → RESPONSE
|
| 184 |
```
|
| 185 |
|
| 186 |
+
Two paths exist: a working bridge that produces a textual description of an image through an
|
| 187 |
+
external model, and a native embedding-fusion prototype, validated on a reduced test core.
|
|
|
|
| 188 |
|
| 189 |
+
**This layer is not operational on the full checkpoint.** No vision encoder, no projector
|
| 190 |
+
weights and no multimodal training data are included. This repository must not be presented as
|
| 191 |
+
an image-understanding model.
|
| 192 |
|
| 193 |
---
|
| 194 |
|
| 195 |
+
## Provenance, license and attribution
|
| 196 |
|
| 197 |
+
This repository is a **redistribution of an existing model**. The CORTEX identity covers the
|
| 198 |
+
project, its documentation and its integration; it does not replace the original attribution.
|
| 199 |
|
| 200 |
+
| Item | Verified information |
|
| 201 |
|---|---|
|
| 202 |
+
| Base model | `deepseek-ai/DeepSeek-V4-Pro-0813` |
|
| 203 |
+
| Base architecture | `DeepseekV4ForCausalLM` (`model_type: deepseek_v4`) |
|
| 204 |
+
| Original author | DeepSeek-AI |
|
| 205 |
+
| License | MIT — Copyright (c) 2023 DeepSeek |
|
| 206 |
+
| License file | [`LICENSE`](LICENSE), reproduced unchanged |
|
| 207 |
+
| Technical report | *DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence*, DeepSeek-AI, 2026 — [arXiv:2606.19348](https://arxiv.org/abs/2606.19348) |
|
| 208 |
+
| vLLM recipe | [recipes.vllm.ai/deepseek-ai/DeepSeek-V4-Pro](https://recipes.vllm.ai/deepseek-ai/DeepSeek-V4-Pro) |
|
| 209 |
+
| SGLang cookbook | [docs.sglang.io](https://docs.sglang.io/cookbook/autoregressive/DeepSeek/DeepSeek-V4) |
|
| 210 |
+
|
| 211 |
+
**Attribution statement.** The weights in this repository come from DeepSeek-AI. Frankenstein-Labs
|
| 212 |
+
did not train, fine-tune, quantize or modify them: they are the original files, byte for byte.
|
| 213 |
+
The design, training and evaluation of the model belong to DeepSeek-AI. The work of
|
| 214 |
+
Frankenstein-Labs covers the project identity, the French-language documentation, the integration
|
| 215 |
+
layer and the ecosystem.
|
| 216 |
+
|
| 217 |
+
**Integrity of the distributed weights.** The 67 LFS objects in this repository carry a SHA-256
|
| 218 |
+
fingerprint identical to that of the original repository. `model.safetensors.index.json` is
|
| 219 |
+
identical. The 66 shards and the 149 782 indexed tensors are present, with no missing or added
|
| 220 |
+
file. The `LICENSE` file is reproduced unchanged.
|
| 221 |
+
|
| 222 |
+
**Citation.** Please cite the original work:
|
| 223 |
|
| 224 |
```bibtex
|
| 225 |
@misc{deepseekai2026deepseekv4,
|
|
|
|
| 231 |
|
| 232 |
---
|
| 233 |
|
| 234 |
+
## Roadmap
|
| 235 |
|
| 236 |
+
- **CORTEX Engine** — agent, task and tool orchestration.
|
| 237 |
+
- **CORTEX IDE** — an AI-native development environment.
|
| 238 |
+
- **CORTEX Cloud** — assisted cloud development workflows.
|
| 239 |
+
- **Complete French documentation** — guides, tutorials and examples.
|
| 240 |
+
- **Vision layer** — encoder selection, projector training, end-to-end validation.
|
| 241 |
|
| 242 |
---
|
| 243 |
|
| 244 |
+
## Disclaimer
|
| 245 |
|
| 246 |
+
This checkpoint is extremely large and requires specialised hardware. Verify the runtime,
|
| 247 |
+
accelerator memory, driver stack and license obligations before any deployment.
|
|
|
|
| 248 |
|
| 249 |
---
|
| 250 |
|
| 251 |
+
*CORTEX — developed by Frankenstein-Labs.*
|
| 252 |
+
*Base model: DeepSeek-V4-Pro, DeepSeek-AI, under the MIT license.*
|
docs/README.fr.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
-
# Documentation CORTEX
|
| 2 |
|
| 3 |
-
Documentation en français pour **CORTEX
|
|
|
|
|
|
|
| 4 |
|
| 5 |
-
CORTEX
|
| 6 |
-
**Frankenstein-Labs**.
|
| 7 |
-
|
| 8 |
|
| 9 |
---
|
| 10 |
|
|
@@ -24,17 +26,19 @@ sous licence MIT.
|
|
| 24 |
|
| 25 |
## En une minute
|
| 26 |
|
| 27 |
-
CORTEX
|
| 28 |
-
long, la génération de code et la compréhension de contextes de plus d'un million
|
|
|
|
| 29 |
|
| 30 |
Trois choses à savoir avant de commencer :
|
| 31 |
|
| 32 |
1. **Le modèle est énorme.** Environ 893 Go sur disque. Il ne tourne pas sur une machine
|
| 33 |
ordinaire, ni sur un seul GPU. Prévoyez un serveur multi-GPU.
|
| 34 |
-
2. **
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
|
|
|
| 38 |
|
| 39 |
---
|
| 40 |
|
|
|
|
| 1 |
+
# Documentation CORTEX
|
| 2 |
|
| 3 |
+
Documentation en français pour **CORTEX**, l'intelligence artificielle développée par
|
| 4 |
+
**Frankenstein-Labs** pour aider les personnes à apprendre, créer, programmer et progresser
|
| 5 |
+
dans la technologie.
|
| 6 |
|
| 7 |
+
CORTEX est un projet créé et développé par **Abdoulaye Coumbassa**, fondateur de
|
| 8 |
+
**Frankenstein-Labs**. Le modèle technique sur lequel s'appuie CORTEX est décrit, avec son
|
| 9 |
+
attribution et sa licence, dans la section « Provenance et licence » plus bas.
|
| 10 |
|
| 11 |
---
|
| 12 |
|
|
|
|
| 26 |
|
| 27 |
## En une minute
|
| 28 |
|
| 29 |
+
CORTEX s'appuie sur un modèle de très grande taille, à mixture d'experts, conçu pour le
|
| 30 |
+
raisonnement long, la génération de code et la compréhension de contextes de plus d'un million
|
| 31 |
+
de tokens.
|
| 32 |
|
| 33 |
Trois choses à savoir avant de commencer :
|
| 34 |
|
| 35 |
1. **Le modèle est énorme.** Environ 893 Go sur disque. Il ne tourne pas sur une machine
|
| 36 |
ordinaire, ni sur un seul GPU. Prévoyez un serveur multi-GPU.
|
| 37 |
+
2. **Les poids sont distribués tels quels.** Frankenstein-Labs ne les a pas modifiés : ce sont
|
| 38 |
+
les fichiers d'origine, octet pour octet. L'attribution complète figure dans la section
|
| 39 |
+
« Provenance et licence ».
|
| 40 |
+
3. **La documentation est en français.** C'est la contribution propre du projet : rendre cette
|
| 41 |
+
intelligence utilisable par des développeurs francophones.
|
| 42 |
|
| 43 |
---
|
| 44 |
|