nsaef / leichte-sprache

Create a dataset and train an LLM to translate standard German into Leichte Sprache
0 stars 0 forks source link

Ingest translated parallel data into DB #25

Closed nsaef closed 5 months ago

nsaef commented 5 months ago

Ingest the CSV file with the preivously translated konvens data into the SQLite DB.

df = pandas.read_csv(csvfile)
df.to_sql(table_name, conn, if_exists='append', index=False)