This is a standalone CoreML implementation of the Qwen typo correction model, containing all necessary components for typo correction inference using Apple's CoreML framework.
CoreML Models (3 components):
qwen-typo-fixer_embeddings.mlpackage - Token embeddings
qwen-typo-fixer_FFN_PF_lut4_chunk_01of01.mlpackage - FFN with prefill/infer functions
qwen-typo-fixer_lm_head_lut6.mlpackage - Language model head
Tokenizer Files :
tokenizer.json - Main tokenizer configuration
tokenizer_config.json - Tokenizer metadata
vocab.json - Vocabulary mapping
merges.txt - BPE merge rules
config.json - Model configuration
Python Implementation :
typo_fixer_complete.py - Complete working implementation
Original: 'I beleive this is teh correct answr.'
Corrected: 'I believe this is the correct answer.'
Status: ✅ Typos likely fixed!
This uses a 3-component ANEMLL (Apple Neural Engine Multi-component Language Model) architecture:
This standalone package contains the working CoreML models that have been tested and verified to work correctly.