{
  "_id": "6aef171843b51afa49dd91fd",
  "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-11-07 12:15:01 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/c05b69f6441430c767e2cbeb66f6eb7d12f5e7ad6f74fff4a75f11dcea3b46f0",
  "_filesize": 230049,
  "_sha256": "c05b69f6441430c767e2cbeb66f6eb7d12f5e7ad6f74fff4a75f11dcea3b46f0",
  "_expires": "2027-02-15T12:18:30.000Z",
  "_created": "2026-11-07T12:15:01.000Z",
  "_published": "2026-11-07T12:18:32.629Z",
  "_upstream": "https://github.com/macmillancontentscience/torchtransformers",
  "_status": "success",
  "_maintainer": {
    "name": "Jonathan Bratt",
    "email": "jonathan.bratt@macmillan.com",
    "login": "jonathanbratt",
    "description": "",
    "uuid": 33073024,
    "orcid": "0000-0003-2859-0076"
  },
  "_jobs": [
    {
      "job": 128400852616,
      "time": 173,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "13574635073"
    },
    {
      "job": 128400852612,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13574161349"
    },
    {
      "job": 128400852575,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "13574340919"
    },
    {
      "job": 128400852606,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13573866978"
    },
    {
      "job": 128400192361,
      "time": 181,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13573564159"
    },
    {
      "job": 128400852614,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13573887862"
    },
    {
      "job": 128400852643,
      "time": 73,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "13573109367"
    },
    {
      "job": 128400852599,
      "time": 72,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "13573723592"
    },
    {
      "job": 128400852598,
      "time": 108,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13573802184"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/42371406405",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 368,
    "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.2",
  "_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-11-07T12:17:46.000Z",
      "distro": "resolute",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/ab91e0821a75e13daa75f34ea8435416274d02ee7a79a554270d0d4c58d51dd4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/42371406405"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.0.0.9600",
      "date": "2026-11-07T12:16:59.000Z",
      "distro": "resolute",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/0f20bf7cc55629f98a1ccf08903dda3f4a9096b4e3301e003a9e6651cbd1fdb5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/42371406405"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9600",
      "date": "2026-11-07T12:16:50.000Z",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/20957a3a681e6bb1a5182bb1ad735bf7771053822db761e22fd415940f1c52f6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/42371406405"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.0.0.9600",
      "date": "2026-11-07T12:17:34.000Z",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/ea696372a82cdcb39acd0bcfad1cf06b6adc31f569dc54c897ab0c43262d0cb5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/42371406405"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9600",
      "date": "2026-11-07T12:17:07.000Z",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/79fbbba2e51a507c4b23e32ab8fab4a4cce586168ee9ba346bcc9d859ac79a7d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/42371406405"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9600",
      "date": "2026-11-07T12:16:02.000Z",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/4e8dc9a7b1f67f0a2df95670222642d27c2fa1ffcd7f99dd6f1cc6e4fcac93e4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/42371406405"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9600",
      "date": "2026-11-07T12:16:05.000Z",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/f9306fbc750538fe27a548cf2d8e884b0d7b9f4e71574932a11885d98dd886a7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/42371406405"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.0.0.9600",
      "date": "2026-11-07T12:16:35.000Z",
      "commit": "513d9b51c1bf61d723055632a78ace17a6163954",
      "fileid": "https://r2.ropensci.org/85f6e5fccb670b2a8d773d1c691610cc709948328e19adcd5b28d11eb6e8c355",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/42371406405"
    }
  ]
}