VADRK155 commited on
Commit
1e145bd
·
verified ·
1 Parent(s): 138e9ad

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -0
README.md CHANGED
@@ -1,3 +1,40 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ language:
4
+ - en
5
+ tags:
6
+ - text-generation
7
+ - gpt
8
+ - from-scratch
9
+ - code
10
  ---
11
+
12
+ # Cortex 2 Code
13
+
14
+ A small GPT model for code generation, trained completely from scratch (custom PyTorch architecture, no `transformers` library involved).
15
+
16
+ - **Parameters**: 120m
17
+ - **Weights format**: fp32
18
+ - **Architecture**: Decoder-only Transformer (custom implementation)
19
+ - **Training**: from scratch, no pretrained weights used
20
+ - **Language**: writes Python code, all comments and output in English
21
+
22
+ > ⚠️ **Note:** the context window is only **512 tokens**, so the model will forget earlier parts of the code quickly.
23
+
24
+ > ⚠️ **Note:** this is a small model for code, so don't expect great results from it — but it can be fun to try out of curiosity.
25
+
26
+ ## How to run
27
+
28
+ 2. Install dependencies:
29
+
30
+ pip install -r requirements.txt
31
+
32
+
33
+ 3. Run:
34
+
35
+ python chat.py
36
+
37
+
38
+ ## Limitations
39
+
40
+ This is a small model, so it may produce broken, incomplete, or non-functional code — expected behavior for this parameter count.