→ كل المشاريع

Building-a-GPT-Inspired-Transformer-from-Scratch

بواسطة @Bensmail-anis

11

We build a Mini Generative Pretrained Transformer (GPT) inspired by the "Attention is All You Need" paper -11 M params

عن هذا المشروع

Crafting the Attention! This repository contains an implementation of a decoder Transformer model inspired by the original GPT architecture, designed to capture the writing style and speech patterns of characters from Classroom of the Elite just for educational purposes. The model is trained to generate text that mimics the linguistic style of the light novel, producing new sentences in the same tone as the source material. It still carries some fragmented, abstract tone , so it can be enhanced more and better . 📜 Paper Implementation This repository is inspired by the "Attention Is All You Need" paper by Vaswani et al. (2017), which introduced the Transformer architecture , we closely follow its core principles while making a slight modification based on the OpenAI paper "Language Models are Unsupervised Multitask Learners". Our model network consists of 10.82 million parameters, optimized for text generation tasks. The loss function used is Average Negative Log-Likelihood (ANLL), making it suitable for evaluating language modeling quality. 📂 Dataset

من ملف README الخاص بالمشروع على GitHub

النجوم
11
التفريعات
0
الرخصة
MIT
آخر تحديث
08/02/2025

أضف هذه الشارة إلى ملف README

أظهر أن مشروعك مُدرج على «صُنع في الجزائر».

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/building-a-gpt-inspired-transformer-from-scratch.svg)](https://www.madeinalgeria.dev/projects/building-a-gpt-inspired-transformer-from-scratch)

مشاريع ذات صلة

RAGbot---Generative_AI-RAG-Application

bensmail-anis/ragbot---generative_ai-rag-application

A powerful chatbot assistant leveraging Retrieval-Augmented Generation (RAG) to answer questions from multiple PDF documents. RAGbot generates accurate responses and provides source references, making it an ideal assistant for working with domain-specific PDFs.

16TypeScript

NetWise_DevFest24

bensmail-anis/netwise_devfest24

NetWise is a bandwidth management and optimization system developed for the DevFest Algiers Hackathon.

13Python

Human-Emotion-Detection-Through-Computer-Vision

bensmail-anis/human-emotion-detection-through-computer-vision

Human Emotion Detection through various deep learning techniques , including using diverse model architectures, Transfer learning , Transformers and data strategies.

12Jupyter Notebook

developing-gpt2-124M-from-scratch

bensmail-anis/developing-gpt2-124m-from-scratch

A custom implementation of OpenAI's GPT-2(124M) from scratch, following the paper "Language Models are Unsupervised Multitask Learners".We train the model on the FineWeb dataset -10 billion tokens.

11Jupyter Notebook

Black-Friday-Project

bensmail-anis/black-friday-project

The project revolves around analyzing a comprehensive Black Friday sales dataset.The primary objectives involve exploring the relationships between various attributes, predicting purchase amounts using machine learning models, and understanding the impact of different factors on Black Friday sales.

10Jupyter Notebook

pythoncode-tutorials

x4nth055/pythoncode-tutorials

The Python Code Tutorials

3kJupyter Notebookتعليمنشِط