--- license: mit tags: - mlx pipeline_tag: text-generation library_name: mlx base_model: FR3E-Bytedance/FR3E-Math-7B --- # FR3E-Math-7B-dwq6-mlx This model [FR3E-Math-7B-dwq6-mlx](https://huggingface.co/FR3E-Math-7B-dwq6-mlx) was converted to MLX format from [FR3E-Bytedance/FR3E-Math-7B](https://huggingface.co/FR3E-Bytedance/FR3E-Math-7B) using mlx-lm version **0.26.0**. ## Use with mlx ```bash pip install mlx-lm ``` ```python from mlx_lm import load, generate model, tokenizer = load("FR3E-Math-7B-dwq6-mlx") prompt = "hello" if tokenizer.chat_template is not None: messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) response = generate(model, tokenizer, prompt=prompt, verbose=True) ```