Update README.md
Browse files
README.md
CHANGED
@@ -8,11 +8,11 @@ license: mit
|
|
8 |
Requirements:
|
9 |
|
10 |
```bash
|
11 |
-
git clone https://github.com/ddevaul/
|
12 |
```
|
13 |
|
14 |
```bash
|
15 |
-
cd
|
16 |
```
|
17 |
|
18 |
```bash
|
@@ -28,7 +28,7 @@ Now open your file and add this:
|
|
28 |
```python
|
29 |
import sys
|
30 |
import torch
|
31 |
-
sys.path.append('./
|
32 |
from torch.utils.checkpoint import checkpoint
|
33 |
from transformers2 import BertConfig, BertTokenizer
|
34 |
from transformers2.models.bert import BertForMaskedLM
|
|
|
8 |
Requirements:
|
9 |
|
10 |
```bash
|
11 |
+
git clone https://github.com/ddevaul/desformers
|
12 |
```
|
13 |
|
14 |
```bash
|
15 |
+
cd desformers
|
16 |
```
|
17 |
|
18 |
```bash
|
|
|
28 |
```python
|
29 |
import sys
|
30 |
import torch
|
31 |
+
sys.path.append('./desformers/src')
|
32 |
from torch.utils.checkpoint import checkpoint
|
33 |
from transformers2 import BertConfig, BertTokenizer
|
34 |
from transformers2.models.bert import BertForMaskedLM
|