bigtech-bloom-js

1.0.1 • Public • Published

BloomJS [UNIFFICIAL API]

Bloom is a new language model that speaks >40 languages and >10 programming languages. Now, You can use it in your Node.JS application.

const bloom = require('bigtech-bloom-js');
var result = await bloom.raw('Hello World!');
var text = result[0].generated_text;
console.log('AI output: ' + text);

var result2 = await bloom('Hello World!');
console.log('AI non-raw output: ' + result2);

var result3 = await bloom.t0pp('Hello World!');
console.log('T0pp zero-shot output: ' + result3);

WARNING

This package uses an experimental feature called Node.JS fetch, And to stop warnings, All warnings are ignored in your entire process. USE WITH CAUTION!

Dependents (0)

Package Sidebar

Install

npm i bigtech-bloom-js

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

4.14 kB

Total Files

4

Last publish

Collaborators

  • martia_f