rnnandi's picture
Add all files to convert gemma3 model to onnx
ca97aa9
<h3 align="center">
<p>State-of-the-art Machine Learning for the Web</p>
</h3>
Run πŸ€— Transformers directly in your browser, with no need for a server!
Transformers.js is designed to be functionally equivalent to Hugging Face's [transformers](https://github.com/huggingface/transformers) python library, meaning you can run the same pretrained models using a very similar API. These models support common tasks in different modalities, such as:
- πŸ“ **Natural Language Processing**: text classification, named entity recognition, question answering, language modeling, summarization, translation, multiple choice, and text generation.
- πŸ–ΌοΈ **Computer Vision**: image classification, object detection, segmentation, and depth estimation.
- πŸ—£οΈ **Audio**: automatic speech recognition, audio classification, and text-to-speech.
- πŸ™ **Multimodal**: embeddings, zero-shot audio classification, zero-shot image classification, and zero-shot object detection.
Transformers.js uses [ONNX Runtime](https://onnxruntime.ai/) to run models in the browser. The best part about it, is that you can easily [convert](#convert-your-models-to-onnx) your pretrained PyTorch, TensorFlow, or JAX models to ONNX using [πŸ€— Optimum](https://github.com/huggingface/optimum#onnx--onnx-runtime).
For more information, check out the full [documentation](https://huggingface.co/docs/transformers.js).