{"id":15601109,"url":"https://github.com/lucidrains/esbn-transformer","last_synced_at":"2025-05-06T22:10:15.674Z","repository":{"id":96485463,"uuid":"374798065","full_name":"lucidrains/esbn-transformer","owner":"lucidrains","description":"An attempt to merge ESBN with Transformers, to endow Transformers with the ability to emergently bind symbols","archived":false,"fork":false,"pushed_at":"2021-08-03T21:26:42.000Z","size":6,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-06T22:09:54.564Z","etag":null,"topics":["artificial-intelligence","deep-learning","neuro-symbolic-learning"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucidrains.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-07T20:54:58.000Z","updated_at":"2025-02-04T23:52:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"08ca63f2-b4fa-40d3-8d06-7d48a0f8a9d5","html_url":"https://github.com/lucidrains/esbn-transformer","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"4ac0b3a1451c378ac7e35b0a60ae358b89fe1e58"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucidrains%2Fesbn-transformer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucidrains%2Fesbn-transformer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucidrains%2Fesbn-transformer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucidrains%2Fesbn-transformer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucidrains","download_url":"https://codeload.github.com/lucidrains/esbn-transformer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252776600,"owners_count":21802469,"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":["artificial-intelligence","deep-learning","neuro-symbolic-learning"],"created_at":"2024-10-03T02:14:50.566Z","updated_at":"2025-05-06T22:10:15.397Z","avatar_url":"https://github.com/lucidrains.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ESBN Transformer (wip)\n\nAn attempt to merge \u003ca href=\"https://openreview.net/forum?id=LSFCEb3GYU7\"\u003eESBN\u003c/a\u003e with Transformers, to endow Transformers with the ability to emergently bind symbols and improve extrapolation. The resulting architecture will be benchmarked with the Give-N task as outlined in \u003ca href=\"https://arxiv.org/abs/2105.10577\"\u003ethis paper\u003c/a\u003e, commonly used to assess whether a child has acquired an understanding of counting.\n\n## Usage\n\n```python\nimport torch\nfrom esbn_transformer import EsbnTransformer\n\nmodel = EsbnTransformer(\n    num_tokens = 256,\n    dim = 512,\n    depth = 4,\n    max_seq_len = 512\n)\n\nx = torch.randint(0, 256, (1, 512))\nout = model(x) # (1, 512, 256)\n```\n\n## Citations\n\n```bibtex\n@misc{webb2020emergent,\n    title   = {Emergent Symbols through Binding in External Memory}, \n    author  = {Taylor W. Webb and Ishan Sinha and Jonathan D. Cohen},\n    year    = {2020},\n    eprint  = {2012.14601},\n    archivePrefix = {arXiv},\n    primaryClass = {cs.AI}\n}\n```\n\n```bibtex\n@misc{dulberg2021modelling,\n    title   = {Modelling the development of counting with memory-augmented neural networks}, \n    author  = {Zack Dulberg and Taylor Webb and Jonathan Cohen},\n    year    = {2021},\n    eprint  = {2105.10577},\n    archivePrefix = {arXiv},\n    primaryClass = {cs.AI}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucidrains%2Fesbn-transformer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucidrains%2Fesbn-transformer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucidrains%2Fesbn-transformer/lists"}