# TransformerAgents - error running example notebook

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftransformeragents-error-running-example-notebook%2F39545%3E%5C
**Category:** 🤗Transformers\
**Created:** [May 11, 2023, 2:09pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftransformeragents-error-running-example-notebook%2F39545 "2023-05-11T14:09:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubensmau](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rubensmau](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Frubensmau)%5C
**Post date:** [May 11, 2023, 2:09pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftransformeragents-error-running-example-notebook%2F39545%2F1 "2023-05-11T14:09:00Z")

</div>

When running the provided example notebook [Google Colab](https://colab.research.google.com/drive/1c7MHD-T1forUPGcC_jlwsIptOzpG3hSj)

Got the following error when running a more complex query  
agent.run(“In which city the wife of Barack Obama was born?”)

ValueError: expected sequence of length 31385 at dim 1 (got 31386)  
The above exception was the direct cause of the following exception:
