{"id":21665061,"url":"https://github.com/radi-cho/tfjs-firebase","last_synced_at":"2025-04-12T00:32:29.367Z","repository":{"id":38736065,"uuid":"146078860","full_name":"radi-cho/tfjs-firebase","owner":"radi-cho","description":"Train a model with data from Firestore, save it to Cloud Storage and make predictions in Cloud Functions - entirely using NodeJS","archived":false,"fork":false,"pushed_at":"2023-03-01T07:13:17.000Z","size":554,"stargazers_count":46,"open_issues_count":33,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-25T20:12:42.541Z","etag":null,"topics":["bag-of-words","cloud-firestore","cloud-functions","firebase","google-cloud","tensorflow","tfjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/radi-cho.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}},"created_at":"2018-08-25T08:24:00.000Z","updated_at":"2024-04-12T20:55:03.000Z","dependencies_parsed_at":"2022-08-25T08:51:10.069Z","dependency_job_id":null,"html_url":"https://github.com/radi-cho/tfjs-firebase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radi-cho%2Ftfjs-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radi-cho%2Ftfjs-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radi-cho%2Ftfjs-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radi-cho%2Ftfjs-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radi-cho","download_url":"https://codeload.github.com/radi-cho/tfjs-firebase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501093,"owners_count":21114604,"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":["bag-of-words","cloud-firestore","cloud-functions","firebase","google-cloud","tensorflow","tfjs"],"created_at":"2024-11-25T10:48:48.913Z","updated_at":"2025-04-12T00:32:29.336Z","avatar_url":"https://github.com/radi-cho.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bag of words text classification\n\nThis workshop covers:\n- Training a model with Tensorflow.js inside Cloud Functions using data from Firestore (JavaScript only).\n- Retraining a model; Saving and loading a model.\n- Making predictions with a cloud function.\n\nThe developed model can predict if a comment is positive or negative. We train it with data from the Firestore database.\nThe code can be easily modified to predict star reviews, app statistics, etc.\n\n# Demo\n\n## Training\n\n![Training the model, gif](https://i.imgur.com/p6x8Hea.gif)\n\n## Predictions\n\n![Doing predictions with the model, gif](https://i.imgur.com/CW94keL.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradi-cho%2Ftfjs-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradi-cho%2Ftfjs-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradi-cho%2Ftfjs-firebase/lists"}