littlebird13 commited on
Commit
911a7e3
·
verified ·
1 Parent(s): 635fb47

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -3
README.md CHANGED
@@ -36,13 +36,19 @@ For more details, including benchmark evaluation, hardware requirements, and inf
36
 
37
  ## Quickstart
38
 
39
- The code of Qwen3 has been in the latest Hugging Face `transformers` and we advise you to use the latest version of `transformers`.
 
40
 
41
- With `transformers<4.51.0`, you will encounter the following error:
42
- ```
43
  KeyError: 'qwen3'
44
  ```
45
 
 
 
 
 
 
 
46
  The following contains a code snippet illustrating how to use the model generate content based on given inputs.
47
  ```python
48
  from mlx_lm import load, generate
 
36
 
37
  ## Quickstart
38
 
39
+ 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`.
40
+ Older versions (e.g., `transformers<4.51.0`) may raise errors like:
41
 
42
+ ```text
 
43
  KeyError: 'qwen3'
44
  ```
45
 
46
+ Install or upgrade both packages:
47
+
48
+ ```bash
49
+ pip install --upgrade transformers mlx_lm
50
+ ```
51
+
52
  The following contains a code snippet illustrating how to use the model generate content based on given inputs.
53
  ```python
54
  from mlx_lm import load, generate