diff --git a/frontend/static/formats/seq2seq/download/example.csv b/frontend/static/formats/seq2seq/download/example.csv new file mode 100644 index 00000000..923cc9bc --- /dev/null +++ b/frontend/static/formats/seq2seq/download/example.csv @@ -0,0 +1,4 @@ +id,text,label,user +1,"Hello!","こんにちは!",1 +2,"Good morning.","おはようございます。",1 +3,"See you.","さようなら。",1 diff --git a/frontend/static/formats/seq2seq/download/example.jsonl b/frontend/static/formats/seq2seq/download/example.jsonl new file mode 100644 index 00000000..cd73d909 --- /dev/null +++ b/frontend/static/formats/seq2seq/download/example.jsonl @@ -0,0 +1,3 @@ +{"id": 1, "text": "Hello!", "annotations": [{"id": 1, "label": "こんにちは!", "user": 1}]} +{"id": 2, "text": "Good morning.", "annotations": [{"id": 2, "label": "おはようございます。", "user": 1}]} +{"id": 3, "text": "See you.", "annotations": [{"id": 3, "label": "さようなら。", "user": 1}]} diff --git a/frontend/static/formats/sequence_labeling/download/example.jsonl b/frontend/static/formats/sequence_labeling/download/example.jsonl new file mode 100644 index 00000000..050f3d14 --- /dev/null +++ b/frontend/static/formats/sequence_labeling/download/example.jsonl @@ -0,0 +1,3 @@ +{"id": 1, "text": "EU rejects ...", "annotations": [{"id": 1, "label": 2, "start_offset": 0, "end_offset": 2, "user": 1}]} +{"id": 2, "text": "Peter Blackburn", "annotations": [{"id": 2, "label": 1, "start_offset": 0, "end_offset": 15, "user": 1}]} +{"id": 3, "text": "President Obama", "annotations": [{"id": 3, "label": 1, "start_offset": 10, "end_offset": 15, "user": 1}]} diff --git a/frontend/static/formats/sequence_labeling/download/example_text.jsonl b/frontend/static/formats/sequence_labeling/download/example_text.jsonl new file mode 100644 index 00000000..cdf3e1fb --- /dev/null +++ b/frontend/static/formats/sequence_labeling/download/example_text.jsonl @@ -0,0 +1,3 @@ +{"id": 1, "text": "EU rejects ...", "labels": [[0,2,"ORG"], [11,17, "MISC"], [34,41,"ORG"]]} +{"id": 2, "text": "Peter Blackburn", "labels": [[0, 15, "PERSON"]]} +{"id": 3, "text": "President Obama", "labels": [[10, 15, "PERSON"]]} diff --git a/frontend/static/formats/text_classification/download/example.csv b/frontend/static/formats/text_classification/download/example.csv new file mode 100644 index 00000000..f8fee7ee --- /dev/null +++ b/frontend/static/formats/text_classification/download/example.csv @@ -0,0 +1,4 @@ +id,text,label,user +1,"Terrible customer service.",1,1 +2,"Really great transaction.",2,1 +3,"Great price.",2,1 diff --git a/frontend/static/formats/text_classification/download/example.jsonl b/frontend/static/formats/text_classification/download/example.jsonl new file mode 100644 index 00000000..dabc8b69 --- /dev/null +++ b/frontend/static/formats/text_classification/download/example.jsonl @@ -0,0 +1,3 @@ +{"id": 1, "text": "Terrible customer service.", "annotations": [{"id": 1, "label": 1, "user": 1}]} +{"id": 2, "text": "Really great transaction.", "annotations": [{"id": 2, "label": 2, "user": 1}]} +{"id": 3, "text": "Great price.", "annotations": [{"id": 3, "label": 2, "user": 1}]} diff --git a/frontend/static/formats/text_classification/download/fastText.txt b/frontend/static/formats/text_classification/download/fastText.txt new file mode 100644 index 00000000..71da66a8 --- /dev/null +++ b/frontend/static/formats/text_classification/download/fastText.txt @@ -0,0 +1,2 @@ +__label__pet dog cat +__label__car VW BMW