How an Alibaba Engineer Built an AI Hip‑Hop Lyric Generator for Double 11

An Alibaba engineer created MusicGo, an AI program that scrapes hip‑hop lyrics, trains a seq2seq LSTM model, and generates rap songs themed around Double 11 and Alibaba's smart logistics, illustrating the practical steps, challenges, and creative adjustments needed for AI‑driven music creation.

Alibaba Cloud Developer
Alibaba Cloud Developer
Alibaba Cloud Developer
How an Alibaba Engineer Built an AI Hip‑Hop Lyric Generator for Double 11

MusicGo is an AI lyric‑generation program developed by Alibaba engineer Lu Yang, designed to compose rap songs for the Double 11 shopping festival by learning from hip‑hop lyrics and technology‑related texts.

Lu Yang describes the core idea as a function similar to Y=WX+B: given an input sequence X, the model should output a sequence Y and hidden state H, then use Y and H as the next input to continue generation.

Deep learning provides the abstraction: a supervised seq2seq model learns the mapping from input sequences (A, C) to output sequences (B, D) by adjusting parameters until the loss is minimized.

Implementation Steps

Collect lyrics – Python scripts scraped thousands of hip‑hop songs from online music platforms.

Preprocess data – removed punctuation and special characters to obtain clean text.

Train a seq2seq model – built an LSTM encoder‑decoder, applied a softmax layer to produce logits, and minimized total loss through iterative training.

Generate lyrics – used the trained model to produce rap verses.

Initial outputs were chaotic because the model had insufficient training and high loss, resulting in incoherent rap lines.

To align the lyrics with Double 11 and Alibaba’s smart technologies, Lu Yang fed the model with articles containing keywords such as "Alibaba Cloud", "Cainiao robotics", "Intelligent Customer Service", and constrained the output with hip‑hop rhythm patterns, then manually refined the verses.

Sample excerpt from the final song demonstrates the blend of e‑commerce hype and rap style:

又来到一年 双11 让我买买买 花光所有力气 让我把指挥权交给智能机器

Images illustrate the system architecture and training process:

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

AlibabaAISeq2SeqLSTMLyric GenerationMusicGo
Alibaba Cloud Developer
Written by

Alibaba Cloud Developer

Alibaba's official tech channel, featuring all of its technology innovations.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.