Text Generation
Transformers
prism_custom
feature-extraction
prism
custom-architecture
trust-remote-code
neural-architecture-search
custom_code
Instructions to use BaseIntelligence/top-prism-architecture with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BaseIntelligence/top-prism-architecture with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="BaseIntelligence/top-prism-architecture", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BaseIntelligence/top-prism-architecture", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use BaseIntelligence/top-prism-architecture with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "BaseIntelligence/top-prism-architecture" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BaseIntelligence/top-prism-architecture", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/BaseIntelligence/top-prism-architecture
- SGLang
How to use BaseIntelligence/top-prism-architecture 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 "BaseIntelligence/top-prism-architecture" \ --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": "BaseIntelligence/top-prism-architecture", "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 "BaseIntelligence/top-prism-architecture" \ --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": "BaseIntelligence/top-prism-architecture", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use BaseIntelligence/top-prism-architecture with Docker Model Runner:
docker model run hf.co/BaseIntelligence/top-prism-architecture
File size: 2,974 Bytes
d3509af 5116077 d3509af 5116077 d3509af 5116077 d3509af 5116077 8214f19 5116077 8214f19 5116077 02afb39 5116077 8214f19 ad87e7a 5116077 8214f19 ad87e7a 5116077 d3509af ad87e7a 5116077 d3509af 5116077 d3509af 5116077 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 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 | ---
library_name: transformers
pipeline_tag: text-generation
tags:
- prism
- custom-architecture
- trust-remote-code
- neural-architecture-search
license: apache-2.0
---
<div align="center">

<h1 align="center">PRISM top architecture</h1>
<p align="center"><b>Global-best miner architecture on Base PRISM β benchmarks vs GPT-2 / GPT-2 Large</b></p>
</div>
---
## Benchmarks vs GPT-2 (Prism-protocol)
Prism-protocol **public** eval pack (1ΓRTX 5090). Accuracy: **β higher better**. BPB: **β lower better**. References: [GPT-2 (124M)](https://huggingface.co/openai-community/gpt2) Β· [GPT-2 Large (774M)](https://huggingface.co/gpt2-large) (eval-only; not miner trains).
| Metric | This model | GPT-2 | GPT-2 Large | vs GPT-2 | vs GPT-2 Large |
|---|---:|---:|---:|:---|:---|
| Val BPB (G1) | 3.7181 | 4.7595 | 4.1639 | β -1.0414 β better | β -0.4458 β better |
| HellaSwag | 0.360 | 0.355 | 0.395 | β +0.005 β better | β -0.035 worse |
| ARC-Easy | 0.335 | 0.245 | 0.280 | β +0.090 β better | β +0.055 β better |
| ARC-Challenge | 0.295 | 0.240 | 0.280 | β +0.055 β better | β +0.015 β better |
| PIQA | 0.630 | 0.585 | 0.690 | β +0.045 β better | β -0.060 worse |
| WinoGrande | 0.520 | 0.515 | 0.545 | β +0.005 β better | β -0.025 worse |
| BoolQ | 0.630 | 0.575 | 0.640 | β +0.055 β better | β -0.010 worse |
| LAMBADA | 0.955 | 0.970 | 0.985 | β -0.015 worse | β -0.030 worse |
| OpenBookQA | 0.310 | 0.320 | 0.335 | β -0.010 worse | β -0.025 worse |
### Compute notes
| | This model | GPT-2 | GPT-2 Large |
|---|---|---|---|
| Parameters | 107.0M | 124M | 774M |
| Size vs Large | 7.23Γ vs GPT-2 Large (774M) | 6.22Γ | 1Γ |
| Train tokens | β | _(eval-only)_ | _(eval-only)_ |
| Wall clock | 20539s | _(eval-only)_ | _(eval-only)_ |
| Sustained train throughput | β | n/a | n/a |
| GPU (harness) | `GPU 0: NVIDIA GeForce RTX 5090 (UUID: GPU-e31dbb89-6a01-a2fb-2684-3b6f0efb3f28)` | 1ΓRTX 5090 (eval) | 1ΓRTX 5090 (eval) |
Throughput β `6 Γ N Γ D / wall` TFLOPS (dense transformer train FLOPs rule of thumb).
## Model card
| field | value |
|---|---|
| arch_id | `arch_f17d92b32a8c79f7` |
| bpb | `3.718067` |
| submission | `7b8658aedfdb158782567d09e26a9e819c578ff20c4db1d940e12de77cd9d6d2` |
| owner_hotkey | `462c4a7dfe30β¦` |
| hub repo | `BaseIntelligence/top-prism-architecture` |
## Load (trust_remote_code)
```python
from transformers import AutoModel, AutoConfig
cfg = AutoConfig.from_pretrained("BaseIntelligence/top-prism-architecture", trust_remote_code=True)
model = AutoModel.from_pretrained("BaseIntelligence/top-prism-architecture", trust_remote_code=True)
```
Weights: `checkpoint.pt` (Hub LFS when large). Load via `PrismCustomModel.from_pretrained` with `trust_remote_code=True`.
Companion GitHub publish (when configured) lives under `BaseIntelligence/prism` `top-model/`.
|