Downloads · 30 days
0
RastogiAkshat/SanskritGPT
SanskritGPT is a machine learning model from RastogiAkshat. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repository contains a character-level GPT model for the Sanskrit language, trained on the ancient Indian epic, the Mahabharata. The model has 10.7M parameters and is built using a 6-layer neural network with mult…
Downloads · 30 days
0
Access
Public
Updated Aug 5, 2024
Repo size
140 MB
Likes
1
Public
Click a slice to open those files.
.pth140 MB · 100%
From the Hugging Face model README
This repository contains a character-level GPT model for the Sanskrit language, trained on the ancient Indian epic, the Mahabharata. The model has 10.7M parameters and is built using a 6-layer neural network with multi-head self-attention layers, following the architecture presented in the seminal paper "Attention is All You Need" (2017).
Architecture: 6-layer neural network with multi-head self-attention Parameters: 10.7M Training Data: Sanskrit texts from the Mahabharata, comprising over 100,000 shlokas Training Time: Approximately 5 hours Validation Loss: 1.2 Performance
After training, the model achieved a validation loss of around 1.2. The generated outputs were impressive and demonstrated a good understanding of the Sanskrit language structure and content.
This model is open-source and available under the MIT License.
Feel free to contribute by opening issues or submitting pull requests. Your contributions are highly appreciated!
This work is inspired by the original GPT architecture and the "Attention is All You Need" paper.