https://github.com/kozuedoingregression/attention-frontend
frontend for the attention model using Nextjs
https://github.com/kozuedoingregression/attention-frontend
attention-mechanism fastapi kernel llms nextjs tensorflow
Last synced: 8 months ago
JSON representation
frontend for the attention model using Nextjs
- Host: GitHub
- URL: https://github.com/kozuedoingregression/attention-frontend
- Owner: kozuedoingregression
- Created: 2025-04-09T18:57:28.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-09T19:22:13.000Z (about 1 year ago)
- Last Synced: 2025-04-09T20:22:25.160Z (about 1 year ago)
- Topics: attention-mechanism, fastapi, kernel, llms, nextjs, tensorflow
- Language: TypeScript
- Homepage:
- Size: 2.91 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# German-to-English Translator (Next.js + FastAPI + Tensorflow)
A simple and clean web interface to translate German text to English using a custom-trained Transformer model from scratch [repo](https://github.com/kozuedoingregression/attention-is-all-you-need) and accessed through an API built with FastAPI backend [repo](https://github.com/kozuedoingregression/attention-api).
## Features
- Translate German text to English via API
- Frontend built with Next.js and Tailwind CSS
- Backend with FastAPI
## Demo
## Backend API (FastAPI) [(repo)](https://github.com/kozuedoingregression/attention-api)
The frontend expects a POST endpoint at:
```
POST /translate
Content-Type: application/json
Body: { "text": "Ich bin klug" }
```
Response:
```json
{ "translation": "I am smart" }
```
---