BOFFINS developed the first AI engine to write love songs — and it came up with the line: “You’re my biohazard baby”.

Text generator LovelaceGPT’s bizarre ditty — which it called Delirious Ecstasy — adds: “Please don’t cry for me. Oh, you don’t.”

The AI was fed with quotations from thousands of love poems and song lyrics before the button was pushed.

A further six unique and quirky songs were produced by the software.

The results have been set to music and released under the name Love Letters.

Experts in music, English and computer science collaborated on the project at the University of Southampton, with the generator built by student intern Yaseen Mohammed Osman.

Dr Ben Oliver, Associate Professor in Composition, said: “One of the hardest things in writing songs is finding suitable words to set to music.

The words LovelaceGPT generated are often strange but also wonderful and evocative.

“There is something liberating about developing creative texts using a text generator because you don’t owe the machine anything and it doesn’t care if you undertake brutal edits!”

The songs were written for singer Hannah Williams, accompanied by two pianists and two percussionists from classical music group Riot Ensemble.

Most read in Tech