littlebird13 commited on
Commit
377c7a2
·
verified ·
1 Parent(s): 8c5c8b4

Update README.md

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