minor update to readme
Browse filesSigned-off-by: Zhang Jun <jzhang533@gmail.com>
README.md
CHANGED
|
@@ -68,8 +68,7 @@ ERNIE-4.5-0.3B is a text dense Post-trained model. The following are the model c
|
|
| 68 |
|
| 69 |
### Using `transformers` library
|
| 70 |
|
| 71 |
-
**Note**:
|
| 72 |
-
(upcoming version 4.54.0 or [the latest version](https://github.com/huggingface/transformers?tab=readme-ov-file#installation))
|
| 73 |
|
| 74 |
The following contains a code snippet illustrating how to use the model generate content based on given inputs.
|
| 75 |
|
|
@@ -116,7 +115,7 @@ print("generate_text:", generate_text)
|
|
| 116 |
[vllm](https://github.com/vllm-project/vllm/tree/main) github library. Python-only [build](https://docs.vllm.ai/en/latest/getting_started/installation/gpu.html#set-up-using-python-only-build-without-compilation).
|
| 117 |
|
| 118 |
```bash
|
| 119 |
-
vllm serve baidu/ERNIE-4.5-0.3B-PT
|
| 120 |
```
|
| 121 |
|
| 122 |
## License
|
|
|
|
| 68 |
|
| 69 |
### Using `transformers` library
|
| 70 |
|
| 71 |
+
**Note**: You'll need the `transformers` library (version 4.54.0 or newer) installed to use this model.
|
|
|
|
| 72 |
|
| 73 |
The following contains a code snippet illustrating how to use the model generate content based on given inputs.
|
| 74 |
|
|
|
|
| 115 |
[vllm](https://github.com/vllm-project/vllm/tree/main) github library. Python-only [build](https://docs.vllm.ai/en/latest/getting_started/installation/gpu.html#set-up-using-python-only-build-without-compilation).
|
| 116 |
|
| 117 |
```bash
|
| 118 |
+
vllm serve baidu/ERNIE-4.5-0.3B-PT
|
| 119 |
```
|
| 120 |
|
| 121 |
## License
|