theworker02 commited on
Commit
cf1c9f2
·
verified ·
1 Parent(s): 2e526ba

Document 13.9M CPU medium model card

Browse files
Files changed (1) hide show
  1. README.md +22 -13
README.md CHANGED
@@ -12,24 +12,33 @@ datasets:
12
  base_model: gpt2-scratch
13
  ---
14
 
15
- # Open Reason open-reason-medium (CPU)
16
 
17
- This is a **medium** GPT-2-style causal LM trained from scratch on the Open Reason SFT split. It is larger than `theworker02/open-reason-small` and is **not** a 1B model and is **not** `theworker02/open-reason-1b`.
 
 
 
 
18
 
19
- - Parameters: 13867008
20
- - Architecture: n_layer=6 n_embd=384 n_head=6
21
- - Steps: 180
22
- - Backend: cpu-host
23
- - CUDA used: False
24
- - Hardware: CPU (Docker when available). AMD GPU is not used.
25
- - Dataset: theworker02/open-reason pipeline 1.4.0
26
- - SFT rows: 3175
27
- - Final loss: 4.416327476501465
28
-
29
- No Reddit sources. Project license Apache-2.0.
30
 
31
  ```python
32
  from transformers import AutoModelForCausalLM, AutoTokenizer
 
33
  tok = AutoTokenizer.from_pretrained("theworker02/open-reason-medium")
34
  model = AutoModelForCausalLM.from_pretrained("theworker02/open-reason-medium")
35
  ```
 
 
 
 
 
12
  base_model: gpt2-scratch
13
  ---
14
 
15
+ # Open Reason medium (CPU)
16
 
17
+ A **medium** GPT-2-style causal LM trained from scratch on
18
+ [`theworker02/open-reason`](https://huggingface.co/datasets/theworker02/open-reason)
19
+ pipeline **v1.4.0**. It is larger than
20
+ [`theworker02/open-reason-small`](https://huggingface.co/theworker02/open-reason-small)
21
+ (~1.3M) and is **not** a 1B model. Do not confuse it with `theworker02/open-reason-1b`.
22
 
23
+ | | |
24
+ | --- | --- |
25
+ | Parameters | **13,867,008** |
26
+ | Architecture | GPT-2 scratch, `n_layer=6`, `n_embd=384`, `n_head=6`, vocab 8192, context 192 |
27
+ | Steps | 180 |
28
+ | Batch size | 2 |
29
+ | Hardware | **Host CPU** (`torch` 2.12.0+cpu). Docker was not installed. AMD GPU was not used. CUDA: false |
30
+ | Dataset | `theworker02/open-reason` v1.4.0, **3175** SFT rows (`all` split) |
31
+ | Final loss | 4.416 |
32
+ | License | Apache-2.0 |
33
+ | Reddit | Never used as a source |
34
 
35
  ```python
36
  from transformers import AutoModelForCausalLM, AutoTokenizer
37
+
38
  tok = AutoTokenizer.from_pretrained("theworker02/open-reason-medium")
39
  model = AutoModelForCausalLM.from_pretrained("theworker02/open-reason-medium")
40
  ```
41
+
42
+ Companion small model: [`theworker02/open-reason-small`](https://huggingface.co/theworker02/open-reason-small).
43
+ Dataset: [`theworker02/open-reason`](https://huggingface.co/datasets/theworker02/open-reason).
44
+ Code: [`theworker02/open-reason`](https://github.com/theworker02/open-reason).