CoMem Mistral-7B checkpoints

These checkpoints contain CoMem adapters and the decoder embedding/output layers needed for the expanded tokenizer. They do not include the Mistral base model weights.

Stage Compression rates Training
stage1 4, 8, 16, 64, 128 Encoder and decoder adapters
stage2 4, 8, 16, 64, 128 Frozen encoder adapter, trained decoder adapter

Each checkpoint is in stage{number}/cr{rate} and includes config.json, adapters.pth, decoder_first_last_layers.pth, and tokenizer files. Use the matching stage and rate together; the adapters are not interchangeable across rates.

from openrlhf.models.modeling_comem import CoMem

model = CoMem.from_pretrained(
    "ssxada/CoMem-Mistral-7B",
    subfolder="stage2/cr4",
    pure_inference=True,
)

The implementation and setup instructions are in the CoMem repository.

The model code includes portions derived from Apple's research code. Its original copyright notices remain in the affected files. See the repository's LICENSE and ACKNOWLEDGEMENTS for the upstream terms and third-party notices. Base model weights are subject to their own terms.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for scar-on/CoMem-Mistral-7B

Finetuned
(1,111)
this model