Downloads · 30 days
10
7% of all-time downloads
David0dods/codeforces-gpt-neo-lora
codeforces-gpt-neo-lora is a text generation model from David0dods. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as mit.
libraryname: peft license: mit basemodel: EleutherAI/gpt-neo-125M tags: - code-generation - python - lora - peft - transformers - competitive-programming pipelinetag: text-generation model-index: - name: codeforces-gp…
Downloads · 30 days
10
7% of all-time downloads
All-time downloads
148
Public
Repo size
14.2 MB
Likes
0
Public
Click a slice to open those files.
.json3.6 MB · 75%
From the Hugging Face model README
library_name: peft license: mit base_model: EleutherAI/gpt-neo-125M tags:
This model is a specialized version of EleutherAI/gpt-neo-125M, fine-tuned to assist in solving competitive programming challenges. It has been trained to generate structured Python solutions based on complex problem descriptions. This project was developed as a key task for the Generative AI track within the Digital Egypt Pioneers Initiative (DEPI) scholarship.
The model was fine-tuned on a specialized subset of the MatrixStudio/Codeforces-Python-Submissions dataset. The training data followed an Instruction-Problem-Solution format to ensure the model learns to follow specific programming prompts effectively.
To ensure efficient training, the model utilized PEFT (LoRA). This allowed for effective domain adaptation while significantly reducing the number of trainable parameters.
The model showed consistent improvement over 3 epochs, with the final Validation Loss reaching 2.0083. The steady decrease in both Training and Validation loss indicates successful convergence without overfitting.
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.0445 | 1.0 | 563 | 2.0761 |
| 2.0477 | 2.0 | 1126 | 2.0216 |
| 1.9682 | 3.0 | 1689 | 2.0083 |