Instructions to use lalacelik/BirdClef-wav2vec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lalacelik/BirdClef-wav2vec with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="lalacelik/BirdClef-wav2vec")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("lalacelik/BirdClef-wav2vec") model = AutoModelForAudioClassification.from_pretrained("lalacelik/BirdClef-wav2vec", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from lalacelik/BirdClef-wav2vec: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/lalacelik/BirdClef-wav2vec/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://lalacelik/BirdClef-wav2vec/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/lalacelik/BirdClef-wav2vec/resolve/main/tokenizer_config.json
348 Bytes
| { | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": true, | |
| "do_lower_case": false, | |
| "do_normalize": true, | |
| "eos_token": "</s>", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<pad>", | |
| "return_attention_mask": false, | |
| "tokenizer_class": "Wav2Vec2Tokenizer", | |
| "unk_token": "<unk>", | |
| "word_delimiter_token": "|" | |
| } | |