Text Generation
Transformers
Safetensors
English
qwen3_5_text
captain-aegis
qwen3.5
conversational
tool-use
research
Instructions to use Henrybarton/captainaegis-flagship with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Henrybarton/captainaegis-flagship with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Henrybarton/captainaegis-flagship") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Henrybarton/captainaegis-flagship") model = AutoModelForCausalLM.from_pretrained("Henrybarton/captainaegis-flagship", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Henrybarton/captainaegis-flagship with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Henrybarton/captainaegis-flagship" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Henrybarton/captainaegis-flagship", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Henrybarton/captainaegis-flagship
- SGLang
How to use Henrybarton/captainaegis-flagship 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 "Henrybarton/captainaegis-flagship" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Henrybarton/captainaegis-flagship", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "Henrybarton/captainaegis-flagship" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Henrybarton/captainaegis-flagship", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Henrybarton/captainaegis-flagship with Docker Model Runner:
docker model run hf.co/Henrybarton/captainaegis-flagship
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -2,53 +2,114 @@
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
library_name: transformers
|
|
|
|
| 5 |
tags:
|
| 6 |
-
- text-generation
|
| 7 |
- captain-aegis
|
|
|
|
|
|
|
|
|
|
| 8 |
- research
|
| 9 |
- safetensors
|
| 10 |
-
pipeline_tag: text-generation
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
|
| 23 |
-
- Optional use with the separately packaged **Captain AEGIS public runtime** and independently allowlisted Wizards/Wands.
|
| 24 |
-
- Educational explanations and guided study in **NeVeRhOOd Academy**, after the inference service is deployed.
|
| 25 |
|
| 26 |
-
|
| 27 |
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
-
##
|
| 33 |
|
| 34 |
-
|
| 35 |
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
-
The
|
| 39 |
|
| 40 |
-
##
|
| 41 |
|
| 42 |
-
|
| 43 |
|
| 44 |
-
|
| 45 |
|
| 46 |
-
|
| 47 |
|
| 48 |
-
##
|
| 49 |
|
| 50 |
-
-
|
| 51 |
-
|
| 52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
-
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
library_name: transformers
|
| 5 |
+
pipeline_tag: text-generation
|
| 6 |
tags:
|
|
|
|
| 7 |
- captain-aegis
|
| 8 |
+
- qwen3.5
|
| 9 |
+
- conversational
|
| 10 |
+
- tool-use
|
| 11 |
- research
|
| 12 |
- safetensors
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
+
<p align="center">
|
| 16 |
+
<img src="https://raw.githubusercontent.com/tooljhlb/NeVeRhOOd-Academy/main/site/assets/captain-aegis-banner.svg" alt="Captain AEGIS: operational and learning fabric" width="100%">
|
| 17 |
+
</p>
|
| 18 |
+
|
| 19 |
+
# Captain AEGIS Flagship
|
| 20 |
+
|
| 21 |
+
### Conversational AI · Code Assistance · Wizards/Wands Architecture · Experimental Multimodal Production
|
| 22 |
+
|
| 23 |
+
**Built by Henry Barton / NeVeRhOOd**
|
| 24 |
+
|
| 25 |
+
**Release state: Private verification / pre-release.** The model card and inference metadata are staged. The five large checkpoint shards are **not yet all uploaded or validated** in this repository. The original bucket remains the authoritative source.
|
| 26 |
+
|
| 27 |
+
Captain AEGIS is an independent AI engineering project centered on a **Qwen3.5-4B-derived text-model checkpoint**, a structured chat and tool-use runtime, and a wider architecture for model-assisted applications. The goal is to make a useful downloadable model accompanied by an auditable runtime and an approachable, interactive chat experience.
|
| 28 |
+
|
| 29 |
+
> **Start here:** [Explore the interactive Captain Tesseract](https://github.com/tooljhlb/NeVeRhOOd-Academy/blob/main/site/captain/index.html) · [NeVeRhOOd Academy](https://github.com/tooljhlb/NeVeRhOOd-Academy) · [GitHub profile](https://github.com/tooljhlb)
|
| 30 |
+
|
| 31 |
+
## What Captain is
|
| 32 |
|
| 33 |
+
| Component | Verified source information |
|
| 34 |
+
|:--|:--|
|
| 35 |
+
| Architecture | `Qwen3_5ForCausalLM`, model type `qwen3_5_text` |
|
| 36 |
+
| Saved model | 4,205,751,296 physical parameters (historical checkpoint index) |
|
| 37 |
+
| Weights | Five BF16 SafeTensors shards, ~8.41 GB |
|
| 38 |
+
| Context configuration | Determined by the accompanying config and active runtime limits; not independently performance-verified |
|
| 39 |
+
| Tokenizer | Original `tokenizer.json` + `tokenizer_config.json` + `chat_template.jinja` |
|
| 40 |
+
| Development | Original merge record identifies Qwen3.5-4B source, training adapter, and a 16-step training report |
|
| 41 |
+
| 78.75 GB figure | Declared **future body target**, not downloaded learned weights |
|
| 42 |
+
| Inference | Private source includes a CUDA Transformers backend and streaming OpenAI-shaped API; fresh checkpoint validation pending |
|
| 43 |
|
| 44 |
+
### Capabilities and development directions
|
| 45 |
|
| 46 |
+
- **Conversation and code:** central intended use of the saved language-model checkpoint.
|
| 47 |
+
- **Structured tools:** the separate runtime offers model/tool-call parsing, allowlisted Wizards/Wands, bounded tool rounds, and tool-result reinjection.
|
| 48 |
+
- **Streaming chat:** an OpenAI-compatible SSE interface exists in the private source; a fully verified public hosted release is still in progress.
|
| 49 |
+
- **Learning and evaluation:** training/evaluation reports and acceptance gates are part of the broader AEGIS system; they must not be mistaken for live self-training by this checkpoint.
|
| 50 |
+
- **Video, music and image-production workflows:** additional independent production-plan packs and proposed orchestration capabilities exist outside the root checkpoint. Their schemas can be generalized into tools for shot planning, characters, camera, music cues, scene continuity and video analysis. The root text checkpoint alone is **not** verified as a native video/audio renderer.
|
| 51 |
|
| 52 |
+
## Explore the system design
|
|
|
|
|
|
|
| 53 |
|
| 54 |
+
The operational/learning Tesseract organizes twelve conceptual facets:
|
| 55 |
|
| 56 |
+
| Operational fabric | Learning and executive fabric |
|
| 57 |
+
|:--|:--|
|
| 58 |
+
| F1 Perception and grounding | F7 Teachers and specialist routing |
|
| 59 |
+
| F2 Context and persistent memory | F8 Curriculum and education |
|
| 60 |
+
| F3 Reasoning and adaptive attention | F9 Neural training and weight generation |
|
| 61 |
+
| F4 Planning and world simulation | F10 Verification and reconciliation |
|
| 62 |
+
| F5 Action through Wizards/Wands | F11 Skills, organs and versioning |
|
| 63 |
+
| F6 Generation and production | F12 Executive coordination and compute |
|
| 64 |
|
| 65 |
+
These are *system-design mappings*, not a claim that the deployed model has already implemented or mastered all twelve facets.
|
| 66 |
|
| 67 |
+
## Model files and bucket layout
|
| 68 |
|
| 69 |
+
Only the **root model artifacts** belong in the downloadable model repository:
|
| 70 |
|
| 71 |
+
```text
|
| 72 |
+
config.json
|
| 73 |
+
generation_config.json
|
| 74 |
+
chat_template.jinja
|
| 75 |
+
tokenizer.json
|
| 76 |
+
tokenizer_config.json
|
| 77 |
+
model.safetensors.index.json
|
| 78 |
+
model-00001-of-00005.safetensors
|
| 79 |
+
model-00002-of-00005.safetensors
|
| 80 |
+
model-00003-of-00005.safetensors
|
| 81 |
+
model-00004-of-00005.safetensors
|
| 82 |
+
model-00005-of-00005.safetensors
|
| 83 |
+
```
|
| 84 |
|
| 85 |
+
The original storage bucket also holds `experiments/`, `heavy-body-v1/`, and `packs/`. Those are *not* interchangeable with root model weights and will not be bundled indiscriminately. The heavy-body folder contains archived/copied root components and planning artifacts, not proof of a complete 78.75 GB trained body.
|
| 86 |
|
| 87 |
+
## Video direction and production-planning research
|
| 88 |
|
| 89 |
+
One archived creative-production pack models an end-to-end movie workflow: story beats, scene blocks, character identities, location and prop continuity, dialogue, camera plans, music direction, editorial rules, reference images and proof receipts.
|
| 90 |
|
| 91 |
+
A second pack describes geometric/visual concepts such as depth, fractal layers, texture, light and motion continuity. These represent **research and planning artifacts**, not established learned vision weights.
|
| 92 |
|
| 93 |
+
The planned **generic** Wizards/Wands production system will accept original stories and properly licensed reference media, produce structured scene/shot plans, invoke compatible renderers, inspect outputs and record corrections. Franchise-specific material and unverified third-party reference assets will not be released as part of the generic toolkit.
|
| 94 |
|
| 95 |
+
## How to run it
|
| 96 |
|
| 97 |
+
A compatible CUDA-capable environment, supported Transformers release, sufficient GPU memory, and the complete model repository are required. This checkpoint has not yet passed a fresh end-to-end load and generation test from the new repository; therefore, no copy-paste inference command is labelled verified here.
|
| 98 |
+
|
| 99 |
+
Once validated, the public runtime will provide `/v1/models`, `/v1/chat/completions`, health/readiness endpoints, SSE streaming and a narrowly scoped optional tool registry. The separate inference service will not depend on the owner's private Colab cluster.
|
| 100 |
+
|
| 101 |
+
## Live chat
|
| 102 |
+
|
| 103 |
+
A public **Hugging Face Space** is planned for chat, code assistance, read-only educational tools and an interactive architecture explorer. An embedded model-page conversational widget additionally requires a Hugging Face Inference Provider to deploy this exact model. The `text-generation` metadata **does not automatically activate hosted inference**.
|
| 104 |
+
|
| 105 |
+
## Research evidence, provenance and release conditions
|
| 106 |
+
|
| 107 |
+
The source's original `merge_report.json` records a saved merged checkpoint and a training history; the separate `active_slice_footprint_report.json` records about 8.43 GB of saved artifacts against a 78.75 GB target budget. Neither report certifies video rendering, benchmark rankings or a production-quality autonomous agent.
|
| 108 |
+
|
| 109 |
+
**Before public release:** verify exact upstream model license/attribution, rights to training materials, all five shard hashes and SafeTensors metadata, tokenizer/chat-template compatibility, actual model load, representative text/code/tool outputs, GPU memory usage and safety boundaries.
|
| 110 |
+
|
| 111 |
+
**License:** not yet declared for this derived checkpoint, pending upstream lineage verification. This is not permission to redistribute or commercialize it.
|
| 112 |
+
|
| 113 |
+
---
|
| 114 |
|
| 115 |
+
**NeVeRhOOd** · Independent AI engineering, software development and systems research · Cleveland, Ohio.
|