# Text classification example issue

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftext-classification-example-issue%2F5689%3E%5C
**Category:** Beginners\
**Created:** [April 22, 2021, 3:13pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftext-classification-example-issue%2F5689 "2021-04-22T15:13:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flash659](https://avatars.discourse-cdn.com/v4/letter/f/46a35a/32.png) [@flash659](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fflash659)%5C
**Post date:** [April 22, 2021, 3:13pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftext-classification-example-issue%2F5689%2F1 "2021-04-22T15:13:35Z")

</div>

![cardinality issue](https://us1.discourse-cdn.com/hellohellohello/original/2X/8/83f1de5339332eaefb504d0028ddf690b8506bb5.jpeg)

I am a beginner and did an example on text classification.

I did it on R studio with importing python modules but in the training process, an issue occurs with the above message.

Please help with this issue… I don’t know the reason why this issue related cardinality happens.
