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 ·
e1985ae
1
Parent(s): 8fd8333
docs(cortex): trim redundant model card tags
Browse filesDrop tags that duplicate Hub metadata or each other (cortex-ai, frankenstein-labs,
reasoning, long-context, fp8). Keep base_model and license: mit because the weights
are still the byte-identical upstream files, so the parent relation and the MIT
attribution remain factually and legally required.
Co-authored-by: openhands <openhands@all-hands.dev>
AGENTS.md
CHANGED
|
@@ -13,9 +13,18 @@ or repeat claims that turn out to be wrong.
|
|
| 13 |
product. The base model is named only in the frontmatter `base_model` key, in the technical
|
| 14 |
overview (architecture names) and in the "Provenance, license and attribution" section. Do not
|
| 15 |
move that attribution back into the opening or drop it — the MIT license requires it.
|
| 16 |
-
- Card frontmatter `tags` were
|
| 17 |
-
`
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
- All 66 `model-*.safetensors` shards plus `model.safetensors.index.json` have SHA-256
|
| 20 |
**identical to upstream** (67/67 LFS objects match). Verified via the HF tree API.
|
| 21 |
- There is no `git-lfs` binary in this image. Fetch weights as pointer files only:
|
|
|
|
| 13 |
product. The base model is named only in the frontmatter `base_model` key, in the technical
|
| 14 |
overview (architecture names) and in the "Provenance, license and attribution" section. Do not
|
| 15 |
move that attribution back into the opening or drop it — the MIT license requires it.
|
| 16 |
+
- Card frontmatter `tags` were cleaned up to the minimum that adds signal: `cortex`,
|
| 17 |
+
`text-generation`, `code-generation`, `web-development`, `software-engineering`, `moe`.
|
| 18 |
+
Removed as redundant with the Hugging Face metadata or with each other: `cortex-ai` (repo
|
| 19 |
+
slug), `frankenstein-labs` (namespace), `reasoning` / `long-context` (already implied by
|
| 20 |
+
`text-generation` + the architecture), `fp8` (already exposed by the Hub as `8-bit` from
|
| 21 |
+
`config.json`). Hub-derived tags (`transformers`, `safetensors`, `deepseek_v4`, `8-bit`,
|
| 22 |
+
`endpoints_compatible`, `region:us`) come from `config.json` and cannot be removed from the
|
| 23 |
+
card.
|
| 24 |
+
- `base_model: deepseek-ai/DeepSeek-V4-Pro-0813` and `license: mit` are **kept on purpose**.
|
| 25 |
+
The 67 LFS objects are byte-identical to upstream, so the parent relationship is factual and
|
| 26 |
+
the MIT attribution is legally required. Do not remove either without evidence that the
|
| 27 |
+
weights were replaced by independently trained ones.
|
| 28 |
- All 66 `model-*.safetensors` shards plus `model.safetensors.index.json` have SHA-256
|
| 29 |
**identical to upstream** (67/67 LFS objects match). Verified via the HF tree API.
|
| 30 |
- There is no `git-lfs` binary in this image. Fetch weights as pointer files only:
|
README.md
CHANGED
|
@@ -9,16 +9,11 @@ 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
|
|
|
|
| 9 |
base_model: deepseek-ai/DeepSeek-V4-Pro-0813
|
| 10 |
tags:
|
| 11 |
- cortex
|
|
|
|
|
|
|
| 12 |
- text-generation
|
| 13 |
- code-generation
|
| 14 |
- web-development
|
| 15 |
- software-engineering
|
|
|
|
|
|
|
| 16 |
- moe
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# CORTEX
|