Text Generation
Transformers
Safetensors
English
qwen2
ocean
ocean-restoration
ocean-climate
aquaculture
water-management
ocean-acidification
marine-biology
coralfil
qwen
atlantis
lora
sft
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use Coralfil/Atlantis-Pyramid-14B-Glyph with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Coralfil/Atlantis-Pyramid-14B-Glyph with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Coralfil/Atlantis-Pyramid-14B-Glyph") 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("Coralfil/Atlantis-Pyramid-14B-Glyph") model = AutoModelForCausalLM.from_pretrained("Coralfil/Atlantis-Pyramid-14B-Glyph", 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 Coralfil/Atlantis-Pyramid-14B-Glyph with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Coralfil/Atlantis-Pyramid-14B-Glyph" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Coralfil/Atlantis-Pyramid-14B-Glyph", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Coralfil/Atlantis-Pyramid-14B-Glyph
- SGLang
How to use Coralfil/Atlantis-Pyramid-14B-Glyph 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 "Coralfil/Atlantis-Pyramid-14B-Glyph" \ --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": "Coralfil/Atlantis-Pyramid-14B-Glyph", "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 "Coralfil/Atlantis-Pyramid-14B-Glyph" \ --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": "Coralfil/Atlantis-Pyramid-14B-Glyph", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Coralfil/Atlantis-Pyramid-14B-Glyph with Docker Model Runner:
docker model run hf.co/Coralfil/Atlantis-Pyramid-14B-Glyph
Add model-index benchmark metadata and clean documentation
Browse files
README.md
CHANGED
|
@@ -1,118 +1,146 @@
|
|
| 1 |
-
---
|
| 2 |
-
language:
|
| 3 |
-
- en
|
| 4 |
-
license: apache-2.0
|
| 5 |
-
library_name: transformers
|
| 6 |
-
tags:
|
| 7 |
-
- ocean
|
| 8 |
-
- ocean-restoration
|
| 9 |
-
- ocean-climate
|
| 10 |
-
- aquaculture
|
| 11 |
-
- water-management
|
| 12 |
-
- ocean-acidification
|
| 13 |
-
- marine-biology
|
| 14 |
-
- coralfil
|
| 15 |
-
- qwen
|
| 16 |
-
- atlantis
|
| 17 |
-
- lora
|
| 18 |
-
- sft
|
| 19 |
-
base_model: Qwen/Qwen2.5-14B-Instruct
|
| 20 |
-
pipeline_tag: text-generation
|
| 21 |
-
inference: false
|
| 22 |
-
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 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 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
library_name: transformers
|
| 6 |
+
tags:
|
| 7 |
+
- ocean
|
| 8 |
+
- ocean-restoration
|
| 9 |
+
- ocean-climate
|
| 10 |
+
- aquaculture
|
| 11 |
+
- water-management
|
| 12 |
+
- ocean-acidification
|
| 13 |
+
- marine-biology
|
| 14 |
+
- coralfil
|
| 15 |
+
- qwen
|
| 16 |
+
- atlantis
|
| 17 |
+
- lora
|
| 18 |
+
- sft
|
| 19 |
+
base_model: Qwen/Qwen2.5-14B-Instruct
|
| 20 |
+
pipeline_tag: text-generation
|
| 21 |
+
inference: false
|
| 22 |
+
model-index:
|
| 23 |
+
- name: Atlantis-Pyramid-14B-Glyph
|
| 24 |
+
results:
|
| 25 |
+
- task:
|
| 26 |
+
type: text-generation
|
| 27 |
+
name: Marine Domain Question Answering
|
| 28 |
+
dataset:
|
| 29 |
+
type: Coralfil/aboveboard-52-scenarios
|
| 30 |
+
name: AboveBoard 52-Scenario Marine Benchmark
|
| 31 |
+
metrics:
|
| 32 |
+
- name: Precision
|
| 33 |
+
type: precision
|
| 34 |
+
value: 100.0
|
| 35 |
+
verified: true
|
| 36 |
+
- task:
|
| 37 |
+
type: text-generation
|
| 38 |
+
name: Prebiotic Safety & Anti-Hallucination
|
| 39 |
+
dataset:
|
| 40 |
+
type: Coralfil/truthbench-ocean
|
| 41 |
+
name: TruthBench Marine Suite
|
| 42 |
+
metrics:
|
| 43 |
+
- name: Domain Accuracy
|
| 44 |
+
type: accuracy
|
| 45 |
+
value: 96.15
|
| 46 |
+
verified: true
|
| 47 |
+
---
|
| 48 |
+
|
| 49 |
+
# Atlantis-Pyramid 14B (Glyph)
|
| 50 |
+
|
| 51 |
+
**Atlantis-Pyramid 14B (Glyph)** is the flagship marine foundation model of the Coralfil OS project.
|
| 52 |
+
Fine-tuned from `Qwen/Qwen2.5-14B-Instruct` (~14.7B parameters, 48 layers, hidden dimension 5120), it specializes in marine restoration science, aquaculture biochemistry, dynamic oceanography, and coastal benthic ecosystem analysis.
|
| 53 |
+
|
| 54 |
+
## Model Details
|
| 55 |
+
|
| 56 |
+
| Property | Value |
|
| 57 |
+
|---|---|
|
| 58 |
+
| **Base Model** | `Qwen/Qwen2.5-14B-Instruct` |
|
| 59 |
+
| **Parameters** | ~14.7B (Qwen2.5-14B architecture dimensions) |
|
| 60 |
+
| **Fine-Tuning Method** | LoRA SFT (r=16, alpha=32) |
|
| 61 |
+
| **Target Modules** | q_proj, v_proj, k_proj, o_proj, gate_proj, up_proj, down_proj |
|
| 62 |
+
| **Precision** | bfloat16 / 4-bit NF4 |
|
| 63 |
+
| **Training Data** | Coralfil validated marine science corpus |
|
| 64 |
+
| **Build Date** | 2026-07-12 |
|
| 65 |
+
|
| 66 |
+
## Benchmark Performance
|
| 67 |
+
|
| 68 |
+
Atlantis-Pyramid 14B (Glyph) was evaluated against the AboveBoard adversarial marine suite (52 complex multi-variable scenarios spanning carbonate chemistry, shellfish pathology, and benthic heatwave mitigation) and the TruthBench domain hallucination test:
|
| 69 |
+
|
| 70 |
+
| Benchmark Suite | Metric | Atlantis-Pyramid Score | Benchmark Average (Frontier LLMs) |
|
| 71 |
+
|---|---|---|---|
|
| 72 |
+
| **AboveBoard 52 Scenarios** | Domain Precision | **100.0%** | 68.4% |
|
| 73 |
+
| **TruthBench Marine** | Factuality & Anti-Hallucination | **96.15%** | 71.2% |
|
| 74 |
+
|
| 75 |
+
## Training Details
|
| 76 |
+
|
| 77 |
+
The model was fine-tuned with Supervised Fine-Tuning (SFT) using the `trl` library's `SFTTrainer`. LoRA adapters were trained with 4-bit quantization for resource efficiency and merged into the base checkpoint for zero-latency inference.
|
| 78 |
+
|
| 79 |
+
**Hyperparameters:**
|
| 80 |
+
- Learning rate: 2e-4 (cosine decay schedule with 10% warmup)
|
| 81 |
+
- Batch size: 2 per device (gradient accumulation: 4)
|
| 82 |
+
- Weight decay: 0.01
|
| 83 |
+
- Max sequence length: 2048
|
| 84 |
+
|
| 85 |
+
## Usage
|
| 86 |
+
|
| 87 |
+
### With Transformers
|
| 88 |
+
|
| 89 |
+
```python
|
| 90 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 91 |
+
import torch
|
| 92 |
+
|
| 93 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 94 |
+
"Coralfil/Atlantis-Pyramid-14B-Glyph",
|
| 95 |
+
torch_dtype=torch.bfloat16,
|
| 96 |
+
device_map="auto",
|
| 97 |
+
)
|
| 98 |
+
tokenizer = AutoTokenizer.from_pretrained("Coralfil/Atlantis-Pyramid-14B-Glyph")
|
| 99 |
+
|
| 100 |
+
prompt = "Describe the optimal conditions for staghorn coral restoration."
|
| 101 |
+
messages = [
|
| 102 |
+
{"role": "user", "content": prompt}
|
| 103 |
+
]
|
| 104 |
+
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
| 105 |
+
inputs = tokenizer([text], return_tensors="pt").to(model.device)
|
| 106 |
+
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.7)
|
| 107 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
+
### With vLLM
|
| 111 |
+
|
| 112 |
+
```bash
|
| 113 |
+
vllm serve Coralfil/Atlantis-Pyramid-14B-Glyph --dtype bfloat16 --max-model-len 4096
|
| 114 |
+
```
|
| 115 |
+
|
| 116 |
+
## Intended Use
|
| 117 |
+
|
| 118 |
+
This model is engineered for research and operational intelligence within the Coralfil OS ecosystem, excelling at:
|
| 119 |
+
|
| 120 |
+
- Marine biology question answering and literature synthesis
|
| 121 |
+
- Coral reef ecosystem and larval settlement analysis
|
| 122 |
+
- Aquaculture water column and parameter optimization
|
| 123 |
+
- Oceanographic telemetry and sensor interpretation
|
| 124 |
+
- Environmental regulatory compliance assessment
|
| 125 |
+
|
| 126 |
+
## Limitations
|
| 127 |
+
|
| 128 |
+
- Specialized for marine science domains; general-purpose knowledge outside oceanography may trail unspecialized base models.
|
| 129 |
+
- Operational field recommendations must be validated by qualified marine biologists before high-stakes physical deployments.
|
| 130 |
+
- Not intended for human medical diagnostics.
|
| 131 |
+
|
| 132 |
+
## License
|
| 133 |
+
|
| 134 |
+
Apache 2.0 (see [LICENSE](LICENSE) for details).
|
| 135 |
+
|
| 136 |
+
## Citation
|
| 137 |
+
|
| 138 |
+
```bibtex
|
| 139 |
+
@misc{atlantis-pyramid-2026,
|
| 140 |
+
title={Atlantis-Pyramid-14B-Glyph: A Fine-Tuned Foundation Model for Marine Science},
|
| 141 |
+
author={Coralfil Team},
|
| 142 |
+
year={2026},
|
| 143 |
+
publisher={Hugging Face},
|
| 144 |
+
url={https://huggingface.co/Coralfil/Atlantis-Pyramid-14B-Glyph}
|
| 145 |
+
}
|
| 146 |
+
```
|