2020</p >
2121
2222multi_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
2525For 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
5454and with ** no requirement to code!!**
5555
5656Follow 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
163163in 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```
178179Query: ['book', 'a', 'spot', 'for', 'ten', 'at', 'a', 'top-rated', 'caucasian', 'restaurant', 'not', 'far', 'from', 'selmer']
179180
180181NER 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```
186187Query: 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```
200202Query1: 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```
225228Query: 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```
240244Query: 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```
259264Query: ['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