{
  "_id": "6ad1dd74a6a61792ed76bbdd",
  "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-10-16 07:38:22 UTC",
    "User": "root"
  },
  "Author": "Bastiaan Quast [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2951-3577>)",
  "Maintainer": "Bastiaan Quast <bquast@gmail.com>",
  "_user": "bquast",
  "_type": "src",
  "_file": "attention_0.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/8a0d6d6be4cb402d162ca95f58b47c0e427e09ba8dc3e65c6f80cec5b24a8265",
  "_filesize": 94203,
  "_sha256": "8a0d6d6be4cb402d162ca95f58b47c0e427e09ba8dc3e65c6f80cec5b24a8265",
  "_expires": "2027-01-24T08:16:50.000Z",
  "_created": "2026-10-16T07:38:22.000Z",
  "_published": "2026-10-16T08:16:52.265Z",
  "_buildurl": "https://github.com/r-universe/bquast/actions/runs/38868195827",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116866830550,
      "time": 372,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12032402594"
    },
    {
      "job": 116866830651,
      "time": 98,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12032053524"
    },
    {
      "job": 116866830714,
      "time": 94,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12034341458"
    },
    {
      "job": 116866830602,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12034185022"
    },
    {
      "job": 116865937554,
      "time": 151,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12031668564"
    },
    {
      "job": 116866830585,
      "time": 76,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12032277551"
    },
    {
      "job": 116866830685,
      "time": 60,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12032322280"
    },
    {
      "job": 116866830513,
      "time": 59,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12031344714"
    },
    {
      "job": 116866830574,
      "time": 62,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12032247544"
    }
  ],
  "_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",
    "orcid": "0000-0002-2951-3577",
    "twitter": "@baquast",
    "description": "Machine Learning engineer | author of py, R packages: transformer, attention, rnn, HomomorphicEncryption, HEtools llama.go, mlx-profiler",
    "uuid": 2590349
  },
  "_distro": "resolute",
  "_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",
    "followers": 228,
    "description": "Machine Learning engineer | author of py, R packages: transformer, attention, rnn, HomomorphicEncryption, HEtools llama.go, mlx-profiler"
  },
  "_downloads": {
    "count": 497,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/attention"
  },
  "_devurl": "https://github.com/bquast/attention",
  "_searchresults": 10,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/attention.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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-10-16T07:44:36.000Z",
      "distro": "resolute",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "https://r2.ropensci.org/56df579a68b5a2c8f1d965d23b76a7b11f51980784cb0db88070f77f9b0da9ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/38868195827"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-16T07:40:07.000Z",
      "distro": "resolute",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "https://r2.ropensci.org/4d7772cd6061508cfc2100c963d52bc55922f74318bbca422d636bf51ba882b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/38868195827"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-10-16T08:16:28.000Z",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "https://r2.ropensci.org/ff7045de93097528fa4bb538078fbfad4c3264171334893003fb3d888aa04009",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/38868195827"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-10-16T08:14:39.000Z",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "https://r2.ropensci.org/285ce6a0fb89aed7a4306d95d8ef94564b57e114a241ad0c537eb46a0c1c3274",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/38868195827"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-10-16T07:39:52.000Z",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "https://r2.ropensci.org/4ef541ca81372a3f1acd3480e46a952df1c3b35af733d4bd73ed67b9f83bb02a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/38868195827"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-16T07:39:22.000Z",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "https://r2.ropensci.org/42ac6c38a0d6913c5c38c76e5dd5f27e3acc831a0814845f97ce368f40cbb329",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/38868195827"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-16T07:39:22.000Z",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "https://r2.ropensci.org/51b66e0cec6c507737a9a24341835b368049f13cf6074d1b1fbe678e6037b0e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/38868195827"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-16T07:39:23.000Z",
      "commit": "64e8f97e0f114c836481882a78ad1f695b09ebeb",
      "fileid": "https://r2.ropensci.org/6756a434f8dccf8e13f4d8daf751646413479602f05e6f6fbc85c2f36b948bc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/38868195827"
    }
  ]
}