Skip to content

State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!

License

Notifications You must be signed in to change notification settings

PenfoldTechnology/transformers.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork of https://github.com/xenova/transformers.js

For more info on how this module is used and why it exists as a fork, check out this Notion doc

Building

When running yarn ap dev from the web monorepo locally, we run the code using ts-node-dev. When this module is treated as an ESM, it is not transpiling correctly when ran through ts-node-dev. Therefore, we need to provide a CJS bundle, which removes the need of transforming ESM to CJS both during local dev and deployment.

To transpile this module and to build the type definitions, make sure you run:

$ npm i
$ npm run build


transformers.js javascript library logo

About

State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.0%
  • Python 9.9%
  • TypeScript 0.1%