{"id":29022933,"url":"https://github.com/jarif87/language-sequence-model","last_synced_at":"2026-05-05T09:31:51.891Z","repository":{"id":299875423,"uuid":"1004439093","full_name":"jarif87/language-sequence-model","owner":"jarif87","description":"Predict the Next Word\" is a Django app using TensorFlow to predict words after a 50-word sentence, with a cyberpunk-themed interface featuring neon colors, particle animations, and real-time word count.  more concise","archived":false,"fork":false,"pushed_at":"2025-06-19T18:52:00.000Z","size":9788,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-26T03:04:20.971Z","etag":null,"topics":["django-application","html-css-javascript","keras","lstm-neural-networks","next-word-predictor","python","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/jarif87.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,"zenodo":null}},"created_at":"2025-06-18T16:12:55.000Z","updated_at":"2025-06-19T18:52:03.000Z","dependencies_parsed_at":"2025-06-18T19:38:02.221Z","dependency_job_id":null,"html_url":"https://github.com/jarif87/language-sequence-model","commit_stats":null,"previous_names":["jarif87/language-sequence-model"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jarif87/language-sequence-model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarif87%2Flanguage-sequence-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarif87%2Flanguage-sequence-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarif87%2Flanguage-sequence-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarif87%2Flanguage-sequence-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jarif87","download_url":"https://codeload.github.com/jarif87/language-sequence-model/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarif87%2Flanguage-sequence-model/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32643542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["django-application","html-css-javascript","keras","lstm-neural-networks","next-word-predictor","python","tensorflow"],"created_at":"2025-06-26T03:04:20.283Z","updated_at":"2026-05-05T09:31:51.872Z","avatar_url":"https://github.com/jarif87.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"Predict the Next Word\n=====================\n\nA Django-based web application that predicts the next word in a 50-word sentence\nusing a TensorFlow model. The interface follows a cyberpunk aesthetic with neon\nanimations and a dynamic particle background.\n\nTable of Contents\n-----------------\n- Overview\n- Features\n- Technologies\n- Setup and Installation\n- Usage\n- Project Structure\n- Design Highlights\n- Contributing\n- License\n\nOverview\n--------\n\"Predict the Next Word\" is a web app built with Django and TensorFlow. Users input\na 50-word sentence, and the app predicts the next word using a trained ML model.\nThe frontend includes a futuristic cyberpunk design with glitch effects and interactive\nbackgrounds.\n\nFeatures\n--------\n- Predicts the next word(s) for a 50-word sentence\n- Displays real-time word count with warning if over 50\n- Cyberpunk-themed UI with neon/glitch styling\n- Responsive design for both mobile and desktop\n- Visual \"Processing...\" feedback during predictions\n\nTechnologies\n------------\n- Backend: Django 5.2.3, Python 3.8+\n- ML: TensorFlow (for predictions)\n- Frontend: HTML, CSS, JavaScript\n- Libraries: Font Awesome, Roboto Mono font\n- Database: SQLite (default)\n\nSetup and Installation\n----------------------\n1. Clone the repository:\n   git clone \u003crepository-url\u003e\n   cd myproject\n\n2. Set up virtual environment:\n   python -m venv venv\n   On Windows:    .\\venv\\Scripts\\activate\n   On Linux/macOS: source venv/bin/activate\n\n3. Install dependencies:\n   pip install django==5.2.3 tensorflow\n\n4. Apply database migrations:\n   python manage.py migrate\n\n5. Ensure static files exist:\n   style.css in myapp/static/css/\n   script.js in myapp/static/js/\n\n6. Check settings.py includes:\n   STATIC_URL = '/static/'\n   STATICFILES_DIRS = [BASE_DIR / 'myapp/static']\n\n7. Set up templates:\n   Place index.html in myapp/templates/\n   Or update settings.py to:\n   TEMPLATES = [\n       {\n           'DIRS': [BASE_DIR / 'templates'],\n           ...\n       }\n   ]\n\n8. Start development server:\n   python manage.py runserver\n\n9. Access app at:\n   http://127.0.0.1:8000/\n\nUsage\n-----\n- Open http://127.0.0.1:8000/ in your browser\n- Enter a 50-word sentence in the input field\n- Word counter turns red if you exceed 50 words\n- Click \"Predict\" to see the TensorFlow model's suggestion\n- Result appears with glitch animation\n\nNote: Sentence must be exactly 50 words for accurate output.\n\nProject Structure\n-----------------\n```\nmyproject/\n├── manage.py\n├── requirements.txt\n├── README.md\n├── .gitignore\n├── myproject/\n│   ├── __init__.py\n│   ├── settings.py\n│   ├── urls.py\n│   ├── wsgi.py\n├── myapp/\n│   ├── __init__.py\n│   ├── admin.py\n│   ├── apps.py\n│   ├── models.py\n│   ├── views.py\n│   ├── tests.py\n│   ├── urls.py\n│   ├── onehotencoder.pkl\n│   ├── sustain.py\n│   ├── migrations/\n│   │   ├── __init__.py\n│   │   ├── 0001_initial.py\n│   ├── static/\n│   │   ├── css/\n│   │   │   ├── style.css\n│   │   ├── js/\n│   │   │   ├── script.js\n│   │   ├── images/\n│   └── templates/\n│       ├── index.html\n\n```\n\nDesign Highlights\n-----------------\n- Cyberpunk Colors: Neon pink (#ff6fd7), neon blue (#5bc0f8)\n- Particle Background: Simulates neural network activity\n- Holographic Container: Glassmorphism with neon glow\n- Animations: Glitch text, pulsing titles, hover swipes\n- Typography: Uses Roboto Mono for technical look\n- Mobile Friendly: Fully responsive on all screen sizes\n\nContributing\n------------\n1. Fork the repo\n2. Create a branch: git checkout -b feature-name\n3. Make your changes\n4. Commit: git commit -m \"Add feature\"\n5. Push: git push origin feature-name\n6. Open a pull request\n\nFollow PEP 8 and include tests if applicable.\n\nLicense\n-------\nThis project is licensed under the MIT License.\nSee the LICENSE file for details.\n\nOptional: Disable TensorFlow oneDNN Warning\n-------------------------------------------\nIf you need to disable oneDNN optimizations for reproducibility:\nOn Windows:\n   set TF_ENABLE_ONEDNN_OPTS=0\nOn Linux/macOS:\n   export TF_ENABLE_ONEDNN_OPTS=0\nRun this before launching the app.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarif87%2Flanguage-sequence-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjarif87%2Flanguage-sequence-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarif87%2Flanguage-sequence-model/lists"}