Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Can we run large language model to generate text using brainJS? #873

Discussion options

As I ask in #335 (comment)

Hi, I'm writing a electronjs based tiddlywiki app https://github.com/tiddly-gittly/TidGi-Desktop that is offline-first, and I want to make it possible to run a large language model (around 1GB is ok I think?).

Can brainJS do text generation now? The size of model is not a problem, because I'm going to use it in an electron app.

You must be logged in to vote

Can we run large language model to generate text using brainJS?

Yes. The neural network which does this is the brain.recurrent.LSTM class. It however isn't GPU accelerated, so it can be slow if the network is larger than say a hidden layer of size 500+.

Can brainJS do text generation now?

The same answer as the above.

Replies: 1 comment

Comment options

Can we run large language model to generate text using brainJS?

Yes. The neural network which does this is the brain.recurrent.LSTM class. It however isn't GPU accelerated, so it can be slow if the network is larger than say a hidden layer of size 500+.

Can brainJS do text generation now?

The same answer as the above.

You must be logged in to vote
0 replies
Answer selected by linonetwo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /