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 files1223456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227---license: cc-by-4.0language:- 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 Models
JLCM-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 Summary
JLCM-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 English understanding.
This is a research and experimental model, not a replacement for largeproduction coding models.
------------------------------------------------------------------------
# Architecture
Component Value ------------------- -------------------------- Model Type Decoder-only Transformer Parameters 97,536,768 Layers 12 Hidden Size 768 Attention Heads 12 Context Length 1024 Tokens Vocabulary Size 16,384 Position Encoding RoPE Normalization RMSNorm Activation SwiGLU Training Method From Scratch
------------------------------------------------------------------------
# Training
The 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
------------------------------------------------------------------------
# Dataset
The training pipeline used Python-focused datasets.
## CodeParrot Clean
Used for:
- Real Python source code- Programming patterns- Code structure learning
Dataset processing:
- Syntax validation- Duplicate filtering- Generated code filtering- Secret detection- File size filtering
## MBPP
Used for:
- English-to-Python examples- Function generation tasks- Programming problem examples
------------------------------------------------------------------------
# Dataset Processing
The pipeline performs:
- Python AST validation- Duplicate removal- Secret filtering- Generated code filtering- Dataset quality checks
Final prepared dataset:
- Training samples: 35,855- Validation samples: 389- Test samples: 793
------------------------------------------------------------------------
# Tokenizer
Tokenizer:
Byte-Level BPE
Vocabulary:
16,384 tokens
Optimized for:
- Python keywords- Indentation- Operators- Function names- Technical English
------------------------------------------------------------------------
# Hardware
Training hardware:
- NVIDIA RTX 3060 12GB- PyTorch- Mixed Precision Training
The project demonstrates training a small specialized code model onconsumer hardware.
------------------------------------------------------------------------
# Intended Use
Suitable for:
- Python code generation experiments- Code completion research- Local AI coding experiments- Educational model training research
------------------------------------------------------------------------
# Limitations
This 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 Family
JumpLander Code Language Models:
JumpLander | βββ JLCM | βββ JLCM-Python-100M βββ JLCM-JavaScript βββ JLCM-Rust βββ JLCM-C++ βββ Future language models
Each model focuses on one programming language.
------------------------------------------------------------------------
# Future Work
Planned:
- Instruction tuning- Larger Python models- More programming languages- Better code evaluation- Unit-test based training
------------------------------------------------------------------------
# Created by
JumpLander AI ResearchREADME.md+225-1