Instructions to use hf-internal-testing/tiny-random-Qwen2_5OmniForConditionalGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-Qwen2_5OmniForConditionalGeneration with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="hf-internal-testing/tiny-random-Qwen2_5OmniForConditionalGeneration")# Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-Qwen2_5OmniForConditionalGeneration") model = AutoModelForTextToWaveform.from_pretrained("hf-internal-testing/tiny-random-Qwen2_5OmniForConditionalGeneration") - Notebooks
- Google Colab
- Kaggle
| { | |
| "additional_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<|AUDIO|>", | |
| "<|audio_bos|>", | |
| "<|audio_eos|>", | |
| "<|box_end|>", | |
| "<|quad_start|>", | |
| "<|quad_end|>", | |
| "<|vision_bos|>", | |
| "<|vision_eos|>", | |
| "<|vision_pad|>", | |
| "<|IMAGE|>", | |
| "<|VIDEO|>" | |
| ], | |
| "audio_bos_token": "<|audio_bos|>", | |
| "audio_eos_token": "<|audio_eos|>", | |
| "audio_token": "<|AUDIO|>", | |
| "eos_token": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "image_token": "<|IMAGE|>", | |
| "pad_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "video_token": "<|VIDEO|>", | |
| "vision_bos_token": "<|vision_bos|>", | |
| "vision_eos_token": "<|vision_eos|>" | |
| } | |