Update README.md
Browse files
README.md
CHANGED
@@ -21,6 +21,14 @@ Demo: https://huggingface.co/spaces/p1atdev/LightNovel-Intro-RetNet-400M-Demo
|
|
21 |
|
22 |
## Usage
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
```py
|
25 |
from transformers import AutoModelForCausalLM, AutoTokenizer, GenerationConfig
|
26 |
|
|
|
21 |
|
22 |
## Usage
|
23 |
|
24 |
+
First run the following in the same directory as the script:
|
25 |
+
|
26 |
+
```
|
27 |
+
git clone https://github.com/syncdoth/RetNet.git
|
28 |
+
```
|
29 |
+
|
30 |
+
Example script:
|
31 |
+
|
32 |
```py
|
33 |
from transformers import AutoModelForCausalLM, AutoTokenizer, GenerationConfig
|
34 |
|