Transformers.js

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 May 1 16:31
Editor
Edited
Edited
2024 Dec 2 16:43
/** @type {Record<DataType, string>} */ export const DEFAULT_DTYPE_SUFFIX_MAPPING = Object.freeze({ [DATA_TYPES.fp32]: '', [DATA_TYPES.fp16]: '_fp16', [DATA_TYPES.int8]: '_int8', [DATA_TYPES.uint8]: '_uint8', [DATA_TYPES.q8]: '_quantized', [DATA_TYPES.q4]: '_q4', [DATA_TYPES.q4f16]: '_q4f16', [DATA_TYPES.bnb4]: '_bnb4', });
Transformer.js Usages
 
 
 
 

function by serverComponentsExternalPackages in next.js

Documents

The `pipeline` API
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
The `pipeline` API

Demo

Transformers.js
Making ML-powered web games with Transformers.js
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
Making ML-powered web games with Transformers.js

Supported models

transformers.js/scripts/supported_models.py at main · xenova/transformers.js
State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server! - xenova/transformers.js
transformers.js/scripts/supported_models.py at main · xenova/transformers.js
Whisper Timestamped - a Hugging Face Space by Xenova
In-browser speech recognition w/ word-level timestamps
Whisper Timestamped - a Hugging Face Space by Xenova

Recommendataion

Xenova/LiteLlama-460M-1T · Hugging Face
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
Xenova/LiteLlama-460M-1T · Hugging Face
onnx-community/MobileLLM-125M · Hugging Face
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
onnx-community/MobileLLM-125M · Hugging Face
nanollava for
Multimodal AI
Xenova/nanoLLaVA · Hugging Face
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
Xenova/nanoLLaVA · Hugging Face
 

Recommendations