jzhang533 commited on
Commit
2112044
·
1 Parent(s): 3a2dba6

minor update to readme

Browse files

Signed-off-by: Zhang Jun <[email protected]>

Files changed (1) hide show
  1. README.md +2 -3
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**: Before using the model, please ensure you have the `transformers` library installed
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 --trust-remote-code
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