Mercan LFM3-1.7B CPT 10B — iOS LFM compatible Mercan v1
CPT model: This 1.7B-class model is from the final 10-billion-token continued pretraining (CPT) checkpoint, step 50,945. This is not the later Mercan+multiturn SFT nor DPO model.
iPhone / MercanRuntime iOS
Use the ios-lfm branch
of MercanRuntime. The main branch does not provide the same LFM3 support.
In the app choose Manage Models → Import → Mercan model URL, and paste the direct model URL (not this repository page):
https://huggingface.co/MercanAI/Mercan-LFM3-1.7B-CPT-10B-Q4_K_M/resolve/main/model.mercan
Alternatively, download model.mercan in the Files app and use
Import Mercan Model to import the local file.
If you previously downloaded an incompatible model.mercan with the same name,
delete the cached model in Manage Models and download it again, because the
app may load the already-stored local file.
Format and compatibility
model.mercan= Mercan format v1, GGUF v3 physical container, Q4_K_Mgeneral.architecture = "lfm3"mercan.format = "mercan"mercan.format_version = 1mercan.runtime_abi = 1mercan.tokenizer.type = "gguf-vocab"- Native
lfm3.*architecture keys,tokenizer.ggml.*vocabulary and quantized model tensors preserved byte-for-byte from the original Q4 GGUF - Converted using the repository's
ios-lfm/scripts/gguf_to_mercan.py
An earlier artifact in the history of this repository accidentally used
mercan.tokenizer.type = "lfm3"; that is not the registered tokenizer
provider in the ios-lfm branch. The current model has been corrected.
Files
model.mercan— iOS LFM branch native format, use this on the iPhonemodel.mercan.sha256— checksum formodel.mercanmodel.gguf— identical source LFM3 Q4_K_M GGUF weights for current llama.cpp-compatible applicationsMERCAN_IOS_LFM_VALIDATED.json— independent metadata and tensor integrity auditLICENSE— Liquid AI's LFM Open License v1.0
Training provenance
- Model family: LFM3-1.7B, 24 hybrid conv/attention blocks
- CPT token budget completed: 10,000,000,000 tokens
- Original checkpoint step: 50,945
- Source weights were exported from FP32 to BF16, then llama.cpp GGUF F16, then quantized Q4_K_M
- Tokenizer JSON SHA-256:
7e226e34bface23ccf6e495d157bf77186c1c30a7659880e1a8994db528c3701
This particular checkpoint has not undergone independent end-user quality or safety evaluation. Import and runtime behavior depend on the app binary actually being built from the LFM3-supporting iOS branch.