Get startedGet started for free

Cleaning up replies

It's time to clean up some customer replies. You have a data file containing customer reviews for the Riverview Hotel. The text has a lot of spacing issues, most likely introduced by mistake or during processing, such as during tokenization. Your task is to summarize this customer review while cleaning up white space to make the output more readable.

What argument would you use to do this?

This exercise is part of the course

Introduction to LLMs in Python

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise