finnbusse commited on
Commit
15b56c6
Β·
verified Β·
1 Parent(s): 4aa1b48

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +201 -28
README.md CHANGED
@@ -15,49 +15,222 @@ tags:
15
  emoji: 🧠
16
  ---
17
 
18
- # Model Card for GrabbeAI
19
 
20
- GrabbeAI is an advanced AI model based on the powerful Google Gemma 2 architecture. It is specifically trained to provide visitors of the school's website with straightforward information about the institution and answer a wide range of questions related to daily school life.
21
 
22
- ### Model Description
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
- This is the model card of a πŸ€— transformers model that has been pushed on the Hub. This model card has been automatically generated.
25
 
26
- - **Developed by:** Finn Busse, Maximilian von Beck
27
- - **Trained by:** Finn Busse, Evan Charter, Raphael Scheimann
28
- - **Shared by:** Grabbe-Gymnasium Detmold, Dr. Claus Hilbing
29
- - **Model Card written by:** ChatGPT
30
- - **Model type:** AI chatbot
31
- - **Language(s) (NLP):** German, English, Ukrainian
32
- - **License:** Gemma Terms of Use
33
- - **Finetuned from model:** gemma-2-9b
34
 
35
- ### Training Data
36
 
37
- https://huggingface.co/datasets/grabbe-gymnasium-detmold/grabbeai
 
 
 
38
 
39
- ### Results
 
40
 
41
- GrabbeAI now serves as an AI chatbot tool on the Grabbes website.
42
 
43
- ## How to Get Started with the Model
 
 
 
44
 
45
- 1. Download Ollama from https://ollama.com/download
46
- 2. Install Ollama
47
- 3. Open the Terminal and type ```ollama run grabbe-gymnasium/grabbe-ai```
 
 
48
 
49
- ### Riscs
50
 
51
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
 
 
 
52
 
53
- #### Software
 
 
 
 
54
 
55
- GrabbeAI can be used with Ollama. GrabbeAI was trained using Google Colab using Unsloth.
56
 
57
- ## Model Card Author
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
- ChatGPT
 
60
 
61
- ## Model Card Contact
 
 
62
 
63
- Grabbe-Gymnasium Detmold, Germany
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  emoji: 🧠
16
  ---
17
 
18
+ # GrabbeAI: A School's Leap into the Future of AI πŸš€πŸŽ“
19
 
20
+ Welcome to the official documentation of **GrabbeAI**, the first AI model developed specifically for a school! GrabbeAI is a groundbreaking project implemented at the **Christian-Dietrich-Grabbe-Gymnasium (GGY)** in Detmold, Germany. Its purpose is to revolutionize the way information is accessed and communication is handled for students, teachers, and parents. Fully integrated into the school’s homepage, GrabbeAI serves as a digital assistant for a wide range of tasks, making school life simpler, smarter, and more connected.
21
 
