--- library_name: mlx license: other license_name: lfm1.0 license_link: LICENSE language: - en - ar - zh - fr - de - ja - ko - es pipeline_tag: text-generation tags: - liquid - lfm2 - edge - moe - heretic - uncensored - decensored - abliterated - mlx base_model: MuXodious/LFM2-8B-A1B-absolute-heresy-MPOA --- # MuXodious/LFM2-8B-A1B-absolute-heresy-MPOA-mlx-8Bit This model [MuXodious/LFM2-8B-A1B-absolute-heresy-MPOA-mlx-8Bit](https://huggingface.co/MuXodious/LFM2-8B-A1B-absolute-heresy-MPOA-mlx-8Bit) was converted to MLX format from [MuXodious/LFM2-8B-A1B-absolute-heresy-MPOA](https://huggingface.co/MuXodious/LFM2-8B-A1B-absolute-heresy-MPOA) using mlx-lm version **0.30.5**. ## Use with mlx ```bash pip install mlx-lm ``` ```python from mlx_lm import load, generate model, tokenizer = load("MuXodious/LFM2-8B-A1B-absolute-heresy-MPOA-mlx-8Bit") prompt = "hello" if tokenizer.chat_template is not None: messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True, return_dict=False, ) response = generate(model, tokenizer, prompt=prompt, verbose=True) ```