Giant Music Transformer
Giant Music Transformer as a PyPi package
Install
pip install giantmusictransformer
(Optional) FluidSynth for MIDI to Audio functinality
Ubuntu or Debian
sudo apt-get install fluidsynth
Windows (with Chocolatey)
choco install fluidsynth
Quick-start use example
import giantmusictransformer as gmt
# Load desired Giant Music Transformer model
# There are several to choose from...
model = gmt.load_model('medium')
# Get sample seed MIDI path
sample_midi_path = gmt.get_sample_midi_files()[6][1]
# Load seed MIDI
input_tokens = gmt.midi_to_tokens(sample_midi_path)
# Generate seed MIDI continuation
output_tokens = gmt.generate(model, input_tokens, 600, return_prime=True)
# Save output to MIDI
gmt.tokens_to_midi(output_tokens[0])
Project Los Angeles
Tegridy Code 2024
Metadata
Release files for giantmusictransformer 24.12.23
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| giantmusictransformer-24.12.23.tar.gz | 169.3 kB | Without provenance | Details for giantmusictransformer-24.12.23.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| giantmusictransformer-24.12.23-py3-none-any.whl | Python 3 | none | any | Details for giantmusictransformer-24.12.23-py3-none-any.whl |
Total release size: 346.8 kB
Release files / giantmusictransformer-24.12.23.tar.gz
| Download URL | giantmusictransformer-24.12.23.tar.gz |
|---|---|
| Size | 169.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21e705f33ebfb2b2c41cabfd6b043acc7204ea0d9c9f25634cd525d2b9a812eb
|
|
BLAKE2b-256 checksum How to use checksums |
2572806da54b18544fec708156c4cb7cd6b9a1370fd763135ef14f5b09f758aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Release files / giantmusictransformer-24.12.23-py3-none-any.whl
| Download URL | giantmusictransformer-24.12.23-py3-none-any.whl |
|---|---|
| Size | 177.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
650450fd74e5d18666b78a1eb7b542ed138c6bb1074464f677414fc7a8a70af7
|
|
BLAKE2b-256 checksum How to use checksums |
50033945a81558362e2fd18f2e0753eb30c6952fcd2869bec1ad6f9f9b877326
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Security for giantmusictransformer 24.12.23
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.