Update README.md
Browse files
README.md
CHANGED
|
@@ -13,6 +13,21 @@
|
|
| 13 |
| **Eval Data** | UIT-ViQuAD2.0 |
|
| 14 |
| **Infrastructure** | cuda Tesla P100-PCIE-16GB |
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
## Hyperparameter
|
| 17 |
|
| 18 |
```
|
|
@@ -28,15 +43,15 @@ weight_decay = 0.01
|
|
| 28 |
Evaluated on the UIT-ViQuAD2.0 dev set with the official eval script.
|
| 29 |
|
| 30 |
```
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
```
|
| 41 |
|
| 42 |
## Usage
|
|
|
|
| 13 |
| **Eval Data** | UIT-ViQuAD2.0 |
|
| 14 |
| **Infrastructure** | cuda Tesla P100-PCIE-16GB |
|
| 15 |
|
| 16 |
+
## Requirements
|
| 17 |
+
The following modules are essential for running the trainer:
|
| 18 |
+
|
| 19 |
+
- **transformers**
|
| 20 |
+
- **datasets**
|
| 21 |
+
- **evaluate**
|
| 22 |
+
- **numpy**
|
| 23 |
+
|
| 24 |
+
Run the following commands to install the required libraries:
|
| 25 |
+
|
| 26 |
+
```
|
| 27 |
+
>>> pip install datasets evaluate numpy
|
| 28 |
+
>>> pip install git+https://github.com/huggingface/transformers
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
## Hyperparameter
|
| 32 |
|
| 33 |
```
|
|
|
|
| 43 |
Evaluated on the UIT-ViQuAD2.0 dev set with the official eval script.
|
| 44 |
|
| 45 |
```
|
| 46 |
+
'exact': 29.947276,
|
| 47 |
+
'f1': 43.627568,
|
| 48 |
+
'total': 2845,
|
| 49 |
+
'HasAns_exact': 43.827160,
|
| 50 |
+
'HasAns_f1': 63.847958,
|
| 51 |
+
'HasAns_total': 1944,
|
| 52 |
+
'NoAns_exact': 0.0,
|
| 53 |
+
'NoAns_f1': 0.0,
|
| 54 |
+
'NoAns_total': 901
|
| 55 |
```
|
| 56 |
|
| 57 |
## Usage
|