Update README.md
Browse files
README.md
CHANGED
|
@@ -22,7 +22,6 @@ Qwen3 is the latest generation of large language models in Qwen series, offering
|
|
| 22 |
|
| 23 |
## Model Overview
|
| 24 |
|
| 25 |
-
## Model Overview
|
| 26 |
|
| 27 |
**Qwen3-235B-A22B** has the following features:
|
| 28 |
- Type: Causal Language Models
|
|
@@ -40,13 +39,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
|
|
|
|
| 22 |
|
| 23 |
## Model Overview
|
| 24 |
|
|
|
|
| 25 |
|
| 26 |
**Qwen3-235B-A22B** has the following features:
|
| 27 |
- Type: Causal Language Models
|
|
|
|
| 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
|