Text Generation
Transformers
Safetensors
Korean
English
aether_v2_7way
foundation-model
sovereign-ai
fully-open
open-source
mixture-of-experts
Mixture of Experts
heterogeneous-attention
latin-square
from-scratch
reproducible
pretrained
korean
vidraft
aether
conversational
custom_code
Instructions to use FINAL-Bench/Aether-7B-5Attn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FINAL-Bench/Aether-7B-5Attn with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FINAL-Bench/Aether-7B-5Attn", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("FINAL-Bench/Aether-7B-5Attn", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FINAL-Bench/Aether-7B-5Attn with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FINAL-Bench/Aether-7B-5Attn" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FINAL-Bench/Aether-7B-5Attn", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/FINAL-Bench/Aether-7B-5Attn
- SGLang
How to use FINAL-Bench/Aether-7B-5Attn 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 "FINAL-Bench/Aether-7B-5Attn" \ --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": "FINAL-Bench/Aether-7B-5Attn", "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 "FINAL-Bench/Aether-7B-5Attn" \ --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": "FINAL-Bench/Aether-7B-5Attn", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use FINAL-Bench/Aether-7B-5Attn with Docker Model Runner:
docker model run hf.co/FINAL-Bench/Aether-7B-5Attn
| import sys, os, time | |
| import numpy as np | |
| repo, config, text_col, target_b, out = sys.argv[1], sys.argv[2], sys.argv[3], float(sys.argv[4]), sys.argv[5] | |
| target = target_b * 1e9 | |
| from transformers import AutoTokenizer | |
| from datasets import load_dataset | |
| tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B", trust_remote_code=True) | |
| EOS = tok.eos_token_id if tok.eos_token_id is not None else 151643 | |
| os.makedirs(os.path.dirname(out), exist_ok=True) | |
| print("[START] %s [%s] -> %s target=%.1fB eos=%d" % (repo, config, out, target_b, EOS), flush=True) | |
| if config and config != "-": | |
| ds = load_dataset(repo, config, split="train", streaming=True) | |
| else: | |
| ds = load_dataset(repo, split="train", streaming=True) | |
| fout = open(out, "wb") | |
| written = 0; last_log = 0; t0 = time.time(); texts = []; BATCH = 2000 | |
| def flush(): | |
| global written, texts | |
| if not texts: return | |
| enc = tok(texts, add_special_tokens=False)["input_ids"] | |
| buf = [] | |
| for ids in enc: | |
| buf.extend(ids); buf.append(EOS) | |
| np.asarray(buf, dtype=np.uint32).tofile(fout) | |
| written += len(buf); texts = [] | |
| for ex in ds: | |
| t = ex.get(text_col) | |
| if not t: continue | |
| texts.append(t) | |
| if len(texts) >= BATCH: | |
| flush() | |
| if written - last_log >= 5e8: | |
| dt = max(1, time.time()-t0) | |
| print(" %.2fB tok (%.0fs, %.0f tok/s)" % (written/1e9, dt, written/dt), flush=True) | |
| last_log = written | |
| if written >= target: | |
| break | |
| flush(); fout.close() | |
| print("[DONE] %s -> %s %.3fB tokens (%.0fs)" % (repo, out, written/1e9, time.time()-t0), flush=True) | |