r/deeplearning • u/Abject_League6170 • 4h ago
help with ideas on how to improve small coding model i am building
hey guys so i have been working on training a small 63 milllion parameter python function completer model
steps i have taken are:
use code parrot dataset which comes from scrapped python github files
use BPE tokenixer (deepseek v1 tokenizer with vocab size of 32000)
context window is 2048
i have 15 decoder transformer layers
embedding size of 512
implemeted cosine decay and gradient clipping
activation function is relu and optimizer is adamw
using weight tying as well (mainly cause of compute cost)
task i trained on was: autoreggressive task and fill in the middle section task shuffled in equal proportion
so after training the model it could produce plausible and correct functions(rarely) given a docstring but never knew to produce a return cause i was training over the whole file
so i did continued pretraining at function level with a conservative laerning rate and it can now produce actual return statements that are still plausible but mostly wrong logic
i was thinking of dabbling into a bit of post training but i feel out of my depth and wanted advice on things i am missing or could have imporved on and also how to go about learning and implementing post training strategies as well as coding model evals if any of you have dabbled in that as well