upscaler
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…
Generates multitrack MIDI music with a language model trained on 8-bar pieces. Runs in the browser as a Docker app, for musicians and developers who want to try AI-made MIDI.
Multitrack Midi Music Generator is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download juancopi81/multitrack-midi-music-generator --repo-type space --local-dir multitrack-midi-music-generator cd multitrack-midi-music-generator
Multitrack Midi Music Generator makes music as MIDI, with several tracks at once. It uses two models named in the Space, a tokenizer and a language model whose names mention 8 bars. The Space runs on Hugging Face, so you can try it in a browser with nothing to install.
Musicians and hobbyists who want AI-made MIDI to play with, and developers who want to study a small Python music app packaged in Docker.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Music | Composers and hobbyists | Generate MIDI pieces as starting ideas | Create a piece and open it in a music editor |
| Games | Indie developers | Get quick musical sketches to try in a project | Generate a short piece and test it in a prototype |
| Machine learning | Researchers | Look at how a tokenizer and language model make music | Read model.py and the tokenizer files |
| Software | Developers | Build and run the Docker image locally | Run the container and publish port 7860 |
Anyone who needs finished audio recordings rather than MIDI can skip it.
It runs in these places.
| Use case | Who | What they get back |
|---|---|---|
| Generate a multitrack piece | Musicians | A MIDI piece with several tracks |
| Collect ideas for a project | Game and video makers | Short musical sketches in MIDI form |
| Study the code | Developers | A local copy with main.py and model.py to read |
Using the Space online needs only a browser. A copy on your own computer needs the following.
pip install -U huggingface_hub hf download juancopi81/multitrack-midi-music-generator --repo-type space --local-dir multitrack-midi-music-generator cd multitrack-midi-music-generator docker build -t multitrack-midi-music-generator . docker run -it -p 7860:7860 multitrack-midi-music-generator
Open the Space's page on Hugging Face, or start the container and open your browser on port 7860 of your computer. Then ask it to generate a piece and listen to or download the result.
docker run -it -p 7860:7860 multitrack-midi-music-generator
| Tool | What it does |
|---|---|
| main.py | The main file of the app |
| model.py | Holds the code that works with the music model |
| string_to_notes.py | Converts the model's text output into notes |
| docker build | Builds the image from the Dockerfile |
| docker run | Starts the container and publishes port 7860 |
You start the container, open the page on port 7860 and generate a piece. You get back a multitrack MIDI result that you can open in a MIDI editor or player.
MIDI is a file of notes and timing, not recorded sound, so any music program can play it with the instrument you pick. The first small thing to try is the online Space, with one generated piece.
The model names point to a tokenizer for 8-bar pieces and a language model trained for 40 epochs. The model writes music as text tokens, and a helper turns them into notes. The repository splits this across constants.py, model.py, utils.py and string_to_notes.py.
The Space states no usage limits, so treat it as a demo you can read and adapt.
Generates multitrack MIDI music with a language model trained on 8-bar pieces. Runs in the browser as a Docker app, for musicians and developers who want to try AI-made MIDI.
Made by juancopi81 on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.
What it is: Multitrack Midi Music Generator makes music as MIDI, with several tracks at once. It uses two models named in the Space, a tokenizer and a language model whose names mention 8 bars. The Space runs on Hugging Face, so you can try it in a browser with nothing to install.
Who it suits: Musicians and hobbyists who want AI-made MIDI to play with, and developers who want to study a small Python music app packaged in Docker.
Industry | Who uses it | How they use it | Example
Music | Composers and hobbyists | Generate MIDI pieces as starting ideas | Create a piece and open it in a music editor
Games | Indie developers | Get quick musical sketches to try in a project | Generate a short piece and test it in a prototype
Machine learning | Researchers | Look at how a tokenizer and language model make music | Read model.py and the tokenizer files
Software | Developers | Build and run the Docker image locally | Run the container and publish port 7860
Anyone who needs finished audio recordings rather than MIDI can skip it.
Where to use it: It runs in these places.
Use case | Who | What they get back
Generate a multitrack piece | Musicians | A MIDI piece with several tracks
Collect ideas for a project | Game and video makers | Short musical sketches in MIDI form
Study the code | Developers | A local copy with main.py and model.py to read
How to set it up: Using the Space online needs only a browser. A copy on your own computer needs the following.
pip install -U huggingface_hub
hf download juancopi81/multitrack-midi-music-generator --repo-type space --local-dir multitrack-midi-music-generator
cd multitrack-midi-music-generator
docker build -t multitrack-midi-music-generator .
docker run -it -p 7860:7860 multitrack-midi-music-generator
How to use it: Open the Space's page on Hugging Face, or start the container and open your browser on port 7860 of your computer. Then ask it to generate a piece and listen to or download the result.
docker run -it -p 7860:7860 multitrack-midi-music-generator
Tool | What it does
main.py | The main file of the app
model.py | Holds the code that works with the music model
string_to_notes.py | Converts the model's text output into notes
docker build | Builds the image from the Dockerfile
docker run | Starts the container and publishes port 7860
Example: You start the container, open the page on port 7860 and generate a piece. You get back a multitrack MIDI result that you can open in a MIDI editor or player.
For newcomers and experts: MIDI is a file of notes and timing, not recorded sound, so any music program can play it with the instrument you pick. The first small thing to try is the online Space, with one generated piece.
The model names point to a tokenizer for 8-bar pieces and a language model trained for 40 epochs. The model writes music as text tokens, and a helper turns them into notes. The repository splits this across constants.py, model.py, utils.py and string_to_notes.py.
You ask for a piece
The language model writes music tokens
string_to_notes.py turns them into notes
The page returns a multitrack MIDI piece
Good to know: The Space states no usage limits, so treat it as a demo you can read and adapt.
Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| Multitrack Midi Music Generator This page | 130 | docker | mit | |
| Zero GPU SpacesShares docker | 985 | docker | mit | |
| KimodoShares docker | 340 | docker | apache-2.0 | |
| Harness LeaderboardShares docker | 323 | docker | apache-2.0 | |
| FlowiseShares docker | 132 | docker | mit | |
| MuseTalkDemoShares docker | 78 | docker | creativeml-openrail-m |
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…
nerijs · Kit
A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…
microsoft · Kit
Turns written conversations into spoken audio with up to four speakers and about 90 minutes of speech, an open Microsoft text-to-speech model for research on p…
masterofaudio2077 · Kit
Reads Egyptian Arabic text aloud and follows the short vowel marks you write into it. A fine-tune of VoiceTut-TTS that keeps its 19 built-in voices and voice c…
hugging-quants · Kit
Runs Meta's Llama 3.1 8B Instruct chat model in 4-bit AWQ form, so it fits on a GPU with about 4 GiB of free memory for the weights. For developers who want a…
besktech · Kit
Scores a Russian-first decision from a context and a list of options, giving a probability for yes/no, choice or rating questions. Runs on a plain CPU, for tea…