From ef6574d2ebe2237f6ce141018b65bdd1bff2bc3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20=C5=81=C4=85czkowski?= Date: Wed, 20 Mar 2024 18:36:43 +0100 Subject: [PATCH] IUM_03 - download_dataset.sh add comments --- download_dataset.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/download_dataset.sh b/download_dataset.sh index 6cccb15..a38e13e 100644 --- a/download_dataset.sh +++ b/download_dataset.sh @@ -22,6 +22,7 @@ fi head -n $(expr $data_size / 10 \* 8) data.csv > train.csv tail -n $(expr $data_size / 10 \* 2) data.csv > dev.csv.tmp +# Get number of rows in dev.csv.tmp dev_size=$(wc -l < dev.csv.tmp) head -n $(expr $dev_size / 10 \* 5) dev.csv.tmp > dev.csv