sequence crf
Min and max outside
fix notebook