LLM EXPLORER 57,918 MODELS INDEXED

TinyCodeLM 150M by upiter

By upiter · 41 downloads

TinyCodeLM 150M is an open-source language model by upiter. Features: 150m LLM, VRAM: 0.6GB, Context: 1K, License: apache-2.0, LLM Explorer Score: 0.15.

  Arxiv:2410.02749   Dataset:bigcode/the-stack   Dataset:huggingfacefw/fineweb   Endpoints compatible   Olmo   Pytorch   Region:us
Model Card on HF πŸ€—: https://huggingface.co/upiter/TinyCodeLM-150M 

TinyCodeLM 150M Parameters and Internals

Model Type 
generative code model, text generation, code synthesis
Use Cases 
Areas:
Python code synthesis
Primary Use Cases:
Python code synthesis
Limitations:
Potential for misuse in generating vulnerable/malicious code
Considerations:
Model-generated code must not be executed without precautions.
Additional Notes 
Pretrained on a mixture of open-source web text and Python code.
Training Details 
Data Sources:
bigcode/the-stack, HuggingFaceFW/fineweb, Magicoder, StarCoder2 OSS-Instruct
Data Volume:
72 billion tokens
Methodology:
pretrained on open-source web text and Python code. Instruction tuned on synthetic edit sequence data using the LintSeq algorithm.
Training Time:
Pretraining took about two days (150M) and six days (400M). Instruction tuning took several hours.
Hardware Used:
single H100 node (four GPUs) for pretraining, single H100 GPU for instruction tuning
Model Architecture:
Autoregressive language models mimicking GPT-2 architectures with OLMo model transformer architecture changes.
Safety Evaluation 
Risk Categories:
potential misuse for vulnerabilities/malicious code generation
Ethical Considerations:
The importance of handling model-generated code with precautions.
Input Output 
Input Format:
Text only
Output Format:
Text and code outputs. Instruction tuned models generate code via 'diffs'.
LLM NameTinyCodeLM 150M
Repository πŸ€—https://huggingface.co/upiter/TinyCodeLM-150M 
Model Size150m
Required VRAM0.6 GB
Updated2026-08-08
Maintainerupiter
Model Typeolmo
Model Files  0.6 GB
Model ArchitectureOlmoForCausalLM
Licenseapache-2.0
Context Length1024
Model Max Length1024
Transformers Version4.42.3
Tokenizer ClassGPTNeoXTokenizer
Padding Token<|padding|>
Vocabulary Size50304
Torch Data Typefloat32