Text Generation
Transformers
Safetensors
imp
custom_code
Oyoy1235 commited on
Commit
3debb8c
1 Parent(s): aae95c7

update install dependencies

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -22,7 +22,13 @@ We release our model weights and provide an example below to run our model . Det
22
 
23
  ## How to use
24
 
25
- You can use the following code for model inference. We minimize the required dependency libraries that only the `transformers` and `torch` packages need to be installed. The latest version of `transformers` is ok but we recommand v4.31.0. The format of text instruction is similar to [LLaVA](https://github.com/haotian-liu/LLaVA).
 
 
 
 
 
 
26
 
27
  ```Python
28
  import torch
 
22
 
23
  ## How to use
24
 
25
+
26
+ **Install dependencies**
27
+ ```bash
28
+ !pip install -q transformers pillow accelerate einops
29
+ ```
30
+
31
+ You can use the following code for model inference. The format of text instruction is similar to [LLaVA](https://github.com/haotian-liu/LLaVA).
32
 
33
  ```Python
34
  import torch