# Source: https://github.com/ml-explore/mlx-lm/blob/main/mlx_lm/convert.py

## API Reference

```python
def mixed_quant_predicate_builder(
    def mixed_quant_predicate(
        """Implements mixed quantization predicates with similar choices to, for example, llama.cpp's Q4_K_M.
        Ref: https://github.com/ggerganov/llama.cpp/blob/917786f43d0f29b7c77a0c56767c0fa4df68b1c5/src/llama.cpp#L5265
        By Alex Barron: https://gist.github.com/barronalex/84addb8078be21969f1690c1454855f3
def convert(
        def set_dtype(k, v):
def configure_parser() -> argparse.ArgumentParser:
    """
    Configures and returns the argument parser for the script.

    Returns:
        argparse.ArgumentParser: Configured argument parser.
def main():
```