TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: gpt-tfjs – GPT model in TensorFlow.js

4 pointsby zemlyanskyalmost 2 years ago
The model architecture follows minGPT as much as possible. It actually uses minGPT for JS tests generation (gradients, predictions). The main advantage of having the model implemented in TensorFlow.js is the ability to perform training&#x2F;fine-tuning, for example, in a browser using WebGPU or in Node.js.<p>Examples in the `projects` folder include: - sorting (basic example) - loading GPT-2 weights - training on large texts using streams<p>Feedback is really welcome! There also an open PR on porting the model to Typescript, which has some unresolved issues

no comments

no comments