Update README.md
Browse files
README.md
CHANGED
@@ -1,4 +1,23 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
```python
|
3 |
from transformers import T5Tokenizer, AutoModelForSeq2SeqLM
|
4 |
tokenizer = T5Tokenizer.from_pretrained("t5-base")
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license:
|
5 |
+
- afl-3.0
|
6 |
+
|
7 |
+
---
|
8 |
+
|
9 |
+
# Easy Conversion Between Boolean QA Pairs and Declarative Statements
|
10 |
+
|
11 |
+
## Convert declarations to QAs:
|
12 |
+
|
13 |
+
Add the prefix "D2QA:" to the declaration.
|
14 |
+
|
15 |
+
## Convert QAs to declarations:
|
16 |
+
|
17 |
+
Add the prefix "QA2D:" to the QA pair.
|
18 |
+
|
19 |
+
## Example
|
20 |
+
|
21 |
```python
|
22 |
from transformers import T5Tokenizer, AutoModelForSeq2SeqLM
|
23 |
tokenizer = T5Tokenizer.from_pretrained("t5-base")
|