UTSAVS26 / PyVerse

PyVerse is an open-source collection of diverse Python projects, tools, and scripts, ranging from beginner to advanced, across various domains like machine learning, web development, and automation.
https://sites.google.com/view/pyverse-python-universe/
MIT License
65 stars 178 forks source link

📃: (GenAI Beginners)Build a Generatively Pretrained Transformer (GPT) referring to "Attention is All You Need", OpenAI GPT-2, and Shakespeare Dataset #31

Closed shaansuraj closed 2 weeks ago

shaansuraj commented 2 weeks ago

:red_circle: Title : Build a Generatively Pretrained Transformer (GPT) referring to "Attention is All You Need", OpenAI GPT-2, and Shakespeare Dataset :red_circle: Aim : Generating the next word based on the context of the previous ones. :red_circle: Brief Explanation : Make use of Self Attention mechanisms to process and generate text efficiently, without relying on recurrent neural networks. You have to refer to "Attention is All You Need" paper and learn about GPT models, like OpenAI's GPT-2, which are pretrained on large text corpora, learning to predict the next word in a sentence, which allows them to generate coherent and contextually relevant text. You can start with Shakespeare's Dataset, the model learns the patterns specific to the playwright’s language, enabling it to generate text in a similar style. This combination of large-scale pretraining and fine-tuning on domain-specific data makes GPT highly effective for creative text generation tasks. This will be your first step towards Generative AI.

Here are the links for your help:

Attention is All You Need: https://arxiv.org/abs/1706.03762 Shakespeare Plays Dataset: https://www.kaggle.com/datasets/kingburrito666/shakespeare-plays

For any issues you can reach me out via email: suraj@brandladder.co.in

Screenshots 📷

image

image


:white_check_mark: To be Mentioned while taking the issue :

All the best. Enjoy your open source journey ahead. 😎

github-actions[bot] commented 2 weeks ago

🙌 Thank you for bringing this issue to our attention! We appreciate your input and will investigate it as soon as possible.

Abhicoder03 commented 2 weeks ago

Hey I found this issue interesting. Could you assign this issue to me.

shaansuraj commented 2 weeks ago

@Abhicoder03 I am glad that you found this topic interesting. I have assigned it to you. If you have any doubts, you can reach me out through the email I provided above.

JahnaviDhanaSri commented 2 weeks ago

Hi @shaansuraj I’m interested in contributing to the Build a Generatively Pretrained Transformer (GPT) project. I plan to focus on:

Understanding Self-Attention Mechanisms, I will thoroughly study the "Attention is All You Need" paper and the architecture of OpenAI's GPT-2 to grasp how self-attention enables efficient text generation. I will work with the Shakespeare Dataset to learn and emulate the unique language patterns of the playwright, enhancing the model's text generation capabilities. I will implement the GPT model, ensuring it generates coherent and contextually relevant text based on the context of previous words.

shaansuraj commented 2 weeks ago

@JahnaviDhanaSri Okay sure, I will assign you to this issue as well. You can work collaboratively with @Abhicoder03 on this.

JahnaviDhanaSri commented 2 weeks ago

Thank You!

On Wed, 2 Oct 2024 at 22:17, Suraj Sahu @.***> wrote:

Assigned #31 https://github.com/UTSAVS26/PyVerse/issues/31 to @JahnaviDhanaSri https://github.com/JahnaviDhanaSri.

— Reply to this email directly, view it on GitHub https://github.com/UTSAVS26/PyVerse/issues/31#event-14492075246, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCKE3GS7THMNH7UBNIVWWQ3ZZQPTNAVCNFSM6AAAAABPHWSRGCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGQ4TEMBXGUZDINQ . You are receiving this because you were assigned.Message ID: @.***>

Abhicoder03 commented 2 weeks ago

@JahnaviDhanaSri Hey, we can collaborate on this project.

JahnaviDhanaSri commented 2 weeks ago

Sure!

On Wed, 2 Oct 2024 at 22:58, Abhishek Choudhary @.***> wrote:

@JahnaviDhanaSri https://github.com/JahnaviDhanaSri Hey, we can collaborate on this project.

— Reply to this email directly, view it on GitHub https://github.com/UTSAVS26/PyVerse/issues/31#issuecomment-2389225786, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCKE3GVMJD6PTCYDNRKDBQTZZQUNNAVCNFSM6AAAAABPHWSRGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBZGIZDKNZYGY . You are receiving this because you were mentioned.Message ID: @.***>

github-actions[bot] commented 2 weeks ago

✅ This issue has been closed. Thank you for your contribution! If you have any further questions or issues, feel free to reach out!