> Invalid file type (text/tab-separated-values).

Dear,
I am trying to upload a submission using .tsv file.
The contents of the submission file are two tab separated columns (tweet id , and prediction).
The following error occurs "Invalid file type (text/tab-separated-values)."
I do not know if there is another file format we should submit.!!!!
Regards

Posted by: hamadanayel @ Feb. 21, 2020, 9:24 a.m.

I had the same problem until I checked the starter kit provided in the Files tab.
The submission should basically be a zip file containing a .csv file (the extension is important).
The csv shouldn't have any header (column names).
The lines should be comma-separated with the first field as the id (starting from 8001) and the second as the prediction (OFF or NOT).

Posted by: AMR-KELEG @ Feb. 22, 2020, 12:41 p.m.

Dear,
When I try to submit the submission file, i got the following error:

WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
Traceback (most recent call last):
File "/tmp/codalab/tmp4axUtM/run/program/evaluate.py", line 88, in
fscore = f1_macro(gold, predicted)
File "/tmp/codalab/tmp4axUtM/run/program/evaluate.py", line 15, in f1_macro
raise ValueError("Unexpected label: " + p)
ValueError: Unexpected label: NOT

is there any solution for this ?

Posted by: hhaddad @ Feb. 24, 2020, 2:16 p.m.

If you go to "Participate/Files" then press "Stating Kit", you will download a zipped file contains the majority baseline file " offenseval-ar-test-taskA-baseline-v1.zip" which contains pairs of: id,NOT (2000 lines).
Compare the format of this file with your submission file. Also, you can change some rows in the baseline file and submit to have a successful submission.
If this doesn't solve the problem, send your submission file to the organizer to debug.
Good luck!
Competition Organizer

Posted by: hmubarak @ Feb. 24, 2020, 5:52 p.m.
Post in this thread