Downloads · 30 days
8
11% of all-time downloads
dreamgen/opus-llama-3-tokens-alt
opus-llama-3-tokens-alt is a text generation model from dreamgen. Use it when you need the model to write or continue text. It is set up for transformers.
This is alternative configuration for some special tokens for Opus Llama 3 models. This is needed for some backends because of the issues described here:
Downloads · 30 days
8
11% of all-time downloads
All-time downloads
76
Public
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json9.1 MB · 100%
From the Hugging Face model README
This is alternative configuration for some special tokens for Opus Llama 3 models. This is needed for some backends because of the issues described here:
First, DreamGen Opus models use a variant of ChatML, so we rename <|start_header_id|> to <|im_start|> and <|eot_id|> to <|im_end|>. This is already done in the DreamGen Opus Llama 3 fp16 repos.
Then, in order to address the issues some backends are having with Llama 3's special tokens:
"special": false for both <|im_start|> and <|im_end|> in various places. This will allow them to be rendered by some frontends. Originally discovered here.<|im_end|> in various places.I consider using <|im_end|> as a stop token as suboptimal, as in multi-character scenarios I like to let he model generate multiple character messages at once, and this prevents that. But for now, until we can get custom stop strings with special tokens working, this is the best we have.