Instructions to use halcyonzhou/1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use halcyonzhou/1.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="halcyonzhou/1.0")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("halcyonzhou/1.0") model = AutoModelForCTC.from_pretrained("halcyonzhou/1.0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from halcyonzhou/1.0: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/halcyonzhou/1.0/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://halcyonzhou/1.0/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/halcyonzhou/1.0/resolve/main/tokenizer_config.json
1.18 kB
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<pad>", | |
| "lstrip": true, | |
| "normalized": false, | |
| "rstrip": true, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "1": { | |
| "content": "<s>", | |
| "lstrip": true, | |
| "normalized": false, | |
| "rstrip": true, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "2": { | |
| "content": "</s>", | |
| "lstrip": true, | |
| "normalized": false, | |
| "rstrip": true, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "3": { | |
| "content": "<unk>", | |
| "lstrip": true, | |
| "normalized": false, | |
| "rstrip": true, | |
| "single_word": false, | |
| "special": false | |
| } | |
| }, | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": false, | |
| "do_lower_case": false, | |
| "do_normalize": true, | |
| "eos_token": "</s>", | |
| "extra_special_tokens": {}, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<pad>", | |
| "processor_class": "Wav2Vec2Processor", | |
| "replace_word_delimiter_char": " ", | |
| "return_attention_mask": false, | |
| "target_lang": null, | |
| "tokenizer_class": "Wav2Vec2CTCTokenizer", | |
| "unk_token": "<unk>", | |
| "word_delimiter_token": "|" | |
| } | |