File size: 664 Bytes
f502aeb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---

language:
  - en
tags:
  - meta-ai
  - meta-pytorch
license: fair-noncommercial-research-license
license-link: https://huggingface.co/facebook/fair-noncommercial-research-license
---


# Code World Model (CWM)

This repository contains the MLX conversion of [CWM](https://huggingface.co/facebook/cwm) with a 4bit quantization.

```bash
mlx-lm mlx_lm.generate --model . --prompt "hello"                                 
==========
Hello! It's nice to meet you. Is there something I can help you with or would you like to chat?
</think>
==========
Prompt: 14 tokens, 20.107 tokens-per-sec
Generation: 28 tokens, 18.347 tokens-per-sec
Peak memory: 18.408 GB
```