{"id":39584709,"url":"https://github.com/raven-ml/raven","last_synced_at":"2026-03-01T00:00:53.468Z","repository":{"id":289345628,"uuid":"948274610","full_name":"raven-ml/raven","owner":"raven-ml","description":"Modern scientific computing for OCaml","archived":false,"fork":false,"pushed_at":"2026-02-22T12:22:08.000Z","size":21456,"stargazers_count":351,"open_issues_count":18,"forks_count":49,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-02-22T17:55:36.171Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://raven-ml.dev","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raven-ml.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-03-14T03:22:19.000Z","updated_at":"2026-02-22T12:22:12.000Z","dependencies_parsed_at":"2025-06-16T19:31:11.200Z","dependency_job_id":"ac69d8ce-7499-4b98-882a-e2b982f40749","html_url":"https://github.com/raven-ml/raven","commit_stats":null,"previous_names":["raven-ml/raven"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/raven-ml/raven","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raven-ml%2Fraven","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raven-ml%2Fraven/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raven-ml%2Fraven/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raven-ml%2Fraven/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raven-ml","download_url":"https://codeload.github.com/raven-ml/raven/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raven-ml%2Fraven/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29955885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T22:53:01.873Z","status":"ssl_error","status_checked_at":"2026-02-28T22:52:50.699Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-18T07:35:27.094Z","updated_at":"2026-03-01T00:00:52.534Z","avatar_url":"https://github.com/raven-ml.png","language":"OCaml","funding_links":[],"categories":["\u003ca name=\"OCaml\"\u003e\u003c/a\u003eOCaml","OCaml"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"www/site/raven.svg\" width=\"80\" alt=\"raven\"\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003emodern scientific computing for OCaml\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://raven-ml.dev/docs/\"\u003edocs\u003c/a\u003e \u0026middot;\n  \u003ca href=\"https://raven-ml.dev/docs/installation/\"\u003einstall\u003c/a\u003e \u0026middot;\n  \u003ca href=\"https://github.com/raven-ml/raven/issues\"\u003eissues\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nRaven is an ecosystem of OCaml libraries for numerical computing, machine learning, and data science. Everything you know from Python — NumPy, JAX, PyTorch, Matplotlib, Jupyter — rebuilt with type safety.\n\n\u003e Raven is **alpha**. APIs will change. [Feedback welcome.](https://github.com/raven-ml/raven/issues)\n\n```ocaml\n(* nx — n-dimensional arrays *)\nlet x = Nx.linspace float32 0. 10. 100\nlet y = Nx.sin x\n\n(* rune — automatic differentiation *)\nlet grad_f = Rune.grad (fun x -\u003e Rune.sum (Rune.mul x x)) x\n\n(* brot — tokenization *)\nlet tokenizer = Brot.from_file \"tokenizer.json\" |\u003e Result.get_ok\nlet ids = Brot.encode_ids tokenizer \"The meaning of life is\"\n\n(* kaun — neural networks *)\nlet model = Kaun.Layer.sequential [\n  Kaun.Layer.linear ~in_features:768 ~out_features:128 ();\n  Kaun.Layer.relu ();\n  Kaun.Layer.linear ~in_features:128 ~out_features:10 ();\n]\n\n(* talon — dataframes *)\nlet df = Talon.create [\n  \"name\", Talon.Col.string_list [ \"Alice\"; \"Bob\"; \"Charlie\" ];\n  \"score\", Talon.Col.float64_list [ 85.5; 92.0; 78.5 ];\n]\n\n(* hugin — plotting *)\nlet () = Hugin.(figure () |\u003e subplot |\u003e Plotting.plot ~x ~y |\u003e ignore; show ())\n```\n\n## Packages\n\n| | Package | Like | What it does |\n|-|---------|------|-------------|\n| | [**nx**](packages/nx/) | NumPy | N-dimensional arrays with linear algebra operations |\n| ᚱ | [**rune**](packages/rune/) | JAX | Automatic differentiation and functional transformations |\n| ᚲ | [**kaun**](packages/kaun/) | Flax | Neural networks and training |\n| ᚨ | [**brot**](packages/brot/) | HF Tokenizers | Fast, HuggingFace-compatible tokenization |\n| ᛃ | [**talon**](packages/talon/) | Polars | Fast and elegant dataframes with type-safe operations |\n| ᛞ | [**hugin**](packages/hugin/) | Matplotlib | Publication-quality plotting |\n| ᛈ | [**quill**](packages/quill/) | Jupyter | Notebooks as markdown files |\n| ᚠ | [**fehu**](packages/fehu/) | Gymnasium | Reinforcement learning environments |\n| ᛋ | [**sowilo**](packages/sowilo/) | OpenCV | Differentiable computer vision |\n\n## Getting started\n\n```bash\nopam install raven\n```\n\nThis installs the full ecosystem. You can also install only what you need — e.g. `opam install kaun` for neural networks, or `opam install nx` for just arrays.\n\nAdd to your `dune` file:\n\n```dune\n(executable\n (name main)\n (libraries raven))\n```\n\nSee the [installation guide](https://raven-ml.dev/docs/installation/) for system dependencies and editor setup.\n\n## Support\n\nBuilding a scientific computing ecosystem takes sustained effort. Sponsorships help us ship JIT compilation, distributed training, better developer tooling, and production deployment through MirageOS.\n\n**[Support Raven →](https://raven-ml.dev/docs/support-raven/)**\n\nThanks to our sponsors [Ahrefs](https://ahrefs.com) and [Tarides](https://tarides.com).\n\n## License\n\n[ISC](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraven-ml%2Fraven","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraven-ml%2Fraven","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraven-ml%2Fraven/lists"}