{"by":"alvin_r_h","descendants":6,"id":40184372,"kids":[40187736,40187256,40188391,40209838,40188158],"score":47,"text":"I&#x27;ve been doing some data cleaning for my fine tuning projects using LLMs, and decided to just build a package for it as a side project. Check it out here: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;databonsai&#x2F;databonsai\">https:&#x2F;&#x2F;github.com&#x2F;databonsai&#x2F;databonsai</a><p>Some features:<p>- categorization (labelling), transformation and decomposition (text into structured format)\n- validates llm outputs<p>- batch mode batches up the inputs&#x2F;outputs so you don&#x27;t send the prompt (schema, fewshot examples) for every row of data, saving a significant amount of tokens<p>There are some similarities to the Instructor repo, but this is simpler and made for datasets. Would love any feedback&#x2F;suggestions (and a star if you like it!)","time":1714258743,"title":"Show HN: Data Bonsai: a Python package to clean your data with LLMs","type":"story","url":"https://github.com/databonsai/databonsai"}