File size: 3,875 Bytes
9c5092b
 
e965a8a
 
9c5092b
 
 
 
 
e965a8a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
title: README
emoji: 🧪
colorFrom: yellow
colorTo: gray
sdk: static
pinned: false
---

<p align="center">
  <img class="inline dark:hidden" src="https://huggingface.co/spaces/khkstudios/README/resolve/main/assets/khk-logo-black.png" alt="khkstudios logo" width="180">
  <img class="hidden dark:inline" src="https://huggingface.co/spaces/khkstudios/README/resolve/main/assets/khk-logo-white.png" alt="khkstudios logo" width="180">
</p>

<p align="center">
  <a href="https://huggingface.co/khkstudios"><img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-khkstudios-FFD21E"></a>
  <a href="https://github.com/khkstudios"><img alt="GitHub" src="https://img.shields.io/badge/GitHub-khkstudios-181717?logo=github&logoColor=white"></a>
  <br>
  <a href="#models"><img alt="Models" src="https://img.shields.io/badge/models-🤖-8b6a4a"></a>
  <a href="#datasets"><img alt="Datasets" src="https://img.shields.io/badge/datasets-📚-4a7a8b"></a>
  <a href="#papers"><img alt="Papers" src="https://img.shields.io/badge/papers-📄-6a4a8b"></a>
  <br>
  <a href="https://www.python.org/"><img alt="Python" src="https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=white"></a>
  <a href="https://pytorch.org/"><img alt="PyTorch" src="https://img.shields.io/badge/PyTorch-EE4C2C?logo=pytorch&logoColor=white"></a>
  <a href="https://developer.apple.com/metal/pytorch/"><img alt="Apple Silicon" src="https://img.shields.io/badge/Apple%20Silicon-000000?logo=apple&logoColor=white"></a>
</p>

<h1 align="center">khkstudios</h1>

<p align="center"><em>My notebook for learning machine learning: the models I train, the datasets I build and the papers I write along the way.</em></p>

---

Everything here is a personal learning project. I write the code, build the data and run the experiments
myself, mostly on a single Apple Silicon machine, and I publish what comes out so it's easy to load, read
and poke at.

Most of it is **small-scale and narrow by design**. Treat it as experiments and notes, not production tools.

## Models

| Model | Params | Architecture | Trained on | What it does |
| --- | --- | --- | --- | --- |
| [**dassie-50m**](https://huggingface.co/khkstudios/dassie-50m) | ~55M | Llama-style (RMSNorm, RoPE, SwiGLU) | [TinyStoriesV2-GPT4](https://huggingface.co/datasets/roneneldan/TinyStories) | Writes short, simple children's stories in English |
<!-- | [**name**](https://huggingface.co/khkstudios/name) | size | architecture | data | one line | -->

My language models export to standard `transformers` architectures, so they load with
`AutoModelForCausalLM` and need no `trust_remote_code`. Each model card has a quick-start and notes on
llama.cpp, Ollama and LM Studio.

## Datasets

| Dataset | Size | Format | What it's for |
| --- | --- | --- | --- |
| *Nothing published yet.* | | | |
<!-- | [**name**](https://huggingface.co/datasets/khkstudios/name) | rows / tokens | text, parquet… | one line | -->

## Papers

| Paper | Topic | Related |
| --- | --- | --- |
| *Nothing published yet.* | | |
<!-- | [**Title**](https://huggingface.co/papers/ID) | one line | model / dataset links | -->

## How I work

- **From scratch where it teaches something.** Model code, tokenizers and training loops are written by
  hand in PyTorch rather than pulled from a framework.
- **Local hardware.** Training runs on Apple Silicon (MPS), with CUDA and CPU fallbacks.
- **Verified and reproducible.** Exports are checked against the original checkpoint before they're
  published, and every model and dataset links back to the code that made it.

## Code

All source is on GitHub at **[github.com/khkstudios](https://github.com/khkstudios)**.

| Repo | Publishes |
| --- | --- |
| [khkstudios/dassie-50m](https://github.com/khkstudios/dassie-50m) | Model: [dassie-50m](https://huggingface.co/khkstudios/dassie-50m) |