Run this model with HF Jobs
Run dragonSwing/audify 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/dragonSwing/audify. 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/dragonSwing/audify 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 dragonSwing/audify with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dragonSwing/audify with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dragonSwing/audify", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
09e18b1
1
Parent(s): 035d6f4
Initial commit
Browse filesFiles changed (6)
- .gitattributes+1
- classifier.ckptAdded+3
- config.jsonAdded+3
- embedding_model.ckptAdded+3
- hyperparams.yamlAdded+64
- label_encoder.txtAdded+6
25 unmodified lines26272825 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zstandard filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text25 unmodified lines2627282925 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zstandard filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:f1c5cf560dc904388ca459804ce8ee11944b3edc102a146d2a7c3c3ea1b3b67bsize 9067123{ "speechbrain_interface": "EncoderClassifier"}123version https://git-lfs.github.com/spec/v1oid sha256:0766e6aba5bd68e4a080116bb8ae17afc616284d1c2a50a22d67202b56e73b11size 106570212345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364# ############################################################################# Model: ECAPA-TDNN for Audio Classification# ############################################################################
# Pretrain folder (HuggingFace)pretrained_path: /content/drive/MyDrive/audify/inference
# Feature parametersn_mels: 80
# Output parametersout_n_neurons: 4 # Possible languages in the dataset
# Model paramscompute_features: !new:speechbrain.lobes.features.Fbank n_mels: !ref <n_mels>
mean_var_norm: !new:speechbrain.processing.features.InputNormalization norm_type: sentence std_norm: False
# Embedding ModelCNN: !new:speechbrain.lobes.models.convolution.ConvolutionFrontEnd input_shape: (null, null, 80) num_blocks: 3 num_layers_per_block: 1 out_channels: (128, 256, 512) kernel_sizes: (3, 3, 1) strides: (2, 2, 1) residuals: (False, False, False) conv_module: !name:speechbrain.nnet.CNN.Conv1d norm: !name:speechbrain.nnet.normalization.BatchNorm1d
pooling: !new:speechbrain.nnet.pooling.AdaptivePool output_size: 1
embedding: !new:torch.nn.ModuleList - [!ref <CNN>, !ref <pooling>]
embedding_model: !new:speechbrain.nnet.containers.LengthsCapableSequential CNN: !ref <CNN> pooling: !ref <pooling>
classifier: !new:speechbrain.lobes.models.ECAPA_TDNN.Classifier input_size: 512 out_neurons: !ref <out_n_neurons>
modules: compute_features: !ref <compute_features> mean_var_norm: !ref <mean_var_norm> embedding_model: !ref <embedding_model> classifier: !ref <classifier>
label_encoder: !new:speechbrain.dataio.encoder.CategoricalEncoder
pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer loadables: embedding_model: !ref <embedding> classifier: !ref <classifier> label_encoder: !ref <label_encoder> paths: embedding_model: !ref <pretrained_path>/embedding_model.ckpt classifier: !ref <pretrained_path>/classifier.ckpt label_encoder: !ref <pretrained_path>/label_encoder.txt123456'speech' => 0'noisy_speech' => 1'corrupted' => 2'music' => 3================'starting_index' => 0.gitattributes+1
classifier.ckptAdded+3
config.jsonAdded+3
embedding_model.ckptAdded+3
hyperparams.yamlAdded+64
label_encoder.txtAdded+6