Ergo-dspark / README.md
younggyo-amz's picture jfchiu's picture haoliu's picture jfc4050's picture
Amazon Ergo DSpark release
dd6ea89
|
Raw History Blame Contribute Delete
1.58 kB
metadata
library_name: transformers
base_model: Amazon-FMR/Ergo
license: other
license_name: amazon-ergo-open-weight-license
license_link: LICENSE.md
tags:
  - speculative-decoding

Amazon Ergo DSpark

Amazon Ergo DSpark is a 3.24B-parameter speculative decoding draft model for Amazon Ergo.

Ergo is available on Amazon Bedrock at $1 per million input tokens, $0.03 per million cached input tokens, and $3 per million output tokens.

Architecture

Component Specification
Draft network 5 decoder layers, hidden size 8,192, feed-forward size 16,384
Attention Grouped-query attention, 64 query heads, 8 key/value heads, 32,768-token sliding window
Target layer IDs 1, 16, 31, 46, 61
Draft block 8 draft tokens (block_size: 8)
Confidence head Rank-256 Markov head
Vocabulary 262,144 tokens
Weights BF16, 6.48 GB in a single safetensors file

Serving

Use the model and tokenizer from Amazon-FMR/Ergo with Amazon-FMR/Ergo-dspark as the draft checkpoint. The serving runtime must provide the DSparkDraftModel implementation.

See the SGLang Ergo cookbook and vLLM Ergo recipe for serving instructions.

To verify the weights and configuration, run sha256sum -c SHA256SUMS from the checkpoint directory.

License

Amazon Ergo Open-Weights License