Update README.md
Browse files
README.md
CHANGED
@@ -40,13 +40,19 @@ For more details, including benchmark evaluation, hardware requirements, and inf
|
|
40 |
|
41 |
## Quickstart
|
42 |
|
43 |
-
The code of Qwen3 has been in the latest
|
|
|
44 |
|
45 |
-
|
46 |
-
```
|
47 |
KeyError: 'qwen3'
|
48 |
```
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
The following contains a code snippet illustrating how to use the model generate content based on given inputs.
|
51 |
|
52 |
```python
|
|
|
40 |
|
41 |
## Quickstart
|
42 |
|
43 |
+
The code of Qwen3 has been in the latest versions of both **`transformers` (≥ 4.52.4)** and **`mlx_lm` (≥ 0.25.2)**, and we advise you to use the latest version of `transformers` and `mlx_lm`.
|
44 |
+
Older versions (e.g., `transformers<4.51.0`) may raise errors like:
|
45 |
|
46 |
+
```text
|
|
|
47 |
KeyError: 'qwen3'
|
48 |
```
|
49 |
|
50 |
+
Install or upgrade both packages:
|
51 |
+
|
52 |
+
```bash
|
53 |
+
pip install --upgrade transformers mlx_lm
|
54 |
+
```
|
55 |
+
|
56 |
The following contains a code snippet illustrating how to use the model generate content based on given inputs.
|
57 |
|
58 |
```python
|