Instructions to use 7ocho/WMAC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 7ocho/WMAC with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="7ocho/WMAC")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("7ocho/WMAC") model = AutoModelForSpeechSeq2Seq.from_pretrained("7ocho/WMAC", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from 7ocho/WMAC: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/7ocho/WMAC/resolve/main/generation_config.json
- Command line
-
hf download hf://7ocho/WMAC/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/7ocho/WMAC/resolve/main/generation_config.json
1.07 kB
| { | |
| "_from_model_config": false, | |
| "assistant_confidence_threshold": 0.4, | |
| "assistant_lookbehind": 10, | |
| "bos_token_id": 643, | |
| "decoder_start_token_id": 644, | |
| "diversity_penalty": 0.0, | |
| "do_sample": false, | |
| "early_stopping": false, | |
| "encoder_no_repeat_ngram_size": 0, | |
| "encoder_repetition_penalty": 1.0, | |
| "eos_token_id": [ | |
| 643 | |
| ], | |
| "epsilon_cutoff": 0.0, | |
| "eta_cutoff": 0.0, | |
| "forced_decoder_ids": null, | |
| "language": null, | |
| "length_penalty": 1.0, | |
| "max_length": 444, | |
| "min_length": 0, | |
| "no_repeat_ngram_size": 4, | |
| "num_assistant_tokens": 20, | |
| "num_assistant_tokens_schedule": "constant", | |
| "num_beam_groups": 1, | |
| "num_beams": 1, | |
| "num_return_sequences": 1, | |
| "output_attentions": false, | |
| "output_hidden_states": false, | |
| "output_scores": false, | |
| "pad_token_id": 643, | |
| "remove_invalid_values": false, | |
| "repetition_penalty": 1.5, | |
| "return_dict_in_generate": false, | |
| "target_lookbehind": 10, | |
| "task": null, | |
| "temperature": 1.0, | |
| "top_k": 50, | |
| "top_p": 1.0, | |
| "transformers_version": "5.2.0", | |
| "typical_p": 1.0, | |
| "use_cache": true | |
| } | |