# Error When AutoTraining LLM

**URL:** <https://discuss.huggingface.co/t/error-when-autotraining-llm/66758>\
**Category:** Spaces\
**Created:** [December 22, 2023, 8:38pm UTC](https://discuss.huggingface.co/t/error-when-autotraining-llm/66758 "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](https://discuss.huggingface.co/u/madmaximusjb)\
**Post date:** [December 22, 2023, 8:38pm UTC](https://discuss.huggingface.co/t/error-when-autotraining-llm/66758/1 "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](https://discuss.huggingface.co/u/nielsr)\
**Post date:** [December 26, 2023, 8:30am UTC](https://discuss.huggingface.co/t/error-when-autotraining-llm/66758/2 "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](https://discuss.huggingface.co/u/abhishek)\
**Post date:** [December 26, 2023, 8:42am UTC](https://discuss.huggingface.co/t/error-when-autotraining-llm/66758/3 "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.
