Recommended models for sequence classification on toy synthetic datasets

Can you describe your task and language more precisely? Sequence classification can work to some extent to classify something. For a working example of sequence classification, see the following link. Text classification