littlebird13 commited on
Commit
f88b658
·
verified ·
1 Parent(s): 7d5ca97

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -3
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 Hugging Face `transformers` and we advise you to use the latest version of `transformers`.
 
44
 
45
- With `transformers<4.51.0`, you will encounter the following error:
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