Downloads · 30 days
0
BVCOE-IT2/LSTM
LSTM is a machine learning model from BVCOE-IT2. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
LSTMuse is a deep learning project that generates unique melodies in various musical styles. It leverages Long Short-Term Memory (LSTM) neural networks, a type of recurrent neural network well-suited for sequential da…
Downloads · 30 days
0
Access
Public
Updated Oct 21, 2024
Repo size
3.8 MB
Likes
0
Public
Click a slice to open those files.
.h53.8 MB · 100%
From the Hugging Face model README
LSTMuse is a deep learning project that generates unique melodies in various musical styles. It leverages Long Short-Term Memory (LSTM) neural networks, a type of recurrent neural network well-suited for sequential data like music. The project is designed to be adaptable, allowing for training on different datasets to explore various musical genres and influences. Key Features Preprocessing: Transforms music data into a suitable format for the model. Includes transposing to a common key, encoding melodies into numerical representations, and preparing training sequences. LSTM Model: Employs an LSTM network to learn patterns and structures in musical data. The model predicts the probability distribution of the next note based on the preceding notes, capturing musical relationships and dependencies. Melody Generation: Generates original melodies by sampling from the model's predicted probabilities. A temperature parameter controls the degree of randomness, allowing for both structured and more experimental compositions. MIDI Output: Saves the generated melodies as MIDI files, a standard format for musical data that can be easily played, shared, and further manipulated. Technical Details Programming Language: Python Libraries: TensorFlow/Keras (deep learning), music21 (music processing) Model Architecture: Customizable LSTM model with options for adjusting layers, units, and hyperparameters. Dataset: Can be trained on various datasets of symbolic music representations.