{
  "_id": "6a1ef537b401979e7341678e",
  "Package": "attention",
  "Title": "Self-Attention Algorithm",
  "Version": "0.4.0",
  "Authors@R": "person(\"Bastiaan\", \"Quast\", , \"bquast@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-2951-3577\"))",
  "Description": "Self-Attention algorithm helper functions and\ndemonstration vignettes of increasing depth on how to construct\nthe Self-Attention algorithm, this is based on Vaswani et al.\n(2017) <doi:10.48550/arXiv.1706.03762>, Dan Jurafsky and James\nH. Martin (2022, ISBN:978-0131873216)\n<https://web.stanford.edu/~jurafsky/slp3/> \"Speech and Language\nProcessing (3rd ed.)\" and Alex Graves (2020)\n<https://www.youtube.com/watch?v=AIiwuClvH6k> \"Attention and\nMemory in Deep Learning\".",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Repository": "https://bquast.r-universe.dev",
  "Date/Publication": "2023-11-10 00:24:24 UTC",
  "RemoteUrl": "https://github.com/bquast/attention",
  "RemoteRef": "HEAD",
  "RemoteSha": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-19 06:57:49 UTC",
    "User": "root"
  },
  "Author": "Bastiaan Quast [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2951-3577>)",
  "Maintainer": "Bastiaan Quast <bquast@gmail.com>",
  "MD5sum": "cf638a7f466b7d14e389956d57c7f8eb",
  "_user": "bquast",
  "_type": "src",
  "_file": "attention_0.4.0.tar.gz",
  "_fileid": "ee501093ecf79fd1b71c1be2f22c731a786e845e7406e0bb678d2d13e839f837",
  "_filesize": 93379,
  "_sha256": "ee501093ecf79fd1b71c1be2f22c731a786e845e7406e0bb678d2d13e839f837",
  "_created": "2026-05-19T06:57:49.000Z",
  "_published": "2026-06-02T15:22:31.229Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79106820030,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7076849631"
    },
    {
      "job": 79106818713,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7076850150"
    },
    {
      "job": 79106819022,
      "time": 82,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7076840980"
    },
    {
      "job": 79106818698,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7076841477"
    },
    {
      "job": 79106817780,
      "time": 161,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7076819059"
    },
    {
      "job": 79106817705,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7362090152"
    },
    {
      "job": 79106818892,
      "time": 74,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7076838880"
    },
    {
      "job": 79106818681,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7076839101"
    },
    {
      "job": 79106819133,
      "time": 68,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7076837593"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bquast/actions/runs/26081420215",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bquast/attention",
  "_commit": {
    "id": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
    "author": "Bastiaan Quast <bquast@gmail.com>",
    "committer": "Bastiaan Quast <bquast@gmail.com>",
    "message": "bump version for release\n",
    "time": 1699575864
  },
  "_maintainer": {
    "name": "Bastiaan Quast",
    "email": "bquast@gmail.com",
    "login": "bquast",
    "twitter": "@baquast",
    "description": "Machine Learning researcher | author of py, R packages: transformer, attention, rnn, HomomorphicEncryption, HEtools llama.go, mlx-profiler",
    "uuid": 2590349,
    "orcid": "0000-0002-2951-3577"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "bquast",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "bquast",
      "count": 86,
      "uuid": 2590349
    }
  ],
  "_userbio": {
    "uuid": 2590349,
    "type": "user",
    "name": "Bastiaan Quast",
    "description": "Machine Learning researcher | author of py, R packages: transformer, attention, rnn, HomomorphicEncryption, HEtools llama.go, mlx-profiler"
  },
  "_downloads": {
    "count": 411,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/attention"
  },
  "_devurl": "https://github.com/bquast/attention",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/attention.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bquast/attention",
  "_realowner": "bquast",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-06-24"
    },
    {
      "version": "0.2.0",
      "date": "2022-07-12"
    },
    {
      "version": "0.3.0",
      "date": "2023-04-23"
    },
    {
      "version": "0.4.0",
      "date": "2023-11-10"
    }
  ],
  "_exports": [
    "attention",
    "ComputeWeights",
    "RowMax",
    "SoftMax"
  ],
  "_help": [
    {
      "page": "attention",
      "title": "Attnention mechanism",
      "topics": [
        "attention"
      ]
    },
    {
      "page": "ComputeWeights",
      "title": "SoftMax sigmoid function",
      "topics": [
        "ComputeWeights"
      ]
    },
    {
      "page": "RowMax",
      "title": "Maximum of Matrix Rows",
      "topics": [
        "RowMax"
      ]
    },
    {
      "page": "SoftMax",
      "title": "SoftMax sigmoid function",
      "topics": [
        "SoftMax"
      ]
    }
  ],
  "_readme": "https://github.com/bquast/attention/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "complete_attention.Rmd",
      "filename": "complete_attention.html",
      "title": "Complete Self-Attention from Scratch",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-06-23 11:37:57",
      "modified": "2022-06-23 13:29:20",
      "commits": 4
    },
    {
      "source": "simple_attention.Rmd",
      "filename": "simple_attention.html",
      "title": "Simple Self-Attention from Scratch",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-06-22 19:44:47",
      "modified": "2022-06-24 08:41:08",
      "commits": 14
    }
  ],
  "_score": 5.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "attention",
  "_universes": [
    "bquast"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-19T06:59:46.000Z",
      "distro": "noble",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "516c4e07a9d15397f46c2670923afe9e6045a170d38aec9567eefb0f40e5239e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/26081420215"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-19T06:59:48.000Z",
      "distro": "noble",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "873d9a1adfb75cd7072cae1fb34f00947968a6cca6f3ad7088375adb183c421e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/26081420215"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-19T06:59:16.000Z",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "d9f38013a996132c98a65a2944fb31450129cb3232442fd171d9b2bf5c28f1cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/26081420215"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-19T06:59:17.000Z",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "7432269ca784338742e7ba6d0379c12cac9cc7445ad8623b3d5573b0fd00bbd5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/26081420215"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-19T06:59:03.000Z",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "2c2833579ca2396d304796a29398dd182d4d7a6cabf7f08d98bee605de06dbe1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/26081420215"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-19T06:59:00.000Z",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "9f77c11828e42de82a81914e22b60a746626ea387f95a55f1d8366f65a464dd0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/26081420215"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-19T06:58:57.000Z",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "657faf719027b7d49722704554ed53f2265d78010802e45cf8e3e00ccb66cbe1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/26081420215"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-06-02T15:22:10.000Z",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "60edef5a90a2426933169b76ae110cdcbbd6a890a6cc8280a016222a06b97239",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/26081420215"
    }
  ]
}