22
+ ---
23
+
24
+ ## Table of Contents πŸ“
25
+ - [Overview](#overview)
26
+ - [Components](#components)
27
+ - [Frontend](#frontend)
28
+ - [Backend](#backend)
29
+ - [Dataset](#dataset)
30
+ - [Features](#features)
31
+ - [Technology Stack](#technology-stack)
32
+ - [Security and Authentication](#security-and-authentication)
33
+ - [Setup and Installation](#setup-and-installation)
34
+ - [Development Workflow](#development-workflow)
35
+ - [Deployment](#deployment)
36
+ - [Community and Contribution](#community-and-contribution)
37
+ - [Acknowledgments](#acknowledgments)
38
+ - [References](#references)
39
+ - [License](#license)
40
+
41
+ ---
42
+
43
+ ## Overview 🌟
44
+ GrabbeAI is a cutting-edge AI solution, fine-tuned from OpenAI's **GPT-4o mini** model, making it the first school-focused AI implementation of its kind. Officially launched in **January 2025**, it combines the latest advancements in AI with tailored functionalities to meet the unique needs of the Christian-Dietrich-Grabbe-Gymnasium community.
45
+ GrabbeAI is the **first-ever school-focused AI model**, officially launched in **January 2025**. It was meticulously designed to meet the needs of the Christian-Dietrich-Grabbe-Gymnasium community, combining the latest advancements in artificial intelligence with a user-centric approach. GrabbeAI simplifies complex communication chains and ensures that relevant information is always just a click away.
46
+
47
+ ### Key Benefits:
48
+ - **For Students** πŸ“š: Instant access to timetables, assignments, FAQs, and extracurricular activities.
49
+ - **For Teachers** πŸ‘©β€πŸ«: Effortless class management and parent communication.
50
+ - **For Parents** πŸ‘¨β€πŸ‘©β€πŸ‘§: Timely updates on their child’s progress, events, and important announcements.
51
 
52
+ The platform represents a significant step forward in education technology, showcasing how AI can create a better, more efficient learning environment.
53
 
54
+ ---
55
+
56
+ ## Components 🧩
57
+ GrabbeAI is built on three foundational components that work seamlessly together:
58
+
59
+ ### Frontend 🌐
60
+ The **frontend** delivers a sleek, interactive user interface that is fully responsive and easy to navigate. This part of the system is designed to provide users with a simple yet powerful experience on any device.
 
61
 
62
+ πŸ”— [Frontend Repository](https://github.com/Grabbe-Gymnasium-Detmold/grabbe-ai-website)
63
 
64
+ #### Highlights:
65
+ - **Modern Design**: Developed using **React**, **Vite**, and **TailwindCSS**.
66
+ - **Localization**: Multi-language support via **i18next** ensures inclusivity.
67
+ - **Engaging Animations**: Powered by **Framer Motion** for smooth, visually appealing interactions.
68
 
69
+ ### Backend πŸ› οΈ
70
+ The **backend** forms the AI-powered brain of GrabbeAI. It integrates directly with OpenAI's state-of-the-art models to generate intelligent responses and manages all API interactions.
71
 
72
+ πŸ”— [Backend Repository](https://github.com/Grabbe-Gymnasium-Detmold/grabbe-ai-backend)
73
 
74
+ #### Features:
75
+ - **Efficient AI Integration**: Leveraging OpenAI for quick and accurate responses.
76
+ - **Simple and Secure**: Though it lacks traditional authentication, GrabbeAI employs secure methods to protect sensitive information while remaining user-friendly.
77
+ - **Database Support**: Uses **MySQL** to store key data reliably.
78
 
79
+ ### Dataset πŸ“Š
80
+ The dataset is the cornerstone of GrabbeAI’s ability to answer questions effectively. It includes:
81
+ - Detailed FAQs covering school policies, events, and procedures.
82
+ - Comprehensive teacher and staff directories.
83
+ - Key documents and downloadable resources.
84
 
85
+ πŸ”— [Dataset Repository](https://github.com/Grabbe-Gymnasium-Detmold/grabbe-ai-dataset)
86
 
87
+ ---
88
+
89
+ ## Features ✨
90
+ GrabbeAI is loaded with features that make it an indispensable tool for the Grabbe-Gymnasium community:
91
 
92
+ 1. **Custom AI Assistance**: Tailored for school-related queries, ranging from timetables to teacher contact details.
93
+ 2. **Seamless Communication**: Facilitates better interaction between teachers, students, and parents.
94
+ 3. **Real-Time Information**: Provides instant updates on events, schedules, and announcements.
95
+ 4. **User-Friendly Interface**: Accessible to users of all technical skill levels.
96
+ 5. **AI-Powered Insights**: Intelligently answers questions using OpenAI’s advanced models.
97
 
98
+ ---
99
 
100
+ ## Technology Stack πŸ› οΈ
101
+ The development of GrabbeAI involved a robust stack of modern technologies:
102
+
103
+ ### Frontend:
104
+ - **React**: Building dynamic and scalable user interfaces.
105
+ - **Vite**: A high-performance build tool.
106
+ - **TailwindCSS**: Utility-first CSS for rapid styling.
107
+ - **Framer Motion**: Library for animations and transitions.
108
+ - **i18next**: Enabling multi-language support.
109
+
110
+ ### Backend:
111
+ - **Node.js**: JavaScript runtime for server-side processing.
112
+ - **Nitropack**: Framework for fast API responses.
113
+ - **MySQL**: Relational database management system.
114
+ - **OpenAI API**: Powers AI capabilities.
115
+ - **IPinfo**: Provides geolocation data based on IP addresses.
116
+
117
+ ---
118
+
119
+ ## Security and Authentication πŸ”’
120
+ Although GrabbeAI does not implement complex authentication protocols, it ensures security by:
121
+ - Using **secure API endpoints**.
122
+ - Maintaining user privacy by limiting data access.
123
+ - Restricting contributions and interactions to authorized members of the Grabbe-Gymnasium community.
124
+
125
+ The simplicity of its security framework allows for faster user onboarding while maintaining a high standard of data integrity.
126
+
127
+ ---
128
+
129
+ ## Setup and Installation βš™οΈ
130
+ Getting started with GrabbeAI is straightforward:
131
+
132
+ ### Frontend:
133
+ 1. Clone the repository:
134
+ ```bash
135
+ git clone https://github.com/Grabbe-Gymnasium-Detmold/grabbe-ai-website.git
136
+ ```
137
+ 2. Navigate to the directory:
138
+ ```bash
139
+ cd grabbe-ai-website
140
+ ```
141
+ 3. Install dependencies:
142
+ ```bash
143
+ npm install
144
+ ```
145
+ 4. Start the development server:
146
+ ```bash
147
+ npm run dev
148
+ ```
149
+
150
+ ### Backend:
151
+ 1. Clone the repository:
152
+ ```bash
153
+ git clone https://github.com/Grabbe-Gymnasium-Detmold/grabbe-ai-backend.git
154
+ ```
155
+ 2. Navigate to the directory:
156
+ ```bash
157
+ cd grabbe-ai-backend
158
+ ```
159
+ 3. Install dependencies:
160
+ ```bash
161
+ npm install
162
+ ```
163
+ 4. Configure the environment:
164
+ Create a `.env` file with the necessary keys (refer to the backend README).
165
+ 5. Start the server:
166
+ ```bash
167
+ npm run dev
168
+ ```
169
+
170
+ ---
171
 
172
+ ## Development Workflow 🚧
173
+ Development involves these core scripts:
174
 
175
+ - **Frontend:**
176
+ - `npm run dev`: Starts the development server.
177
+ - `npm run build`: Prepares the application for production.
178
 
179
+ - **Backend:**
180
+ - `npm run dev`: Starts the API server.
181
+ - `npm run build`: Prepares the backend for deployment.
182
+
183
+ ---
184
+
185
+ ## Deployment πŸš€
186
+
187
+ ### Frontend:
188
+ 1. Build the application:
189
+ ```bash
190
+ npm run build
191
+ ```
192
+ 2. Deploy the contents of the `dist/` directory to a static hosting provider such as **GitHub Pages** or **Vercel**.
193
+
194
+ ### Backend:
195
+ 1. Build the API:
196
+ ```bash
197
+ npm run build
198
+ ```
199
+ 2. Deploy the backend to a cloud service like **DigitalOcean** or **AWS**.
200
+
201
+ ---
202
+
203
+ ## Community and Contribution 🀝
204
+ GrabbeAI was developed by the school community, for the school community. Contributions are currently limited to authorized staff and students of Grabbe-Gymnasium. If you are part of the school and would like to contribute:
205
+
206
+ 1. Fork the repository.
207
+ 2. Create a feature branch (`git checkout -b feature/your-feature-name`).
208
+ 3. Commit your changes (`git commit -m 'Add feature XYZ'`).
209
+ 4. Push to the branch (`git push origin feature/your-feature-name`).
210
+ 5. Open a pull request for review.
211
+
212
+ ---
213
+
214
+ ## Acknowledgments πŸ’–
215
+ GrabbeAI was envisioned and brought to life by:
216
+ - **Finn Busse**
217
+ - **Maximilian von Beck**
218
+
219
+ Special thanks to the entire Grabbe-Gymnasium community for their support and input during the development process.
220
+
221
+ ---
222
+
223
+ ## References πŸ“š
224
+ - **Finn Busse**: Primary developer and visionary.
225
+ - **Maximilian von Beck**: Lead backend engineer.
226
+
227
+ ---
228
+
229
+ ## License πŸ“œ
230
+ This project is the exclusive property of Christian-Dietrich-Grabbe-Gymnasium. Unauthorized use, copying, or distribution is prohibited.
231
+
232
+ For inquiries or support, contact:
233
234
235
+
236
+ ---