Update README.md
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ datasets:
|
|
4 |
tags:
|
5 |
- question-generation
|
6 |
widget:
|
7 |
-
- text: "
|
8 |
---
|
9 |
# Transformer QG on DRCD
|
10 |
The inputs of the model refers to
|
@@ -73,9 +73,9 @@ python train_seq2seq_lm.py --server --base_model YOUR_BASE_MODEL --from_checkpoi
|
|
73 |
```
|
74 |
curl --location --request POST 'http://127.0.0.1:5000/' \
|
75 |
--header 'Content-Type: application/x-www-form-urlencoded' \
|
76 |
-
--data-urlencode 'context
|
77 |
```
|
78 |
```json
|
79 |
-
{"predict": "
|
80 |
```
|
81 |
|
|
|
4 |
tags:
|
5 |
- question-generation
|
6 |
widget:
|
7 |
+
- text: "[HL]伊隆·里夫·馬斯克[HL]是一名企業家和商業大亨"
|
8 |
---
|
9 |
# Transformer QG on DRCD
|
10 |
The inputs of the model refers to
|
|
|
73 |
```
|
74 |
curl --location --request POST 'http://127.0.0.1:5000/' \
|
75 |
--header 'Content-Type: application/x-www-form-urlencoded' \
|
76 |
+
--data-urlencode 'context=[HL]伊隆·里夫·馬斯克[HL]是一名企業家和商業大亨'
|
77 |
```
|
78 |
```json
|
79 |
+
{"predict": "哪一個人是一名企業家和商業大亨?"}
|
80 |
```
|
81 |
|