The goal of torchtransformers is to facilitate working with transformer-based models in R using torch.
This package is under active development, and the API might change before we reach our first CRAN release. Please check the issues to see if anything we have planned will impact your use cases.
This package currently requires the development version of {torch} from this PR. It should install automatically when you install torchtransformers, but don’t be confused when it reinstalls.
You can install the development version of torchtransformers from GitHub with:
# install.packages("devtools")
devtools::install_github("macmillancontentscience/torchtransformers")
Please note that the torchtransformers project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
This is not an officially supported Macmillan Learning product.
Questions or comments should be directed to Jonathan Bratt (jonathan.bratt@macmillan.com) and Jon Harmon (jonthegeek@gmail.com).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.