node-red-contrib-bert-tokenizer
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

node-red-contrib-bert-tokenizer

Implement BERT tokenizer as a custom Node-RED custom node

Installation

npm install node-red-contrib-bert-tokenizer

Usage

The input payload is text (i.e. words, sentences, etc) to be converted into input feature for the BERT model. The input is tokenized and no longer than 126 tokens. Each name array in the output object has 128 numbers. See BERT-Tokenizer for an example output.

Optional node property:

URL: vocabulary url must start with:

  1. leave empty to load the default
  2. http(s):// to fetch the model from web.
  3. file:// to load the vocaburlary file on the server.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.44latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.44
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i node-red-contrib-bert-tokenizer

Weekly Downloads

4

Version

1.0.4

License

Apache-2.0

Unpacked Size

29.7 kB

Total Files

8

Last publish

Collaborators

  • htchang