{
  "_id": "6aca779dfe5cc25786e89af7",
  "Package": "torchtransformers",
  "Title": "Transformer Models in Torch",
  "Version": "0.0.0.9600",
  "Authors@R": "c(\nperson(given = \"Jonathan\",\nfamily = \"Bratt\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jonathan.bratt@macmillan.com\",\ncomment = c(ORCID = \"0000-0003-2859-0076\")),\nperson(given = \"Jon\",\nfamily = \"Harmon\",\nrole = c(\"aut\"),\nemail = \"jonthegeek@gmail.com\",\ncomment = c(ORCID = \"0000-0003-4781-4346\")),\nperson(given = \"Bedford Freeman & Worth Pub Grp LLC DBA Macmillan Learning\",\nrole = c(\"cph\"))\n)",
  "Description": "Work with transformer models in R using torch.",
  "Encoding": "UTF-8",
  "URL": "https://github.com/macmillancontentscience/torchtransformers",
  "BugReports": "https://github.com/macmillancontentscience/torchtransformers/issues",
  "License": "Apache License (>= 2)",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.1",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://jonthegeek.r-universe.dev",
  "Date/Publication": "2023-07-31 19:09:42 UTC",
  "RemoteUrl": "https://github.com/macmillancontentscience/torchtransformers",
  "RemoteRef": "HEAD",
  "RemoteSha": "513d9b51c1bf61d723055632a78ace17a6163954",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 16:33:49 UTC",
    "User": "root"
  },
  "Author": "Jonathan Bratt [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2859-0076>),\nJon Harmon [aut] (ORCID: <https://orcid.org/0000-0003-4781-4346>),\nBedford Freeman & Worth Pub Grp LLC DBA Macmillan Learning [cph]",
  "Maintainer": "Jonathan Bratt <jonathan.bratt@macmillan.com>",
  "_user": "jonthegeek",
  "_type": "src",
  "_file": "torchtransformers_0.0.0.9600.tar.gz",
  "_fileid": "https://r2.ropensci.org/29549d3529d62266ed4598120c0c23ad1b150f7ed6877d132362fa659e07bc65",
  "_filesize": 230042,
  "_sha256": "29549d3529d62266ed4598120c0c23ad1b150f7ed6877d132362fa659e07bc65",
  "_expires": "2027-01-18T17:36:27.000Z",
  "_created": "2026-10-10T16:33:49.000Z",
  "_published": "2026-10-10T17:36:29.553Z",
  "_buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/38067970715",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114260044868,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11676345860"
    },
    {
      "job": 114260044895,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11676485522"
    },
    {
      "job": 114260044872,
      "time": 129,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11676674250"
    },
    {
      "job": 114260044860,
      "time": 75,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11676793925"
    },
    {
      "job": 114259459101,
      "time": 176,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11676390589"
    },
    {
      "job": 114260044857,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11675562401"
    },
    {
      "job": 114260044850,
      "time": 93,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11675392671"
    },
    {
      "job": 114260044896,
      "time": 83,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11675692043"
    },
    {
      "job": 114260044968,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11676295707"
    }
  ],
  "_upstream": "https://github.com/macmillancontentscience/torchtransformers",
  "_commit": {
    "id": "513d9b51c1bf61d723055632a78ace17a6163954",
    "author": "Jon Harmon <jonthegeek@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update for luz 0.4.0 (#37)\n\n* Update for luz 0.4.0\r\n\r\n* Bump vnum.\r\n\r\n* Roll back vnum bump.\r\n\r\nNo code changed, just a test.",
    "time": 1690830582
  },
  "_maintainer": {
    "name": "Jonathan Bratt",
    "email": "jonathan.bratt@macmillan.com",
    "login": "jonathanbratt",
    "description": "",
    "uuid": 33073024,
    "orcid": "0000-0003-2859-0076"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.1",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dlr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "fastmatch",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "torch",
      "version": ">= 0.8.0",
      "role": "Imports"
    },
    {
      "package": "wordpiece",
      "version": ">= 2.1.3",
      "role": "Imports"
    },
    {
      "package": "wordpiece.data",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "luz",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    }
  ],
  "_owner": "macmillancontentscience",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 29,
  "_contributors": [
    {
      "user": "jonthegeek",
      "count": 15,
      "uuid": 33983824
    },
    {
      "user": "jonathanbratt",
      "count": 10,
      "uuid": 33073024
    },
    {
      "user": "dfalbel",
      "count": 1,
      "uuid": 4706822
    },
    {
      "user": "cregouby",
      "count": 1,
      "uuid": 10136115
    }
  ],
  "_userbio": {
    "uuid": 33983824,
    "type": "user",
    "name": "Jon Harmon",
    "followers": 367,
    "description": "Executive Director at DSLC.io (fka @r4ds) | Principal Developer (@atorus-research)"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/torchtransformers"
  },
  "_devurl": "https://github.com/macmillancontentscience/torchtransformers",
  "_searchresults": 8,
  "_rbuild": "4.6.1",
  "_assets": [
    "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",
    "extra/torchtransformers.html"
  ],
  "_cranurl": false,
  "_exports": [
    "attention_bert",
    "available_berts",
    "config_bert",
    "dataset_bert",
    "dataset_bert_pretrained",
    "embeddings_bert",
    "increment_list_index",
    "luz_callback_bert_tokenize",
    "model_bert",
    "model_bert_pretrained",
    "position_embedding",
    "proj_add_norm",
    "simplify_bert_token_list",
    "tokenize_bert",
    "transformer_encoder_bert",
    "transformer_encoder_single_bert"
  ],
  "_help": [
    {
      "page": "attention_bert",
      "title": "BERT-Style Attention",
      "topics": [
        "attention_bert"
      ]
    },
    {
      "page": "available_berts",
      "title": "Available BERT Models",
      "topics": [
        "available_berts"
      ]
    },
    {
      "page": "config_bert",
      "title": "BERT Model Parameters",
      "topics": [
        "config_bert"
      ]
    },
    {
      "page": "dataset_bert",
      "title": "BERT Dataset",
      "topics": [
        "dataset_bert"
      ]
    },
    {
      "page": "dataset_bert_pretrained",
      "title": "BERT Pretrained Dataset",
      "topics": [
        "dataset_bert_pretrained"
      ]
    },
    {
      "page": "embeddings_bert",
      "title": "Create BERT Embeddings",
      "topics": [
        "embeddings_bert"
      ]
    },
    {
      "page": "increment_list_index",
      "title": "Convert from Python Standard to torch",
      "topics": [
        "increment_list_index"
      ]
    },
    {
      "page": "luz_callback_bert_tokenize",
      "title": "BERT Tokenization Callback",
      "topics": [
        "luz_callback_bert_tokenize"
      ]
    },
    {
      "page": "model_bert",
      "title": "Construct a BERT Model",
      "topics": [
        "model_bert"
      ]
    },
    {
      "page": "model_bert_pretrained",
      "title": "Construct a Pretrained BERT Model",
      "topics": [
        "model_bert_pretrained"
      ]
    },
    {
      "page": "position_embedding",
      "title": "Create Position Embeddings",
      "topics": [
        "position_embedding"
      ]
    },
    {
      "page": "proj_add_norm",
      "title": "Project, Add, and Normalize",
      "topics": [
        "proj_add_norm"
      ]
    },
    {
      "page": "simplify_bert_token_list",
      "title": "Simplify Token List to Matrix",
      "topics": [
        "simplify_bert_token_list"
      ]
    },
    {
      "page": "tokenize_bert",
      "title": "Prepare Text for a BERT Model",
      "topics": [
        "tokenize_bert"
      ]
    },
    {
      "page": "transformer_encoder_bert",
      "title": "Transformer Stack",
      "topics": [
        "transformer_encoder_bert"
      ]
    },
    {
      "page": "transformer_encoder_single_bert",
      "title": "Single Transformer Layer",
      "topics": [
        "transformer_encoder_single_bert"
      ]
    }
  ],
  "_readme": "https://github.com/macmillancontentscience/torchtransformers/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cachem",
    "callr",
    "cli",
    "coro",
    "desc",
    "digest",
    "dlr",
    "farver",
    "fastmap",
    "fastmatch",
    "fs",
    "glue",
    "jsonlite",
    "labeling",
    "lifecycle",
    "magrittr",
    "memoise",
    "otel",
    "piecemaker",
    "processx",
    "ps",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "safetensors",
    "scales",
    "stringi",
    "stringr",
    "torch",
    "vctrs",
    "viridisLite",
    "withr",
    "wordpiece",
    "wordpiece.data"
  ],
  "_vignettes": [
    {
      "source": "entailment.Rmd",
      "filename": "entailment.html",
      "title": "Textual Entailment",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The MNLI Dataset",
        "Model",
        "Results"
      ],
      "created": "2022-06-02 14:21:05",
      "modified": "2022-09-21 17:43:11",
      "commits": 3
    },
    {
      "source": "triplet_loss.Rmd",
      "filename": "triplet_loss.html",
      "title": "Triplet Loss",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Get the data",
        "Define the model",
        "Prepare the data for torch",
        "Fit the model",
        "Using the model"
      ],
      "created": "2022-05-13 16:45:29",
      "modified": "2022-09-21 17:43:11",
      "commits": 5
    }
  ],
  "_score": 4.939519252618618,
  "_indexed": false,
  "_nocasepkg": "torchtransformers",
  "_universes": [
    "jonthegeek"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.0.9600",
      "date": "2026-10-10T16:36:00.000Z",
      "distro": "resolute",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/7c02217e97e651ba7651b6beb1cf2693d72f97152d138a4c68a4b8eaa9ce263a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/38067970715"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.0.9600",
      "date": "2026-10-10T16:35:53.000Z",
      "distro": "resolute",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/9f2e91aac18a368e01ce4c3e41df1f219ff8b007e4d8f4caee7e9c89736819e3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/38067970715"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9600",
      "date": "2026-10-10T17:35:36.000Z",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/9dddb0a03b38971cd28196c1ab4c7b5c57b3c7c22a3c4397208eae0858594dcd",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/38067970715"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.0.9600",
      "date": "2026-10-10T17:34:52.000Z",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/9c167c63ca86ae78702cfbdb61451be6b7e0a26de0785feb3e4eed6fb8fa5b44",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/38067970715"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9600",
      "date": "2026-10-10T16:35:55.000Z",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/3adcd199ef4eb9b60cec55570b7e000056bd6c6a9bced33e15c0ce059c2d7225",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/38067970715"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9600",
      "date": "2026-10-10T16:35:08.000Z",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/f67d00637266eda3840d356ea77a4a982d9007cd656c9897ca0ea4f88ca2bf4d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/38067970715"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9600",
      "date": "2026-10-10T16:35:05.000Z",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/1bf620981031211c61caee0cbd781787aeb4a35093a9186da3b819d1a147c1bb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/38067970715"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.0.9600",
      "date": "2026-10-10T16:35:11.000Z",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/e9197d1d9d8607e66f3a45ed03552ea2fd3a1a3c96e5abbf955e9ff2555ae2d4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/38067970715"
    }
  ]
}