# Special tokens with inputs\_embeds input

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspecial-tokens-with-inputs-embeds-input%2F46323%3E%5C
**Category:** Beginners\
**Created:** [July 10, 2023, 6:42pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspecial-tokens-with-inputs-embeds-input%2F46323 "2023-07-10T18:42:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul1020](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@Paul1020](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FPaul1020)%5C
**Post date:** [July 10, 2023, 6:42pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspecial-tokens-with-inputs-embeds-input%2F46323%2F1 "2023-07-10T18:42:03Z")

</div>

I want to train models with my own embeddings. I am doing two sequences classification task.  
How I deal with CLS and SEP token with his case ?  
cls\_embedding = torch.randn(1, embedding\_dim) # [CLS] token embedding  
sep\_embedding = torch.randn(1, embedding\_dim) # [SEP] token embedding  
And pad my embeddings ? Or there some other way for that ?
