Package: torchtransformers 0.0.0.9600

Jonathan Bratt

torchtransformers: Transformer Models in Torch

Work with transformer models in R using torch.

Authors:Jonathan Bratt [aut, cre], Jon Harmon [aut], Bedford Freeman & Worth Pub Grp LLC DBA Macmillan Learning [cph]

torchtransformers_0.0.0.9600.tar.gz
torchtransformers_0.0.0.9600.zip(r-4.5)torchtransformers_0.0.0.9600.zip(r-4.4)torchtransformers_0.0.0.9600.zip(r-4.3)
torchtransformers_0.0.0.9600.tgz(r-4.5-any)torchtransformers_0.0.0.9600.tgz(r-4.4-any)torchtransformers_0.0.0.9600.tgz(r-4.3-any)
torchtransformers_0.0.0.9600.tar.gz(r-4.5-noble)torchtransformers_0.0.0.9600.tar.gz(r-4.4-noble)
torchtransformers_0.0.0.9600.tgz(r-4.4-emscripten)torchtransformers_0.0.0.9600.tgz(r-4.3-emscripten)
torchtransformers.pdf |torchtransformers.html
torchtransformers/json (API)
NEWS

# Install 'torchtransformers' in R:
install.packages('torchtransformers', repos = c('https://jonthegeek.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/macmillancontentscience/torchtransformers/issues

On CRAN:

4.92 score 28 stars 8 scripts 16 exports 34 dependencies

Last updated 2 years agofrom:513d9b51c1. Checks:1 OK, 7 ERROR. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKJan 26 2025
R-4.5-winERRORJan 26 2025
R-4.5-macERRORJan 26 2025
R-4.5-linuxERRORJan 26 2025
R-4.4-winERRORJan 26 2025
R-4.4-macERRORJan 26 2025
R-4.3-winERRORJan 26 2025
R-4.3-macERRORJan 26 2025

Exports:attention_bertavailable_bertsconfig_bertdataset_bertdataset_bert_pretrainedembeddings_bertincrement_list_indexluz_callback_bert_tokenizemodel_bertmodel_bert_pretrainedposition_embeddingproj_add_normsimplify_bert_token_listtokenize_berttransformer_encoder_berttransformer_encoder_single_bert

Dependencies:bitbit64cachemcallrclicorodescdigestdlrellipsisfastmapfastmatchfsgluejsonlitelifecyclemagrittrmemoisepiecemakerprocessxpspurrrR6rappdirsRcpprlangsafetensorsstringistringrtorchvctrswithrwordpiecewordpiece.data

Textual Entailment

Rendered fromentailment.Rmdusingknitr::rmarkdownon Jan 26 2025.

Last update: 2022-09-21
Started: 2022-06-02

Triplet Loss

Rendered fromtriplet_loss.Rmdusingknitr::rmarkdownon Jan 26 2025.

Last update: 2022-09-21
Started: 2022-05-13

Readme and manuals

Help Manual

Help pageTopics
BERT-Style Attentionattention_bert
Available BERT Modelsavailable_berts
BERT Model Parametersconfig_bert
BERT Datasetdataset_bert
BERT Pretrained Datasetdataset_bert_pretrained
Create BERT Embeddingsembeddings_bert
Convert from Python Standard to torchincrement_list_index
BERT Tokenization Callbackluz_callback_bert_tokenize
Construct a BERT Modelmodel_bert
Construct a Pretrained BERT Modelmodel_bert_pretrained
Create Position Embeddingsposition_embedding
Project, Add, and Normalizeproj_add_norm
Simplify Token List to Matrixsimplify_bert_token_list
Prepare Text for a BERT Modeltokenize_bert
Transformer Stacktransformer_encoder_bert
Single Transformer Layertransformer_encoder_single_bert