# Printing tokens array

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprinting-tokens-array%2F81427%3E%5C
**Category:** 🤗Tokenizers\
**Created:** [April 12, 2024, 1:06pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprinting-tokens-array%2F81427 "2024-04-12T13:06:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahmoodn](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@Mahmoodn](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FMahmoodn)%5C
**Post date:** [April 12, 2024, 1:06pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprinting-tokens-array%2F81427%2F1 "2024-04-12T13:06:11Z")

</div>

Hi,  
How can I see the tokens with `tokenizer()`? In the example:

```auto
raw_inputs = [
    "I've been waiting for a HuggingFace course my whole life.",
    "I hate this so much!",
]
inputs = tokenizer(raw_inputs, padding=True, truncation=True, return_tensors="pt")
print(inputs)

```

The `inputs` contains the unique numbers. I would like to see the tokens. For example, I want to know if `['I've']` is the token or `['i',''','ve']` is the token.
