Text Generation
PyTorch
English
jl_code_python
code
python
python-code
code-generation
code-completion
causal-language-modeling
decoder-only
programming-language-model
small-language-model
from-scratch
random-initialization
custom-architecture
custom-pytorch
byte-level-bpe
rope
rmsnorm
swiglu
consumer-gpu
rtx-3060
research
jumplander
jl-code
Upload README.md
Browse files123---license: cc-by-4.0---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227---language:- enlicense: apache-2.0pipeline_tag: text-generationtags:- code- python- code-generation- programming-language-model- transformer- from-scratch- jumplander---# JLCM-Python-100M-v0.1## JumpLander Code Language ModelsJLCM-Python-100M-v0.1 is an experimental Python-focused code languagemodel created by JumpLander.This model is part of the **JumpLander Code Language Models (JLCM)**family. The goal of this family is to build specialized models forindividual programming languages.Examples of future models:- JLCM-JavaScript- JLCM-Rust- JLCM-C++- JLCM-PHP- JLCM-SQL------------------------------------------------------------------------# Model SummaryJLCM-Python-100M is a decoder-only Transformer language model trainedfrom scratch for Python programming.Key points:- No pretrained weights were used.- The model was initialized from random weights.- The tokenizer was created specifically for this project.- The training pipeline was built by JumpLander.- The model focuses on Python code and technical Englishunderstanding.This is a research and experimental model, not a replacement for largeproduction coding models.------------------------------------------------------------------------# ArchitectureComponent Value------------------- --------------------------Model Type Decoder-only TransformerParameters 97,536,768Layers 12Hidden Size 768Attention Heads 12Context Length 1024 TokensVocabulary Size 16,384Position Encoding RoPENormalization RMSNormActivation SwiGLUTraining Method From Scratch------------------------------------------------------------------------# TrainingThe model was trained using causal language modeling.Training objective:Predict the next token based on previous tokens.The model learns:- Python syntax- Python functions- Code completion patterns- Technical English related to programming------------------------------------------------------------------------# DatasetThe training pipeline used Python-focused datasets.## CodeParrot CleanUsed for:- Real Python source code- Programming patterns- Code structure learningDataset processing:- Syntax validation- Duplicate filtering- Generated code filtering- Secret detection- File size filtering## MBPPUsed for:- English-to-Python examples- Function generation tasks- Programming problem examples------------------------------------------------------------------------# Dataset ProcessingThe pipeline performs:- Python AST validation- Duplicate removal- Secret filtering- Generated code filtering- Dataset quality checksFinal prepared dataset:- Training samples: 35,855- Validation samples: 389- Test samples: 793------------------------------------------------------------------------# TokenizerTokenizer:Byte-Level BPEVocabulary:16,384 tokensOptimized for:- Python keywords- Indentation- Operators- Function names- Technical English------------------------------------------------------------------------# HardwareTraining hardware:- NVIDIA RTX 3060 12GB- PyTorch- Mixed Precision TrainingThe project demonstrates training a small specialized code model onconsumer hardware.------------------------------------------------------------------------# Intended UseSuitable for:- Python code generation experiments- Code completion research- Local AI coding experiments- Educational model training research------------------------------------------------------------------------# LimitationsThis model:- Is a small language model.- Can generate incorrect code.- Does not guarantee executable solutions.- Is not designed for production-critical software.- Has limited general knowledge.------------------------------------------------------------------------# Model FamilyJumpLander Code Language Models:JumpLander|βββ JLCM|βββ JLCM-Python-100Mβββ JLCM-JavaScriptβββ JLCM-Rustβββ JLCM-C++βββ Future language modelsEach model focuses on one programming language.------------------------------------------------------------------------# Future WorkPlanned:- Instruction tuning- Larger Python models- More programming languages- Better code evaluation- Unit-test based training------------------------------------------------------------------------# Created byJumpLander AI Research
README.md+225-1