{"id":20107582,"url":"https://github.com/trisdeveloper/ai-word-predictor","last_synced_at":"2026-05-08T12:47:44.808Z","repository":{"id":261294123,"uuid":"874827275","full_name":"trisDeveloper/AI-Word-Predictor","owner":"trisDeveloper","description":"An AI model to predict the missing words in a text sequence.","archived":false,"fork":false,"pushed_at":"2024-11-06T19:39:57.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T05:25:52.009Z","etag":null,"topics":["ai","bert","gradio","huggingface","language-model","machine-learning","python","tensorflow","tranformers"],"latest_commit_sha":null,"homepage":"https://huggingface.co/spaces/tris-dev/word-predictor","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trisDeveloper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-10-18T14:31:34.000Z","updated_at":"2024-11-08T08:56:53.000Z","dependencies_parsed_at":"2025-01-13T05:25:00.350Z","dependency_job_id":"a7fabdc2-7860-4590-a6b8-4c787bb89edd","html_url":"https://github.com/trisDeveloper/AI-Word-Predictor","commit_stats":null,"previous_names":["trisdeveloper/ai-word-predictor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trisDeveloper%2FAI-Word-Predictor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trisDeveloper%2FAI-Word-Predictor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trisDeveloper%2FAI-Word-Predictor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trisDeveloper%2FAI-Word-Predictor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trisDeveloper","download_url":"https://codeload.github.com/trisDeveloper/AI-Word-Predictor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241549118,"owners_count":19980476,"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":["ai","bert","gradio","huggingface","language-model","machine-learning","python","tensorflow","tranformers"],"created_at":"2024-11-13T17:58:04.093Z","updated_at":"2026-05-08T12:47:39.764Z","avatar_url":"https://github.com/trisDeveloper.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: Word Predictor\nemoji: 🐢\ncolorFrom: yellow\ncolorTo: pink\nsdk: gradio\nsdk_version: 5.5.0\napp_file: app.py\npinned: false\nlicense: mit\nshort_description: AI Masked Word Prediction Tool\n---\n\n# 📝 Masked Word Prediction Tool\n\nA web tool that predicts missing words in sentences, using BERT to handle multiple masked words at once. Simply type your sentence with masked words (as `_`) and get accurate predictions in real-time.\n\n[![TensorFlow](https://img.shields.io/badge/TensorFlow-FF6F00?style=for-the-badge\u0026logo=tensorflow\u0026logoColor=white)](https://www.tensorflow.org/)\n[![Transformers](https://img.shields.io/badge/Transformers-FFB7B2?style=for-the-badge\u0026logo=transformers\u0026logoColor=black)](https://huggingface.co/transformers/)\n[![Gradio](https://img.shields.io/badge/Gradio-4F9E5A?style=for-the-badge\u0026logo=gradio\u0026logoColor=white)](https://gradio.app/)\n[![Hugging Face](https://img.shields.io/badge/Hugging_Face-FF3C00?style=for-the-badge\u0026logo=huggingface\u0026logoColor=white)](https://huggingface.co/)\n[![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge\u0026logo=python\u0026logoColor=white)](https://www.python.org/)\n[![NumPy](https://img.shields.io/badge/NumPy-013243?style=for-the-badge\u0026logo=numpy\u0026logoColor=white)](https://numpy.org/)\n[![Pandas](https://img.shields.io/badge/Pandas-150458?style=for-the-badge\u0026logo=pandas\u0026logoColor=white)](https://pandas.pydata.org/)\n[![Keras](https://img.shields.io/badge/Keras-FF3C00?style=for-the-badge\u0026logo=keras\u0026logoColor=white)](https://keras.io/)\n\n\n\n## 🎯 Features\n\n- Predicts single or multiple masked words in a sentence.\n- Fast predictions (0.3 to 1.8 seconds) using optimized BERT-based masked language modeling.\n- User-friendly interface with customizable masked word token (`_` by default).\n\n## 🚀 How It Works\n\nThe app leverages **BERT** for masked language modeling, using Hugging Face's `transformers` library for powerful NLP capabilities. Here’s how it handles predictions:\n\n1. Replaces any `_` in the input text with the BERT `[MASK]` token.\n2. Processes each `[MASK]` position in the sentence individually to predict likely words.\n\n## 🔥 Try It Out\n\n[Launch the App on Hugging Face Spaces](https://huggingface.co/spaces/tris-dev/word-predictor)\n\n### Example Usage\n\nType in a sentence with `_` for masked words:\n\n\u003e _ order to achieve our goals, we need to focus on _ strategies that will improve our team’s _ and use our resources _.\n\nThe model might predict:\n\n\u003e **In** order to achieve our goals, we need to focus on **developing** strategies that will improve our team’s **performance** and use our resources **effectively**.\n\n## ⚡ Performance\n\nThanks to optimization efforts, the app responds quickly, averaging between **0.3** to **1.8 seconds** per prediction depending on the input length.\n\n## 🛠️ Installation (For Local Use)\n\n1. Clone the repository and install dependencies to get started locally.\n```bash\ngit clone https://github.com/trisDeveloper/AI-Word-Predictor\ncd AI-Word-Predictor\npip install -r requirements.txt\n```\n2. Run the app with: `python app.py`\n\n### 📄 License\n\nMIT License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrisdeveloper%2Fai-word-predictor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrisdeveloper%2Fai-word-predictor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrisdeveloper%2Fai-word-predictor/lists"}