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.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'))

Peer review:

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

On CRAN:

4.91 score 27 stars 8 scripts 16 exports 34 dependencies

Last updated 1 years agofrom:513d9b51c1. Checks:OK: 1 ERROR: 6. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winERROROct 31 2024
R-4.5-linuxERROROct 31 2024
R-4.4-winERROROct 31 2024
R-4.4-macERROROct 31 2024
R-4.3-winERROROct 31 2024
R-4.3-macERROROct 31 2024

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 Oct 31 2024.

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

Triplet Loss

Rendered fromtriplet_loss.Rmdusingknitr::rmarkdownon Oct 31 2024.

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