KerasFormers
A library that ports 118+ model families to pure Keras 3 — run the same code on JAX, PyTorch, or TensorFlow with no transformers dependency at runtime.
| What is it | A library that ports 118+ model families to pure Keras 3 — run the same code on JAX, PyTorch, or TensorFlow with no transformers dependency at runtime. |
|---|---|
| Pricing | Free |
| Free tier | Yes |
| Platform | API |
| API | Yes |
| Best for | running object detection, segmentation, and depth estimation models, switching model inference between JAX, PyTorch, and TensorFlow |
| Domain registered | 2013 |
Data updated Aug. 27, 2026
What does KerasFormers do?
KerasFormers is an open-source library that reimplements popular model architectures — from object detectors like DETR to LLMs like Qwen3 and speech recognition with Whisper — entirely in Keras 3. The project has ported over 118 model families, each with weights converted from the original checkpoints. The pitch is simple: you write your code once, and it runs on JAX, PyTorch, or TensorFlow without needing Hugging Face's transformers or torch at inference time.
Getting started is refreshingly straightforward. Install the package with pip, then call `from_weights` on any model class — pass a repo identifier from the KerasFormers Hugging Face organization, a bare variant name, or even a compatible Hugging Face repo with an `hf:` prefix. The corresponding processor is built the same way, so resolution and normalization always match the checkpoint. That's it: two function calls to get predictions. The library includes models for object detection, semantic segmentation, depth estimation, promptable segmentation (SAM 3), open-vocabulary detection (OWLv2), and text generation.
KerasFormers is built for developers and researchers who want to experiment with multiple backends without rewriting pipelines. If you need to compare inference speed across JAX, PyTorch, and TensorFlow, or if you prefer Keras’s API but need access to modern architectures, this library saves you the porting work. It's also handy for production deployments where you want to avoid pulling in the full transformers stack. The project is hosted on GitHub and the weights live on Hugging Face, so integration into existing workflows is about as painless as it gets.
Key features
What makes it stand outWho is KerasFormers for?
Who benefits most from this toolTrust & presence
Alternatives in Developer Tools
End-to-end open source platform for building and deploying machine learning models across diverse environments
Platform for sharing, discovering, and running machine learning models, datasets, and AI apps.
Open-source AI OS that turns any LLM into an autonomous agent with memory, tools, and sandboxed code execution
Autonomous software delivery agent — turns stories into reviewed pull requests without manual effort
Open-source framework for building and recursively self-improving AI agents
Tiny, open-source coding agent CLI — install in seconds, run locally or in the cloud, model-agnostic
Qoder transforms how AI understands real software. Beyond snippets, it grasps your entire architecture—dependencies, patterns, history. Chat naturally for multi-file edits or delegate tasks to AI. From invisible complexity to transparent collaboration.
Open-source desktop workspace to run multiple AI coding agents in parallel, isolated in Git worktrees, with a review-first workflow.
Similar tools
Serverless API access to 22,700+ open-source AI models for coding, writing, and research.
Build AI-powered workflows using plain English — describe a task and the AI creates automations that work across your apps.
No-code AI agents that handle customer support and lead generation conversations 24/7
Build AI agents that connect to 1,500+ apps and run sales, support, and ops tasks automatically