Skip to content

Commit 8d5a5e9

Browse files
committed
2 parents 8f64fdd + 41a0652 commit 8d5a5e9

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</p>
2121

2222
multi_task_NLP is a utility toolkit enabling NLP developers to easily train and infer a single model for multiple tasks.
23-
We support various data formats for majority of NLI tasks and multiple transformer-based encoders (eg. BERT, Distil-BERT, ALBERT, RoBERTa, XLNET etc.)
23+
We support various data formats for majority of NLU tasks and multiple transformer-based encoders (eg. BERT, Distil-BERT, ALBERT, RoBERTa, XLNET etc.)
2424

2525
For complete documentation for this library, please refer to [documentation](https://multi-task-nlp.readthedocs.io/en/latest/)
2626

@@ -50,7 +50,7 @@ NOTE:- The library is built and tested using ``Python 3.7.3``. It is recommended
5050

5151
## Quickstart Guide
5252

53-
A quick guide to show how a single model can be trained for multiple NLI tasks in just 3 simple steps
53+
A quick guide to show how a model can be trained for single/multiple NLU tasks in just 3 simple steps
5454
and with **no requirement to code!!**
5555

5656
Follow these 3 simple steps to train your multi-task model!
@@ -163,24 +163,25 @@ Here you can find various conversational AI tasks as examples and can train mult
163163
in simple steps mentioned in the notebooks.
164164

165165
### Example-1 Intent detection, NER, Fragment detection
166+
*(Setup : Multi-task , Task type : Multiple)*
166167

167-
**Intent Detection**
168+
**Intent Detection(Task type : Single sentence classification)**
168169

169170
```
170171
Query: I need a reservation for a bar in bangladesh on feb the 11th 2032
171172
172173
Intent: BookRestaurant
173174
```
174175

175-
**NER**
176+
**NER (Task type :sequence labelling)**
176177

177178
```
178179
Query: ['book', 'a', 'spot', 'for', 'ten', 'at', 'a', 'top-rated', 'caucasian', 'restaurant', 'not', 'far', 'from', 'selmer']
179180
180181
NER tags: ['O', 'O', 'O', 'O', 'B-party_size_number', 'O', 'O', 'B-sort', 'B-cuisine', 'B-restaurant_type', 'B-spatial_relation', 'I-spatial_relation', 'O', 'B-city']
181182
```
182183

183-
**Fragment Detection**
184+
**Fragment Detection (Task type : single sentence classification)**
184185

185186
```
186187
Query: a reservation for
@@ -195,6 +196,7 @@ Label: fragment
195196
**Tasks file** :- [tasks_file_snips](https://github.com/hellohaptik/multi-task-NLP/blob/master/examples/intent_ner_fragment/tasks_file_snips.yml)
196197

197198
### Example-2 Entailment detection
199+
*(Setup : single-task , Task type : sentence pair classification)*
198200

199201
```
200202
Query1: An old man with a package poses in front of an advertisement.
@@ -220,6 +222,7 @@ Label: non-entailment
220222

221223

222224
### Example-3 Answerability detection
225+
*(Setup : single-task , Task type : sentence pair classification)*
223226

224227
```
225228
Query: how much money did evander holyfield make
@@ -235,6 +238,7 @@ Label: answerable
235238
**Tasks file** :- [tasks_file_answerability](https://github.com/hellohaptik/multi-task-NLP/tree/master/examples/answerability_detection/tasks_file_answerability.yml)
236239

237240
### Example-4 Query type detection
241+
*(Setup : single-task , Task type : single sentence classification)*
238242

239243
```
240244
Query: what's the distance between destin florida and birmingham alabama?
@@ -254,6 +258,7 @@ Label: PERSON
254258
**Tasks file** :- [tasks_file_querytype](https://github.com/hellohaptik/multi-task-NLP/blob/master/examples/query_type_detection/tasks_file_querytype.yml)
255259

256260
### Example-5 POS tagging, NER tagging
261+
*(Setup : Multi-task , Task type : sequence labelling)*
257262

258263
```
259264
Query: ['Despite', 'winning', 'the', 'Asian', 'Games', 'title', 'two', 'years', 'ago', ',', 'Uzbekistan', 'are', 'in', 'the', 'finals', 'as', 'outsiders', '.']
@@ -271,6 +276,7 @@ POS tags: ['I-PP', 'I-VP', 'I-NP', 'I-NP', 'I-NP', 'I-NP', 'B-NP', 'I-NP', 'I-AD
271276
**Tasks file** :- [tasks_file_conll](https://github.com/hellohaptik/multi-task-NLP/blob/master/examples/ner_pos_tagging/tasks_file_conll.yml)
272277

273278
## Example-6 Query correctness
279+
*(Setup : single-task , Task type : single sentence classification)*
274280

275281
```
276282
@@ -292,6 +298,7 @@ Label: not well-formed
292298

293299

294300
## Example-7 Query similarity
301+
*(Setup : single-task , Task type : single sentence classification)*
295302

296303
```
297304
@@ -315,6 +322,7 @@ Label: similar
315322
**Tasks file** :- [tasks_file_qqp](https://github.com/hellohaptik/multi-task-NLP/blob/master/examples/query_pair_similarity/tasks_file_query_qqp.yml)
316323

317324
## Example-8 Sentiment Analysis
325+
*(Setup : single-task , Task type : single sentence classification)*
318326

319327
```
320328

0 commit comments

Comments
 (0)