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
Merge upstream docs commits from Frankenstein-Labs/Cortex-ai
Browse filesBrings in two documentation-only upstream commits:
1895cec docs(cortex-ai): emphasize project identity in model card
0afd8ee docs(cortex-ai): remove base model tree link
Both touch only README.md, which the local stage-1 vision projector work does not
modify, so the merge is conflict-free. The 66 DeepSeek-V4-Pro shard LFS pointers are
byte-identical before and after.
Co-authored-by: openhands <openhands@all-hands.dev>
README.md
CHANGED
|
@@ -5,7 +5,6 @@ language:
|
|
| 5 |
- zh
|
| 6 |
library_name: transformers
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
-
base_model: deepseek-ai/DeepSeek-V4-Pro-0813
|
| 9 |
tags:
|
| 10 |
- cortex-ai
|
| 11 |
- text-generation
|
|
@@ -27,8 +26,7 @@ The project is created and developed by **Abdoulaye Coumbassa**, founder of
|
|
| 27 |
**Frankenstein-Labs**. This is project identity information; it does not replace upstream model attribution.
|
| 28 |
|
| 29 |
This repository does **not** contain a newly trained model. It is a Hugging Face distribution
|
| 30 |
-
of the upstream
|
| 31 |
-
checkpoint published under the CORTEX AI identity. CORTEX provides the project identity,
|
| 32 |
documentation, integration direction and ecosystem around the model. The upstream model design,
|
| 33 |
training and evaluation remain attributable to DeepSeek AI — see
|
| 34 |
[Provenance, license and attribution](#provenance-license-and-attribution).
|
|
@@ -538,12 +536,11 @@ integration. It does not replace the upstream attribution.
|
|
| 538 |
|
| 539 |
| Item | Verified information |
|
| 540 |
|---|---|
|
| 541 |
-
|
|
| 542 |
| Upstream architecture | `DeepseekV4ForCausalLM` (`model_type: deepseek_v4`) |
|
| 543 |
| Upstream author | DeepSeek AI |
|
| 544 |
| License | MIT — Copyright (c) 2023 DeepSeek |
|
| 545 |
| License file | [`LICENSE`](LICENSE), reproduced unchanged |
|
| 546 |
-
| Upstream model card | [DeepSeek-V4-Pro-0813](https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro-0813) |
|
| 547 |
| Technical report | *DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence*, DeepSeek-AI, 2026 |
|
| 548 |
| Upstream vLLM recipe | [recipes.vllm.ai](https://recipes.vllm.ai/deepseek-ai/DeepSeek-V4-Pro) |
|
| 549 |
| Upstream SGLang cookbook | [docs.sglang.io](https://docs.sglang.io/cookbook/autoregressive/DeepSeek/DeepSeek-V4) |
|
|
@@ -596,3 +593,8 @@ upstream checkpoint, as shown above.
|
|
| 596 |
|
| 597 |
This checkpoint is extremely large and requires specialised hardware and software support.
|
| 598 |
Validate the runtime, accelerator memory, driver stack and license obligations before deploying it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
- zh
|
| 6 |
library_name: transformers
|
| 7 |
pipeline_tag: text-generation
|
|
|
|
| 8 |
tags:
|
| 9 |
- cortex-ai
|
| 10 |
- text-generation
|
|
|
|
| 26 |
**Frankenstein-Labs**. This is project identity information; it does not replace upstream model attribution.
|
| 27 |
|
| 28 |
This repository does **not** contain a newly trained model. It is a Hugging Face distribution
|
| 29 |
+
of the upstream DeepSeek-V4-Pro-0813 checkpoint published under the CORTEX AI identity. CORTEX provides the project identity,
|
|
|
|
| 30 |
documentation, integration direction and ecosystem around the model. The upstream model design,
|
| 31 |
training and evaluation remain attributable to DeepSeek AI — see
|
| 32 |
[Provenance, license and attribution](#provenance-license-and-attribution).
|
|
|
|
| 536 |
|
| 537 |
| Item | Verified information |
|
| 538 |
|---|---|
|
| 539 |
+
| Original model | DeepSeek-V4-Pro-0813 |
|
| 540 |
| Upstream architecture | `DeepseekV4ForCausalLM` (`model_type: deepseek_v4`) |
|
| 541 |
| Upstream author | DeepSeek AI |
|
| 542 |
| License | MIT — Copyright (c) 2023 DeepSeek |
|
| 543 |
| License file | [`LICENSE`](LICENSE), reproduced unchanged |
|
|
|
|
| 544 |
| Technical report | *DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence*, DeepSeek-AI, 2026 |
|
| 545 |
| Upstream vLLM recipe | [recipes.vllm.ai](https://recipes.vllm.ai/deepseek-ai/DeepSeek-V4-Pro) |
|
| 546 |
| Upstream SGLang cookbook | [docs.sglang.io](https://docs.sglang.io/cookbook/autoregressive/DeepSeek/DeepSeek-V4) |
|
|
|
|
| 593 |
|
| 594 |
This checkpoint is extremely large and requires specialised hardware and software support.
|
| 595 |
Validate the runtime, accelerator memory, driver stack and license obligations before deploying it.
|
| 596 |
+
|
| 597 |
+
### Original model attribution
|
| 598 |
+
|
| 599 |
+
Copyright © 2023 DeepSeek. Original model design, training, evaluation and weights are attributed
|
| 600 |
+
to DeepSeek AI. The original model reference is retained [here](https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro-0813).
|