Instructions to use Xenova/gpt-4o with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Xenova/gpt-4o with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Xenova/gpt-4o", device_map="auto") - Transformers.js
How to use Xenova/gpt-4o with Transformers.js:
// ⚠️ Unknown pipeline tag
- Notebooks
- Google Colab
- Kaggle
Is this really a GPT-4o model?
this is the only model titled "GPT-4o" on the hub at the moment so I am unsure if it is actually capable of video recognition and speech synthesis.
Hi there :) As stated in the README, this is only the tokenizer for gpt-4o, made to be compatible with Hugging Face transformers and transformers.js.
你好
how we can get confirmation that its gpt-4 model because before using i really important to verify
I'm sorry for the probably stupid question, but. Do you think this tokenizer is capable of tokenizing not only text data, but also video or audio data without using intermediary modules like Whsiper? I will be very grateful for any response❤️❤️❤️.
@AmHoechste Unfortunately, this tokenizer is only for text. To be able to preprocess video or audio, we would need to know the format that the model expects. Then, to be able to generate embeddings for video/audio, we would need the model weights for the vision/audio encoder, which we don't have.
Which model is best for this tokenizer?