diff --git a/frontend/static/formats/seq2seq/upload/example.csv b/frontend/static/formats/seq2seq/upload/example.csv new file mode 100644 index 00000000..c3e4cac2 --- /dev/null +++ b/frontend/static/formats/seq2seq/upload/example.csv @@ -0,0 +1,4 @@ +text,label +"Hello!","こんにちは!" +"Good morning.","おはようございます。" +"See you.","さようなら。" diff --git a/frontend/static/formats/seq2seq/upload/example.jsonl b/frontend/static/formats/seq2seq/upload/example.jsonl new file mode 100644 index 00000000..5659d49a --- /dev/null +++ b/frontend/static/formats/seq2seq/upload/example.jsonl @@ -0,0 +1,3 @@ +{"text": "Hello!", "labels": ["こんにちは!"]} +{"text": "Good morning.", "labels": ["おはようございます。"]} +{"text": "See you.", "labels": ["さようなら。"]} diff --git a/frontend/static/formats/sequence_labeling/upload/example.conll.txt b/frontend/static/formats/sequence_labeling/upload/example.conll.txt new file mode 100644 index 00000000..32ea0564 --- /dev/null +++ b/frontend/static/formats/sequence_labeling/upload/example.conll.txt @@ -0,0 +1,11 @@ +EU B-ORG +rejects O +German B-MISC +call O +to O +boycott O +British B-MISC +lamb O +. O +Peter B-PER +Blackburn I-PER diff --git a/frontend/static/formats/sequence_labeling/upload/example.jsonl b/frontend/static/formats/sequence_labeling/upload/example.jsonl new file mode 100644 index 00000000..e1e36796 --- /dev/null +++ b/frontend/static/formats/sequence_labeling/upload/example.jsonl @@ -0,0 +1,3 @@ +{"text": "EU rejects German call to boycott British lamb.", "labels": [ [0, 2, "ORG"], [11, 17, "MISC"], ... ]} +{"text": "Peter Blackburn", "labels": [ [0, 15, "PERSON"] ]} +{"text": "President Obama", "labels": [ [10, 15, "PERSON"] ]} diff --git a/frontend/static/formats/text_classification/upload/example.csv b/frontend/static/formats/text_classification/upload/example.csv new file mode 100644 index 00000000..d8b1d595 --- /dev/null +++ b/frontend/static/formats/text_classification/upload/example.csv @@ -0,0 +1,4 @@ +text,label +"Terrible customer service.","negative" +"Really great transaction.","positive" +"Great price.","positive" diff --git a/frontend/static/formats/text_classification/upload/example.jsonl b/frontend/static/formats/text_classification/upload/example.jsonl new file mode 100644 index 00000000..ce56add4 --- /dev/null +++ b/frontend/static/formats/text_classification/upload/example.jsonl @@ -0,0 +1,3 @@ +{"text": "Terrible customer service.", "labels": ["negative"]} +{"text": "Really great transaction.", "labels": ["positive"]} +{"text": "Great price.", "labels": ["positive"]} diff --git a/frontend/static/formats/text_classification/upload/fastText.txt b/frontend/static/formats/text_classification/upload/fastText.txt new file mode 100644 index 00000000..a405da8c --- /dev/null +++ b/frontend/static/formats/text_classification/upload/fastText.txt @@ -0,0 +1,2 @@ +__label__[label name] text +__label_president Obama Trump