Run this model with HF Jobs
Run TylerHMC/Base-500-small on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/TylerHMC/Base-500-small. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/TylerHMC/Base-500-small on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/TylerHMC/Base-500-small. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/TylerHMC/Base-500-small. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use TylerHMC/Base-500-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TylerHMC/Base-500-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TylerHMC/Base-500-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("TylerHMC/Base-500-small") model = AutoModelForCausalLM.from_pretrained("TylerHMC/Base-500-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TylerHMC/Base-500-small with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TylerHMC/Base-500-small" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TylerHMC/Base-500-small", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TylerHMC/Base-500-small
- SGLang
How to use TylerHMC/Base-500-small with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "TylerHMC/Base-500-small" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TylerHMC/Base-500-small", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "TylerHMC/Base-500-small" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TylerHMC/Base-500-small", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TylerHMC/Base-500-small with Docker Model Runner:
docker model run hf.co/TylerHMC/Base-500-small
Push model using huggingface_hub.
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444{ "config": { "pitch_range": [ 21, 109 ], "beat_res": { "0_4": 8, "4_12": 4 }, "num_velocities": 32, "remove_duplicated_notes": true, "encode_ids_split": "bar", "special_tokens": [ "PAD_None", "BOS_None", "EOS_None", "MASK_None" ], "use_velocities": false, "use_note_duration_programs": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, -1 ], "use_chords": true, "use_rests": false, "use_tempos": true, "use_time_signatures": true, "use_sustain_pedals": false, "use_pitch_bends": false, "use_programs": true, "use_pitch_intervals": false, "use_pitchdrum_tokens": true, "default_note_duration": 0.5, "programs": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, -1 ], "one_token_stream_for_programs": true, "program_changes": true, "beat_res_rest": { "0_1": 8, "1_2": 4, "2_12": 2 }, "chord_maps": { "min": [ 0, 3, 7 ], "maj": [ 0, 4, 7 ], "dim": [ 0, 3, 6 ], "aug": [ 0, 4, 8 ], "sus2": [ 0, 2, 7 ], "sus4": [ 0, 5, 7 ], "7dom": [ 0, 4, 7, 10 ], "7min": [ 0, 3, 7, 10 ], "7maj": [ 0, 4, 7, 11 ], "7halfdim": [ 0, 3, 6, 10 ], "7dim": [ 0, 3, 6, 9 ], "7aug": [ 0, 4, 8, 11 ], "9maj": [ 0, 4, 7, 10, 14 ], "9min": [ 0, 4, 7, 10, 13 ] }, "chord_tokens_with_root_note": false, "chord_unknown": null, "num_tempos": 32, "tempo_range": [ 40, 250 ], "log_tempos": false, "delete_equal_successive_tempo_changes": true, "time_signature_range": { "8": [ 3, 12, 6 ], "4": [ 5, 6, 3, 2, 1, 4 ] }, "delete_equal_successive_time_sig_changes": true, "sustain_pedal_duration": false, "pitch_bend_range": [ -8192, 8191, 32 ], "max_pitch_interval": 16, "pitch_intervals_max_time_dist": 1, "drums_pitch_range": [ 27, 88 ], "ac_polyphony_track": false, "ac_polyphony_bar": false, "ac_polyphony_min": 1, "ac_polyphony_max": 6, "ac_pitch_class_bar": false, "ac_note_density_track": false, "ac_note_density_track_min": 0, "ac_note_density_track_max": 18, "ac_note_density_bar": false, "ac_note_density_bar_max": 18, "ac_note_duration_bar": false, "ac_note_duration_track": false, "ac_repetition_track": false, "ac_repetition_track_num_bins": 10, "ac_repetition_track_num_consec_bars": 4, "additional_params": { "max_bar_embedding": null, "use_bar_end_tokens": false, "add_trailing_bars": false } }, "tokenization": "REMI", "miditok_version": "3.0.6.post1", "symusic_version": "0.6.0", "hf_tokenizers_version": "0.22.2"}tokenizer.jsonAdded+444