This will only print lines with duplicate space-delimited words:
while IFS='' read -r line ; do if [[ "`echo $line | tr ' ' '\n'| sort | uniq -d`" != '' ]]; then echo "$line"; fi; done < YOURFILE
For your example the output will be:
01 01 03
01 01 01 03
Here, for the more than one occurrence of "01" in lines 2 and 3...
If you want to specify number of times a word should be checked to be repeated then :
NO=3; lnr=1 ; while IFS='' read -r line ; do echo "for line" $lnr ; echo $line | tr ' ' '\n' | uniq -c| grep -e "^\s*$NO" ; ((lnr++)); done < YOURFILE
For your example output will be:
for line 1
for line 2
for line 3
The first number is the number of times you specified in variable
NO for the number of occurrences to check.
The second number is the actual word that was found out to be repeating NO times.
Change YOURFILE to your file, of course.