node-red-contrib-bert-tokenizer 1.0.4

A simple NodeRED module to implement bert-tokenizer

npm install node-red-contrib-bert-tokenizer

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.

Node Info

Version: 1.0.4
Updated 2 years, 9 months ago
License: Apache-2.0
Rating: not yet rated

Categories

Actions

Rate:

Downloads

4 in the last week

Nodes

  • bert-tokenizer

Keywords

  • node-red
  • nodejs
  • tfjs
  • tensorflow
  • deeplearning
  • BERT
  • tokenizer

Maintainers