{"id":19043183,"url":"https://github.com/zeionara/grapex","last_synced_at":"2026-05-08T16:48:05.619Z","repository":{"id":45203239,"uuid":"425958509","full_name":"zeionara/grapex","owner":"zeionara","description":"An experimental library for implementing knowledge graph embedding models using `elixir`","archived":false,"fork":false,"pushed_at":"2023-03-20T20:32:17.000Z","size":470,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-02T07:46:03.705Z","etag":null,"topics":["ai","axon-framework","elixir","embeddings","knowledge-graphs","machine-learning","optimization"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeionara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-11-08T18:57:50.000Z","updated_at":"2024-07-29T21:52:04.000Z","dependencies_parsed_at":"2023-02-09T06:17:20.366Z","dependency_job_id":null,"html_url":"https://github.com/zeionara/grapex","commit_stats":{"total_commits":188,"total_committers":3,"mean_commits":"62.666666666666664","dds":0.02659574468085102,"last_synced_commit":"102ce25c8555766414437c62f9c75b00c4cae570"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeionara%2Fgrapex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeionara%2Fgrapex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeionara%2Fgrapex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeionara%2Fgrapex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeionara","download_url":"https://codeload.github.com/zeionara/grapex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240100563,"owners_count":19747689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ai","axon-framework","elixir","embeddings","knowledge-graphs","machine-learning","optimization"],"created_at":"2024-11-08T22:40:30.245Z","updated_at":"2026-05-08T16:48:00.546Z","avatar_url":"https://github.com/zeionara.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grapex\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"assets/images/logo.png\"/\u003e\n\u003c/p\u003e\n\nAn experimental library for implementing knowledge graph embedding models using `elixir`.\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `grapex` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:grapex, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n## Usage\n\nSome functions from the library work in the interactive terminal (at least except `Meager.sample` which spawns multiple OS threads):\n\n```sh\nmix deps.get \u0026\u0026 iex -S \"mix\"\niex(1)\u003e model = TransE.model(10, 2, 10)\niex(2)\u003e TransE.run()\n```\n\nSee scipt `main.ex` for usage examples. To run the main script of the app the following command is useful:\n\n```sh\nmix run main.ex\n```\n\nThe application can be compiled into a binary and launched via command-line interface using following commands:\n\n```sh\nmix escript.build\nTF_CPP_MIN_LOG_LEVEL=3 ./grapex test wordnet-11 --n-epochs 2 --n-batches 10000 -m logicenn -h 5 --relation-dimension 4 --entity-dimension 6 --margin 0.5 -a 0.085 -l 0.02 -c xla --max-n-test-triples 10 -rt\n```\n\nTo get information about available command-line parameters:\n\n```sh\n./grapex help test\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/grapex](https://hexdocs.pm/grapex).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeionara%2Fgrapex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeionara%2Fgrapex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeionara%2Fgrapex/lists"}