Run this model with HF Jobs
Run Anguuuuus/enhanced_german 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/Anguuuuus/enhanced_german. 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/Anguuuuus/enhanced_german 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 Anguuuuus/enhanced_german with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Anguuuuus/enhanced_german with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="Anguuuuus/enhanced_german")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("Anguuuuus/enhanced_german") model = AutoModelForAudioClassification.from_pretrained("Anguuuuus/enhanced_german", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (6)
- README.mdAdded+72
- config.jsonAdded+126
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+9
- runs/Jan29_05-11-23_7fc25ed8e86e/events.out.tfevents.1706505086.7fc25ed8e86e.563.0Added+3
- training_args.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172---license: apache-2.0base_model: facebook/wav2vec2-basetags:- generated_from_trainermetrics:- accuracymodel-index:- name: enhanced_german results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# enhanced_german
This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.7120- Accuracy: 0.4167
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 3e-05- train_batch_size: 32- eval_batch_size: 32- seed: 42- gradient_accumulation_steps: 4- total_train_batch_size: 128- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- lr_scheduler_warmup_ratio: 0.1- num_epochs: 10
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| No log | 1.0 | 1 | 0.6914 | 0.5 || No log | 2.0 | 2 | 0.7120 | 0.25 || No log | 3.0 | 3 | 0.7148 | 0.4167 || No log | 4.0 | 4 | 0.7143 | 0.3333 || No log | 5.0 | 5 | 0.7164 | 0.25 || No log | 6.0 | 6 | 0.7076 | 0.3333 || No log | 7.0 | 7 | 0.7164 | 0.3333 || No log | 8.0 | 8 | 0.7150 | 0.4167 || No log | 9.0 | 9 | 0.7134 | 0.4167 || 0.3329 | 10.0 | 10 | 0.7120 | 0.4167 |
### Framework versions
- Transformers 4.35.2- Pytorch 2.1.0+cu121- Datasets 2.16.1- Tokenizers 0.15.1123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126{ "_name_or_path": "facebook/wav2vec2-base", "activation_dropout": 0.0, "adapter_attn_dim": null, "adapter_kernel_size": 3, "adapter_stride": 2, "add_adapter": false, "apply_spec_augment": true, "architectures": [ "Wav2Vec2ForSequenceClassification" ], "attention_dropout": 0.1, "bos_token_id": 1, "classifier_proj_size": 256, "codevector_dim": 256, "contrastive_logits_temperature": 0.1, "conv_bias": false, "conv_dim": [ 512, 512, 512, 512, 512, 512, 512 ], "conv_kernel": [ 10, 3, 3, 3, 3, 2, 2 ], "conv_stride": [ 5, 2, 2, 2, 2, 2, 2 ], "ctc_loss_reduction": "sum", "ctc_zero_infinity": false, "diversity_loss_weight": 0.1, "do_stable_layer_norm": false, "eos_token_id": 2, "feat_extract_activation": "gelu", "feat_extract_norm": "group", "feat_proj_dropout": 0.1, "feat_quantizer_dropout": 0.0, "final_dropout": 0.0, "freeze_feat_extract_train": true, "hidden_act": "gelu", "hidden_dropout": 0.1, "hidden_size": 768, "id2label": { "0": "healthy", "1": "pathological" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "healthy": 0, "pathological": 1 }, "layer_norm_eps": 1e-05, "layerdrop": 0.0, "mask_channel_length": 10, "mask_channel_min_space": 1, "mask_channel_other": 0.0, "mask_channel_prob": 0.0, "mask_channel_selection": "static", "mask_feature_length": 10, "mask_feature_min_masks": 0, "mask_feature_prob": 0.0, "mask_time_length": 10, "mask_time_min_masks": 2, "mask_time_min_space": 1, "mask_time_other": 0.0, "mask_time_prob": 0.05, "mask_time_selection": "static", "model_type": "wav2vec2", "no_mask_channel_overlap": false, "no_mask_time_overlap": false, "num_adapter_layers": 3, "num_attention_heads": 12, "num_codevector_groups": 2, "num_codevectors_per_group": 320, "num_conv_pos_embedding_groups": 16, "num_conv_pos_embeddings": 128, "num_feat_extract_layers": 7, "num_hidden_layers": 12, "num_negatives": 100, "output_hidden_size": 768, "pad_token_id": 0, "proj_codevector_dim": 256, "tdnn_dilation": [ 1, 2, 3, 1, 1 ], "tdnn_dim": [ 512, 512, 512, 512, 1500 ], "tdnn_kernel": [ 5, 3, 3, 1, 1 ], "torch_dtype": "float32", "transformers_version": "4.35.2", "use_weighted_layer_sum": false, "vocab_size": 32, "xvector_output_dim": 512}123version https://git-lfs.github.com/spec/v1oid sha256:2ea1b8938989d5df28441bddb1b535f8a9fb36e5a49b6e971bd53db2fb98626dsize 378302360123456789{ "do_normalize": true, "feature_extractor_type": "Wav2Vec2FeatureExtractor", "feature_size": 1, "padding_side": "right", "padding_value": 0.0, "return_attention_mask": false, "sampling_rate": 16000}123version https://git-lfs.github.com/spec/v1oid sha256:ec7436c892dd1222005a177b4866fe17b4711cfa1dea02b9baa68ec2c7dca373size 9713123version https://git-lfs.github.com/spec/v1oid sha256:06e1c040a40825c43fc2869f4e4843e4a0a24f34a4a406475894deeff6a95623size 4600README.mdAdded+72
config.jsonAdded+126
model.safetensorsAdded+3
preprocessor_config.jsonAdded+9
runs/Jan29_05-11-23_7fc25ed8e86e/events.out.tfevents.1706505086.7fc25ed8e86e.563.0Added+3
training_args.binAdded+3