# Error When AutoTraining LLM

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-when-autotraining-llm%2F66758%3E%5C
**Category:** Spaces\
**Created:** [December 22, 2023, 8:38pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-when-autotraining-llm%2F66758 "2023-12-22T20:38:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![madmaximusjb](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/madmaximusjb/32/22379_2.png) [@madmaximusjb](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmadmaximusjb)%5C
**Post date:** [December 22, 2023, 8:38pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-when-autotraining-llm%2F66758%2F1 "2023-12-22T20:38:02Z")

</div>

Hello, I am receiving the error “ERROR: Exception in ASGI application KeyError: ‘text’” when training a text model in spaces. My column mapping is “{“goal”: “target”}” because the rows in the csv file are goal, target. Why might this error be occurring? Thank you.

---

<div class="post-metadata">

**Author:** ![nielsr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/nielsr/32/39617_2.png) [@nielsr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fnielsr)%5C
**Post date:** [December 26, 2023, 8:30am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-when-autotraining-llm%2F66758%2F2 "2023-12-26T08:30:24Z")

</div>

cc @abhishek

---

<div class="post-metadata">

**Author:** ![abhishek](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abhishek/32/32360_2.png) [@abhishek](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fabhishek)%5C
**Post date:** [December 26, 2023, 8:42am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-when-autotraining-llm%2F66758%2F3 "2023-12-26T08:42:27Z")

</div>

Please read the docs to format data accordingly. you cannot change the first column in column mapping. text: should map to your own datasets column. {“text” : “your column”}

> **[AutoTrain](https://huggingface.co/docs/autotrain/index)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.
