ium_464979/dataset_stats.sh
2024-03-24 19:28:06 +01:00

16 lines
405 B
Bash

#!/bin/bash
echo "------------------ wc train ------------------"
wc -l data/train.csv > stats_train.txt
echo "------------------ wc dev ------------------"
wc -l data/dev.csv > stats_dev.txt
echo "------------------ wc test ------------------"
wc -l data/test.csv > stats_test.txt
echo "------------------ move ------------------"
mkdir -p data
mv stats_train.txt stats_dev.txt stats_test.txt data/