{"id":15509578,"url":"https://github.com/huan/tensorflow-handbook-javascript","last_synced_at":"2025-04-23T02:27:19.259Z","repository":{"id":91647371,"uuid":"173969676","full_name":"huan/tensorflow-handbook-javascript","owner":"huan","description":"TensorFlow Handbook for JavaScript/TypeScript","archived":false,"fork":false,"pushed_at":"2023-11-16T06:54:24.000Z","size":1323,"stargazers_count":19,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T05:03:04.325Z","etag":null,"topics":["javascript","tensorflow","tfjs"],"latest_commit_sha":null,"homepage":"http://tfjs.ml","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-05T15:14:13.000Z","updated_at":"2024-08-14T08:15:56.000Z","dependencies_parsed_at":"2023-11-16T07:38:21.128Z","dependency_job_id":"742a8bb4-67b5-4180-8ba2-07487e876e49","html_url":"https://github.com/huan/tensorflow-handbook-javascript","commit_stats":{"total_commits":63,"total_committers":2,"mean_commits":31.5,"dds":"0.015873015873015928","last_synced_commit":"dd2003afd766ae1c5f944de814191cb00125b56a"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huan%2Ftensorflow-handbook-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huan%2Ftensorflow-handbook-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huan%2Ftensorflow-handbook-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huan%2Ftensorflow-handbook-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huan","download_url":"https://codeload.github.com/huan/tensorflow-handbook-javascript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250356647,"owners_count":21417123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","tensorflow","tfjs"],"created_at":"2024-10-02T09:43:17.461Z","updated_at":"2025-04-23T02:27:19.230Z","avatar_url":"https://github.com/huan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TensorFlow in JavaScript\n\n![Javascript for TensorFlow](docs/images/tensorflow-js.gif)\n\nTensorFlow Handbook for JavaScript/TypeScript\n\n- This repository is the [JavaScript Chapter](https://tf.wiki/zh/deployment/javascript.html) for [简单粗暴TensorFlow | A Concise Handbook of TensorFlow](https://tf.wiki)\n- Read from this repository: \u003chttps://huan.github.io/tensorflow-handbook-javascript/\u003e\n\n## TODO\n\n- [ ] save metadata\n- [ ] finish chat script\n- [ ] good default super parameters\n- [ ] InputLayer to use a shape as `[null]` for dynamic size\n\n## Usage\n\nTL;DR:\n\n```shell\nnpm install\nnpm start\n```\n\n### 1 Install\n\n```shell\nnpm install\n```\n\n### 2 Train\n\n```shell\nnpm run train -- --batch_size 32 --epochs 3 --latent_dim 64 --num_samples 10000 dist/\n```\n\n### 3 Chat\n\n```shell\nnpm run chat\n```\n\n### 4 Web Demo\n\n1. Regression: \u003chttps://huan.github.io/tensorflow-handbook-javascript/regression.html\u003e\n1. MobileNet: \u003chttps://huan.github.io/tensorflow-handbook-javascript/mobilenet.html\u003e\n\n## TURORIAL\n\n- [简单粗暴TensorFlow | A Concise Handbook of TensorFlow](https://tf.wiki)\n- [Machine Learning For Front-End Developers With Tensorflow.js](https://www.smashingmagazine.com/2019/09/machine-learning-front-end-developers-tensorflowjs/)\n\n## My Slide\n\n[![Machine Learning in JavaScript](docs/images/machine-learning-in-javascript.png)](https://docs.google.com/presentation/d/10u2hKAz4VjryCYr-oHxcxX4HzFeKOir7lq79ASV6TIA/edit?usp=sharing)\n\n\u003e Google Slide: \u003chttps://docs.google.com/presentation/d/10u2hKAz4VjryCYr-oHxcxX4HzFeKOir7lq79ASV6TIA/edit?usp=sharing\u003e\n\n## My Contribution\n\n- [TensorFlow.js Example: Sequence-to-Sequence English-French Translation](https://github.com/tensorflow/tfjs-examples/blob/master/translation/translation.ts)\n    - [PR#243: Add native JavaScript(TypeScript) to replace translation.py](https://github.com/tensorflow/tfjs-examples/pull/243)\n\n## Author\n\n[Huan](https://github.com/huan) [(李卓桓)](http://linkedin.com/in/zixia), Google Developers Expert in Machine Learning (ML GDE), \u003czixia@zixia.net\u003e\n\n[![Profile of Huan LI (李卓桓) on StackOverflow](https://stackoverflow.com/users/flair/1123955.png)](https://stackoverflow.com/users/1123955/huan)\n\n## Copyright \u0026 License\n\n- Code \u0026 Docs © 2019-now Huan LI (李卓桓) \u003czixia@zixia.net\u003e\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuan%2Ftensorflow-handbook-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuan%2Ftensorflow-handbook-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuan%2Ftensorflow-handbook-javascript/lists"}