Update README.md
Browse files
README.md
CHANGED
|
@@ -11,7 +11,7 @@ In this model card, we introduce the Add Carry model, which is similar to the Tr
|
|
| 11 |
|
| 12 |
```
|
| 13 |
git clone https://github.com/WENGSYX/Neural-Comprehension
|
| 14 |
-
cd
|
| 15 |
pip install .
|
| 16 |
```
|
| 17 |
|
|
@@ -22,8 +22,8 @@ To run neural comprehension, you need to install `PyTorch`, `Transformers`, `jax
|
|
| 22 |
### How to Use?
|
| 23 |
|
| 24 |
```
|
| 25 |
-
from
|
| 26 |
-
from
|
| 27 |
|
| 28 |
|
| 29 |
model = CoNNModel.from_pretrained('WENGSYX/CoNN_Add_Carry')
|
|
|
|
| 11 |
|
| 12 |
```
|
| 13 |
git clone https://github.com/WENGSYX/Neural-Comprehension
|
| 14 |
+
cd Neural-Comprehension
|
| 15 |
pip install .
|
| 16 |
```
|
| 17 |
|
|
|
|
| 22 |
### How to Use?
|
| 23 |
|
| 24 |
```
|
| 25 |
+
from NeuralCom.CoNN.modeling_conn import CoNNModel
|
| 26 |
+
from NeuralCom.CoNN import Tokenizer
|
| 27 |
|
| 28 |
|
| 29 |
model = CoNNModel.from_pretrained('WENGSYX/CoNN_Add_Carry')
|