sima-torch


Namesima-torch JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/kyegomez/SIMA
SummaryPaper - Pytorch
upload_time2024-05-29 14:01:32
maintainerNone
docs_urlNone
authorKye Gomez
requires_python<4.0,>=3.10
licenseMIT
keywords artificial intelligence deep learning optimizers prompt engineering
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Multi-Modality](agorabanner.png)](https://discord.gg/qUtxnK2NMf)

# Sima Implementation
Implementation of the model from the deepmind paper "Scaling Instructable Agents Across Many Simulated Worlds" [PAPER LINK](https://arxiv.org/abs/2404.10179)


## Install
`$ pip3 install -U sima-torch`

## Usage
```python
import torch 
from sima_torch.transformer import SimaTransformer

# Example
x = torch.randint(0, 256, (1, 1024))

# Instantiate the model
model = SimaTransformer(
    dim=512,
    enc_depth=6,
    enc_heads=8,
    dec_depth=6,
    dec_heads=8,
    tie_token_emb=False,
    num_tokens=20000,
    num_memory_tokens=20,
    encoder_dim=512,
    decoder_dim=512,
    max_seq_len=1024,
)

out = model(x)
print(out.shape)  # torch.Size([1, 1024, 512])

```


# License
MIT

# Citation
```bibtex
@misc{simateam2024scaling,
      title={Scaling Instructable Agents Across Many Simulated Worlds}, 
      author={SIMA Team and Maria Abi Raad and Arun Ahuja and Catarina Barros and Frederic Besse and Andrew Bolt and Adrian Bolton and Bethanie Brownfield and Gavin Buttimore and Max Cant and Sarah Chakera and Stephanie C. Y. Chan and Jeff Clune and Adrian Collister and Vikki Copeman and Alex Cullum and Ishita Dasgupta and Dario de Cesare and Julia Di Trapani and Yani Donchev and Emma Dunleavy and Martin Engelcke and Ryan Faulkner and Frankie Garcia and Charles Gbadamosi and Zhitao Gong and Lucy Gonzales and Kshitij Gupta and Karol Gregor and Arne Olav Hallingstad and Tim Harley and Sam Haves and Felix Hill and Ed Hirst and Drew A. Hudson and Jony Hudson and Steph Hughes-Fitt and Danilo J. Rezende and Mimi Jasarevic and Laura Kampis and Rosemary Ke and Thomas Keck and Junkyung Kim and Oscar Knagg and Kavya Kopparapu and Andrew Lampinen and Shane Legg and Alexander Lerchner and Marjorie Limont and Yulan Liu and Maria Loks-Thompson and Joseph Marino and Kathryn Martin Cussons and Loic Matthey and Siobhan Mcloughlin and Piermaria Mendolicchio and Hamza Merzic and Anna Mitenkova and Alexandre Moufarek and Valeria Oliveira and Yanko Oliveira and Hannah Openshaw and Renke Pan and Aneesh Pappu and Alex Platonov and Ollie Purkiss and David Reichert and John Reid and Pierre Harvey Richemond and Tyson Roberts and Giles Ruscoe and Jaume Sanchez Elias and Tasha Sandars and Daniel P. Sawyer and Tim Scholtes and Guy Simmons and Daniel Slater and Hubert Soyer and Heiko Strathmann and Peter Stys and Allison C. Tam and Denis Teplyashin and Tayfun Terzi and Davide Vercelli and Bojan Vujatovic and Marcus Wainwright and Jane X. Wang and Zhengdong Wang and Daan Wierstra and Duncan Williams and Nathaniel Wong and Sarah York and Nick Young},
      year={2024},
      eprint={2404.10179},
      archivePrefix={arXiv},
      primaryClass={cs.RO}
}
```

# Todo
- [ ] Implement Phenaki as a video encoder
- [ ] Create mouse and keyboard policy
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kyegomez/SIMA",
    "name": "sima-torch",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "artificial intelligence, deep learning, optimizers, Prompt Engineering",
    "author": "Kye Gomez",
    "author_email": "kye@apac.ai",
    "download_url": "https://files.pythonhosted.org/packages/bd/aa/06e8badc9555301066cfe84edf5ff05b4d9cc3817f2bfd10c43f53a169a3/sima_torch-0.0.2.tar.gz",
    "platform": null,
    "description": "[![Multi-Modality](agorabanner.png)](https://discord.gg/qUtxnK2NMf)\n\n# Sima Implementation\nImplementation of the model from the deepmind paper \"Scaling Instructable Agents Across Many Simulated Worlds\" [PAPER LINK](https://arxiv.org/abs/2404.10179)\n\n\n## Install\n`$ pip3 install -U sima-torch`\n\n## Usage\n```python\nimport torch \nfrom sima_torch.transformer import SimaTransformer\n\n# Example\nx = torch.randint(0, 256, (1, 1024))\n\n# Instantiate the model\nmodel = SimaTransformer(\n    dim=512,\n    enc_depth=6,\n    enc_heads=8,\n    dec_depth=6,\n    dec_heads=8,\n    tie_token_emb=False,\n    num_tokens=20000,\n    num_memory_tokens=20,\n    encoder_dim=512,\n    decoder_dim=512,\n    max_seq_len=1024,\n)\n\nout = model(x)\nprint(out.shape)  # torch.Size([1, 1024, 512])\n\n```\n\n\n# License\nMIT\n\n# Citation\n```bibtex\n@misc{simateam2024scaling,\n      title={Scaling Instructable Agents Across Many Simulated Worlds}, \n      author={SIMA Team and Maria Abi Raad and Arun Ahuja and Catarina Barros and Frederic Besse and Andrew Bolt and Adrian Bolton and Bethanie Brownfield and Gavin Buttimore and Max Cant and Sarah Chakera and Stephanie C. Y. Chan and Jeff Clune and Adrian Collister and Vikki Copeman and Alex Cullum and Ishita Dasgupta and Dario de Cesare and Julia Di Trapani and Yani Donchev and Emma Dunleavy and Martin Engelcke and Ryan Faulkner and Frankie Garcia and Charles Gbadamosi and Zhitao Gong and Lucy Gonzales and Kshitij Gupta and Karol Gregor and Arne Olav Hallingstad and Tim Harley and Sam Haves and Felix Hill and Ed Hirst and Drew A. Hudson and Jony Hudson and Steph Hughes-Fitt and Danilo J. Rezende and Mimi Jasarevic and Laura Kampis and Rosemary Ke and Thomas Keck and Junkyung Kim and Oscar Knagg and Kavya Kopparapu and Andrew Lampinen and Shane Legg and Alexander Lerchner and Marjorie Limont and Yulan Liu and Maria Loks-Thompson and Joseph Marino and Kathryn Martin Cussons and Loic Matthey and Siobhan Mcloughlin and Piermaria Mendolicchio and Hamza Merzic and Anna Mitenkova and Alexandre Moufarek and Valeria Oliveira and Yanko Oliveira and Hannah Openshaw and Renke Pan and Aneesh Pappu and Alex Platonov and Ollie Purkiss and David Reichert and John Reid and Pierre Harvey Richemond and Tyson Roberts and Giles Ruscoe and Jaume Sanchez Elias and Tasha Sandars and Daniel P. Sawyer and Tim Scholtes and Guy Simmons and Daniel Slater and Hubert Soyer and Heiko Strathmann and Peter Stys and Allison C. Tam and Denis Teplyashin and Tayfun Terzi and Davide Vercelli and Bojan Vujatovic and Marcus Wainwright and Jane X. Wang and Zhengdong Wang and Daan Wierstra and Duncan Williams and Nathaniel Wong and Sarah York and Nick Young},\n      year={2024},\n      eprint={2404.10179},\n      archivePrefix={arXiv},\n      primaryClass={cs.RO}\n}\n```\n\n# Todo\n- [ ] Implement Phenaki as a video encoder\n- [ ] Create mouse and keyboard policy",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Paper - Pytorch",
    "version": "0.0.2",
    "project_urls": {
        "Documentation": "https://github.com/kyegomez/SIMA",
        "Homepage": "https://github.com/kyegomez/SIMA",
        "Repository": "https://github.com/kyegomez/SIMA"
    },
    "split_keywords": [
        "artificial intelligence",
        " deep learning",
        " optimizers",
        " prompt engineering"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f9f6461c7fd0f6aec45b3b8fd5f4d7f37dc4dea168aa0cf1f272ea70e35080b",
                "md5": "9325694e00be854466921f02d6cbe48b",
                "sha256": "3af4ae89c2aa8aa2d3979a9f944badb67356e508306b175db23cd62f5a0183bc"
            },
            "downloads": -1,
            "filename": "sima_torch-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9325694e00be854466921f02d6cbe48b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 7148,
            "upload_time": "2024-05-29T14:01:30",
            "upload_time_iso_8601": "2024-05-29T14:01:30.602455Z",
            "url": "https://files.pythonhosted.org/packages/9f/9f/6461c7fd0f6aec45b3b8fd5f4d7f37dc4dea168aa0cf1f272ea70e35080b/sima_torch-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bdaa06e8badc9555301066cfe84edf5ff05b4d9cc3817f2bfd10c43f53a169a3",
                "md5": "950dbd08227ad29143621d90cc9ced6f",
                "sha256": "feaa608321f737c4d36cfae1b2245f37465614105f9086ba5f5f6a8d1e8b7b37"
            },
            "downloads": -1,
            "filename": "sima_torch-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "950dbd08227ad29143621d90cc9ced6f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 6469,
            "upload_time": "2024-05-29T14:01:32",
            "upload_time_iso_8601": "2024-05-29T14:01:32.278956Z",
            "url": "https://files.pythonhosted.org/packages/bd/aa/06e8badc9555301066cfe84edf5ff05b4d9cc3817f2bfd10c43f53a169a3/sima_torch-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-29 14:01:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kyegomez",
    "github_project": "SIMA",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "sima-torch"
}
        
Elapsed time: 0.24034s