littlebird13 commited on
Commit
ef809e0
·
verified ·
1 Parent(s): fac4441

Update README.md

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