Run this model with HF Jobs
Run hf-internal-testing/tiny-random-MusicgenForConditionalGeneration 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 to fine-tune https://huggingface.co/hf-internal-testing/tiny-random-MusicgenForConditionalGeneration. 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/hf-internal-testing/tiny-random-MusicgenForConditionalGeneration 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.
Instructions to use hf-internal-testing/tiny-random-MusicgenForConditionalGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MusicgenForConditionalGeneration with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="hf-internal-testing/tiny-random-MusicgenForConditionalGeneration")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-MusicgenForConditionalGeneration") model = AutoModelForTextToWaveform.from_pretrained("hf-internal-testing/tiny-random-MusicgenForConditionalGeneration", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
1fbe0b0
1
Parent(s): b71611b
Update tiny models for MusicgenForConditionalGeneration
Browse filesFiles changed (5)
259 unmodified lines260261262263264259 unmodified lines"vocab_size": 99},"torch_dtype": "float32","transformers_version": "4.32.0.dev0"}259 unmodified lines260261262263264259 unmodified lines"vocab_size": 99},"torch_dtype": "float32","transformers_version": "4.34.0.dev0"}
2 unmodified lines345672 unmodified lines"bos_token_id": 99,"decoder_start_token_id": 99,"pad_token_id": 99,"transformers_version": "4.32.0.dev0"}2 unmodified lines345672 unmodified lines"bos_token_id": 99,"decoder_start_token_id": 99,"pad_token_id": 99,"transformers_version": "4.34.0.dev0"}
123version https://git-lfs.github.com/spec/v1oid sha256:27e5470ddc84bcaad00aeecf13d057453e3445385e9075a910f422a06f0378d8size 4963125123version https://git-lfs.github.com/spec/v1oid sha256:69517bdd2277c600a40d82c5f71a27663226ce3fad3e433b1802fd496a6637e3size 4963125
123499 unmodified lines104105106107108109110111112113{"additional_special_tokens": ["<extra_id_0>","<extra_id_1>",99 unmodified lines"clean_up_tokenization_spaces": true,"eos_token": "</s>","extra_ids": 100,"legacy": true,"model_max_length": 512,"pad_token": "<pad>","sp_model_kwargs": {},"tokenizer_class": "T5Tokenizer","unk_token": "<unk>"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983099 unmodified lines930931932933934935936937{"added_tokens_decoder": {"0": {"content": "<pad>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"1": {"content": "</s>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"2": {"content": "<unk>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"3": {"content": "<extra_id_99>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"4": {"content": "<extra_id_98>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"5": {"content": "<extra_id_97>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"6": {"content": "<extra_id_96>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"7": {"content": "<extra_id_95>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"8": {"content": "<extra_id_94>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"9": {"content": "<extra_id_93>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"10": {"content": "<extra_id_92>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"11": {"content": "<extra_id_91>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"12": {"content": "<extra_id_90>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"13": {"content": "<extra_id_89>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"14": {"content": "<extra_id_88>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"15": {"content": "<extra_id_87>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"16": {"content": "<extra_id_86>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"17": {"content": "<extra_id_85>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"18": {"content": "<extra_id_84>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"19": {"content": "<extra_id_83>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"20": {"content": "<extra_id_82>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"21": {"content": "<extra_id_81>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"22": {"content": "<extra_id_80>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"23": {"content": "<extra_id_79>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"24": {"content": "<extra_id_78>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"25": {"content": "<extra_id_77>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"26": {"content": "<extra_id_76>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"27": {"content": "<extra_id_75>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"28": {"content": "<extra_id_74>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"29": {"content": "<extra_id_73>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"30": {"content": "<extra_id_72>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"31": {"content": "<extra_id_71>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"32": {"content": "<extra_id_70>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"33": {"content": "<extra_id_69>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"34": {"content": "<extra_id_68>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"35": {"content": "<extra_id_67>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"36": {"content": "<extra_id_66>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"37": {"content": "<extra_id_65>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"38": {"content": "<extra_id_64>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"39": {"content": "<extra_id_63>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"40": {"content": "<extra_id_62>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"41": {"content": "<extra_id_61>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"42": {"content": "<extra_id_60>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"43": {"content": "<extra_id_59>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"44": {"content": "<extra_id_58>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"45": {"content": "<extra_id_57>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"46": {"content": "<extra_id_56>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"47": {"content": "<extra_id_55>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"48": {"content": "<extra_id_54>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"49": {"content": "<extra_id_53>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"50": {"content": "<extra_id_52>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"51": {"content": "<extra_id_51>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"52": {"content": "<extra_id_50>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"53": {"content": "<extra_id_49>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"54": {"content": "<extra_id_48>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"55": {"content": "<extra_id_47>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"56": {"content": "<extra_id_46>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"57": {"content": "<extra_id_45>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"58": {"content": "<extra_id_44>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"59": {"content": "<extra_id_43>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"60": {"content": "<extra_id_42>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"61": {"content": "<extra_id_41>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"62": {"content": "<extra_id_40>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"63": {"content": "<extra_id_39>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"64": {"content": "<extra_id_38>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"65": {"content": "<extra_id_37>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"66": {"content": "<extra_id_36>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"67": {"content": "<extra_id_35>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"68": {"content": "<extra_id_34>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"69": {"content": "<extra_id_33>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"70": {"content": "<extra_id_32>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"71": {"content": "<extra_id_31>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"72": {"content": "<extra_id_30>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"73": {"content": "<extra_id_29>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"74": {"content": "<extra_id_28>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"75": {"content": "<extra_id_27>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"76": {"content": "<extra_id_26>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"77": {"content": "<extra_id_25>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"78": {"content": "<extra_id_24>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"79": {"content": "<extra_id_23>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"80": {"content": "<extra_id_22>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"81": {"content": "<extra_id_21>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"82": {"content": "<extra_id_20>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"83": {"content": "<extra_id_19>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"84": {"content": "<extra_id_18>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"85": {"content": "<extra_id_17>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"86": {"content": "<extra_id_16>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"87": {"content": "<extra_id_15>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"88": {"content": "<extra_id_14>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"89": {"content": "<extra_id_13>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"90": {"content": "<extra_id_12>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"91": {"content": "<extra_id_11>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"92": {"content": "<extra_id_10>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"93": {"content": "<extra_id_9>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"94": {"content": "<extra_id_8>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"95": {"content": "<extra_id_7>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"96": {"content": "<extra_id_6>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"97": {"content": "<extra_id_5>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"98": {"content": "<extra_id_4>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"99": {"content": "<extra_id_3>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"100": {"content": "<extra_id_2>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"101": {"content": "<extra_id_1>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true},"102": {"content": "<extra_id_0>","lstrip": true,"normalized": false,"rstrip": true,"single_word": false,"special": true}},"additional_special_tokens": ["<extra_id_0>","<extra_id_1>",99 unmodified lines"clean_up_tokenization_spaces": true,"eos_token": "</s>","extra_ids": 100,"model_max_length": 512,"pad_token": "<pad>","tokenizer_class": "T5Tokenizer","unk_token": "<unk>"}
config.json+1-1
generation_config.json+1-1
pytorch_model.bin+1-1
tokenizer.json
tokenizer_config.json+826-2