Instructions to use cortexso/cogito-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use cortexso/cogito-v1 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="cortexso/cogito-v1", filename="cogito-v1-preview-llama-3b-q2_k.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use cortexso/cogito-v1 with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf cortexso/cogito-v1:Q4_K_M # Run inference directly in the terminal: llama-cli -hf cortexso/cogito-v1:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf cortexso/cogito-v1:Q4_K_M # Run inference directly in the terminal: llama-cli -hf cortexso/cogito-v1:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf cortexso/cogito-v1:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf cortexso/cogito-v1:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf cortexso/cogito-v1:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf cortexso/cogito-v1:Q4_K_M
Use Docker
docker model run hf.co/cortexso/cogito-v1:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use cortexso/cogito-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cortexso/cogito-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cortexso/cogito-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cortexso/cogito-v1:Q4_K_M
- Ollama
How to use cortexso/cogito-v1 with Ollama:
ollama run hf.co/cortexso/cogito-v1:Q4_K_M
- Unsloth Studio new
How to use cortexso/cogito-v1 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for cortexso/cogito-v1 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for cortexso/cogito-v1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for cortexso/cogito-v1 to start chatting
- Pi new
How to use cortexso/cogito-v1 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf cortexso/cogito-v1:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "cortexso/cogito-v1:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use cortexso/cogito-v1 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf cortexso/cogito-v1:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default cortexso/cogito-v1:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use cortexso/cogito-v1 with Docker Model Runner:
docker model run hf.co/cortexso/cogito-v1:Q4_K_M
- Lemonade
How to use cortexso/cogito-v1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cortexso/cogito-v1:Q4_K_M
Run and chat with the model
lemonade run user.cogito-v1-Q4_K_M
List all available models
lemonade list
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
pipeline_tag: text-generation
|
| 4 |
+
tags:
|
| 5 |
+
- cortex.cpp
|
| 6 |
+
- featured
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
## Overview
|
| 10 |
+
|
| 11 |
+
**DeepCogito** introduces the **Cogito-v1 Preview** series, a powerful suite of hybrid reasoning models trained with Iterated Distillation and Amplification (IDA). These models are designed to push the boundaries of open-weight LLMs through scalable alignment and self-improvement strategies, offering unmatched performance across coding, STEM, multilingual, and agentic use cases.
|
| 12 |
+
|
| 13 |
+
Each model in this series operates in both **standard** (direct answer) and **reasoning** (self-reflective) modes, significantly outperforming size-equivalent open models such as LLaMA, DeepSeek, and Qwen. The 70B variant notably surpasses the newly released LLaMA 4 109B MoE model in benchmarks.
|
| 14 |
+
|
| 15 |
+
## Variants
|
| 16 |
+
|
| 17 |
+
### Cogito-v1 Preview
|
| 18 |
+
|
| 19 |
+
| No | Variant | Branch | Cortex CLI command |
|
| 20 |
+
|----|--------------------------------------------------------------------------------------------------|--------|-----------------------------------------------|
|
| 21 |
+
| 1 | [Cogito-v1-Preview-LLaMA-3B](https://huggingface.co/cortexso/cogito-v1/tree/3b) | 3b | `cortex run cognito-v1:3b` |
|
| 22 |
+
| 2 | [Cogito-v1-Preview-LLaMA-8B](https://huggingface.co/cortexso/cogito-v1/tree/8b) | 8b | `cortex run cognito-v1:8b` |
|
| 23 |
+
| 3 | [Cogito-v1-Preview-Qwen-14B](https://huggingface.co/cortexso/cogito-v1/tree/14b) | 14b | `cortex run cognito-v1:14b` |
|
| 24 |
+
| 4 | [Cogito-v1-Preview-Qwen-32B](https://huggingface.co/cortexso/cogito-v1/tree/32b) | 32b | `cortex run cognito-v1:32b` |
|
| 25 |
+
| 5 | [Cogito-v1-Preview-LLaMA-70B](https://huggingface.co/cortexso/cogito-v1/tree/70b) | 70b | `cortex run cognito-v1:70b` |
|
| 26 |
+
|
| 27 |
+
Each branch contains a default quantized version:
|
| 28 |
+
- **LLaMA-3B:** q4-km
|
| 29 |
+
- **LLaMA-8B:** q4-km
|
| 30 |
+
- **Qwen-14B:** q4-km
|
| 31 |
+
- **Qwen-32B:** q4-km
|
| 32 |
+
- **LLaMA-70B:** q4-km
|
| 33 |
+
|
| 34 |
+
## Use it with Jan (UI)
|
| 35 |
+
|
| 36 |
+
1. Install **Jan** using [Quickstart](https://jan.ai/docs/quickstart)
|
| 37 |
+
2. Use in Jan model Hub:
|
| 38 |
+
```bash
|
| 39 |
+
deepcogito/cognito-v1
|
| 40 |
+
```
|
| 41 |
+
## Use it with Cortex (CLI)
|
| 42 |
+
|
| 43 |
+
1. Install Cortex using [Quickstart](https://cortex.so/)
|
| 44 |
+
2. Run the model with command:
|
| 45 |
+
```bash
|
| 46 |
+
cortex run cognito-v1
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
## Credits
|
| 50 |
+
|
| 51 |
+
- **Author:** DeepCogito
|
| 52 |
+
- **Original License:** [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)
|
| 53 |
+
- **Papers:** [Cognito v1 Preview](https://www.deepcogito.com/research/cogito-v1-preview)
|