raven-ml/raven
Modern scientific computing for OCaml
What it solves
Raven provides a complete, native ecosystem for machine learning and scientific computing within the OCaml programming language. It eliminates the need to rely on external Python libraries by offering OCaml-native equivalents for tasks ranging from data manipulation and numerical analysis to neural network training and probabilistic inference.
How it works
Raven is a collection of modular OCaml packages that compose like standard OCaml code. It handles everything from low-level GPU operations and n-dimensional array math to high-level neural network layers and dataframes. Because it is built entirely in OCaml, it integrates directly into the language's type system and build tools, allowing developers to perform complex scientific computing tasks without leaving the OCaml environment.
Who it’s for
This project is for OCaml developers who want to perform machine learning, data analysis, or scientific research without switching to Python. It is ideal for those who prefer the safety and performance of OCaml and want to build scientific applications that leverage GPU acceleration and modern ML techniques.
Highlights
- Comprehensive toolkit covering arrays, neural networks, dataframes, and plotting.
- Native GPU support and automatic differentiation.
- Modular design: install the full ecosystem or just the specific packages you need.
- Includes tools for experiment tracking, interactive notebooks, and probabilistic modeling.
- Built with a focus on OCaml-native performance and type safety.
Related
- Project
owlbarn/owlA comprehensive scientific computing system for OCaml that provides n-dimensional arrays, linear algebra, and deep learning capabilities for high-performance analytical code.
- Project
NVIDIA/aerial-cuda-accelerated-ranNVIDIA Aerial™ CUDA‑Accelerated RAN is an open‑source SDK that implements 5G PHY and MAC processing on NVIDIA GPUs. It includes CUDA kernels for channel coding, modulation, MIMO, and scheduling, plus a Python API for AI/ML research, all packaged in ready‑to‑run Docker containers.
- Project
marin-community/marinMarin is an open‑source platform for end‑to‑end development of foundation language models, offering declarative experiment pipelines, scaling‑law tools (Delphi), mixture‑of‑experts support, and extensive documentation, backed by Stanford CRFM, Open Athena and major research sponsors.
- Project
mittagessen/krakenkraken is an open‑source, Python‑based OCR toolkit for historical and non‑Latin scripts. It provides trainable layout analysis, reading‑order detection, and neural‑network character recognition, supporting right‑to‑left, bidirectional and vertical scripts. The tool outputs standard XML formats (ALTO, PageXML, hOCR), offers word‑level bounding boxes, and ships with a public model repository. Install via pip/pipx on Linux or macOS, fetch a model with `kraken get …`, and run a one‑line command to binarise, segment, and OCR an image.
- Project
seohongpark/ogbenchOGBench is a benchmark and Python library for offline goal-conditioned reinforcement learning. It provides 8 types of simulated environments (mazes, manipulation, drawing), 85 pre-collected datasets, and 6 JAX-based reference algorithms, allowing researchers to easily train and evaluate AI agents that learn to reach specific goals from static datasets.