# node-red-contrib-bert-tokenizer

> A simple NodeRED module to implement bert-tokenizer

Latest version **1.0.4** (published 2020-05-26) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install node-red-contrib-bert-tokenizer
pnpm add node-red-contrib-bert-tokenizer
yarn add node-red-contrib-bert-tokenizer
bun add node-red-contrib-bert-tokenizer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2020-05-26 |
| First published | 2020-03-09 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 29 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ted Chang |
| Maintainers | htchang |
| Keywords | node-red, nodejs, tfjs, tensorflow, deeplearning, BERT, tokenizer |

## Links

- npm: https://www.npmjs.com/package/node-red-contrib-bert-tokenizer
- Repository: https://github.com/tedhtchang/node-red-contrib-bert-tokenizer
- Homepage: https://github.com/tedhtchang/node-red-contrib-bert-tokenizer#readme
- Issues: https://github.com/tedhtchang/node-red-contrib-bert-tokenizer/issues
- npm.io page: https://npm.io/package/node-red-contrib-bert-tokenizer

## Dependencies (3)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.0
- [bert-tokenizer](https://npm.io/package/bert-tokenizer.md) ^1.1.7
- [@types/node-fetch](https://npm.io/package/@types/node-fetch.md) ^2.5.5

## Recent versions

- 1.0.4 (latest) — 2020-05-26
- 1.0.3 — 2020-03-14
- 1.0.2 — 2020-03-11
- 1.0.1 — 2020-03-10
- 1.0.0 — 2020-03-09

## README

# 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](https://github.com/tedhtchang/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.

---
_Source: https://npm.io/package/node-red-contrib-bert-tokenizer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
