# microsoft/generative-ai-for-beginners SLOC report

> As of 2026-08-02 (commit 645f932514e9), microsoft/generative-ai-for-beginners contains 669,576 total lines: 104,063 code, 353,446 comments, 212,067 blank, across 3,673 files in 12 languages (top: Jupyter Notebooks 86.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving microsoft/generative-ai-for-beginners to commit 645f932514e9, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 15.5% of all lines, comments represent 52.8%, and the repository averages 28 code lines per file. Jupyter Notebooks accounts for 86.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Jupyter Notebooks | 1,568 | 304,840 | 90,335 | 139,305 | 75,200 |
| JSON | 25 | 11,301 | 11,301 | 0 | 0 |
| Python | 25 | 2,273 | 1,601 | 201 | 471 |
| JavaScript | 7 | 575 | 380 | 83 | 112 |
| TypeScript | 5 | 363 | 271 | 26 | 66 |
| TOML | 1 | 113 | 103 | 0 | 10 |
| HTML | 1 | 25 | 22 | 0 | 3 |
| Batch | 1 | 34 | 18 | 9 | 7 |
| PowerShell | 1 | 34 | 17 | 11 | 6 |
| Shell | 1 | 33 | 15 | 10 | 8 |
| Markdown | 2,033 | 349,951 | 0 | 213,767 | 136,184 |
| Plain Text | 5 | 34 | 0 | 34 | 0 |

Top language (Jupyter Notebooks 86.8%). Generated at 2026-08-02T05:37:00.807668357+00:00. Canonical report: https://octocounts.com/github/microsoft/generative-ai-for-beginners

## Report FAQ

### How many lines of code does microsoft/generative-ai-for-beginners have?

microsoft/generative-ai-for-beginners has 669,576 total lines, including 104,063 code lines, 353,446 comment lines, and 212,067 blank lines.

### How was the microsoft/generative-ai-for-beginners line count measured?

OctoCounts resolved the public GitHub repository to commit 645f932514e9, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for microsoft/generative-ai-for-beginners?

This OctoCounts report was generated from main at commit 645f932514e9 on 2026-08-02T05:37:00.807668357+00:00.

## Similar repository reports

- [harvardnlp/annotated-transformer](https://octocounts.com/github/harvardnlp/annotated-transformer) — Jupyter Notebooks, 2,511 code lines
- [NousResearch/Hermes-Function-Calling](https://octocounts.com/github/NousResearch/Hermes-Function-Calling) — Jupyter Notebooks, 2,415 code lines
- [guptashrey/Content-Moderation-for-Social-Media](https://octocounts.com/github/guptashrey/Content-Moderation-for-Social-Media) — Jupyter Notebooks, 2,364 code lines
- [karpathy/nn-zero-to-hero](https://octocounts.com/github/karpathy/nn-zero-to-hero) — Jupyter Notebooks, 1,490 code lines
- [ysymyth/ReAct](https://octocounts.com/github/ysymyth/ReAct) — Jupyter Notebooks, 1,001 code lines
- [Daseinintheworld/seq2seq-encoder-decoder-rnn-with-luong-gpattention-buddhist-lexicon-inspired](https://octocounts.com/github/Daseinintheworld/seq2seq-encoder-decoder-rnn-with-luong-gpattention-buddhist-lexicon-inspired) — Jupyter Notebooks, 716 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
