Skip to content
HN On Hacker News ↗

GitHub - AlpinDale/gpt2.cmake: Implementation of the GPT-2 model in pure CMake

▲ 36 points 11 comments by porridgeraisin 5h ago HN discussion ↗

Pangram verdict · v3.3

We believe that this entire text is human-written.

19 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 50
PEAK AI % 19% · §1
Analyzed
Aug 23
backend: pangram/v3.3
Segments scanned
1 windows
avg 50 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 50 words · 1 segments analyzed

Human AI-generated
§1 Human · 19%

GPT-2 in pure CMake, executed with Q16.16 integer arithmetic. Full model mkdir -p checkpoint curl -L -o checkpoint/model.safetensors https://huggingface.co/openai-community/gpt2/resolve/main/model.safetensors curl -L -o checkpoint/vocab.json https://huggingface.co/openai-community/gpt2/resolve/main/vocab.json curl -L -o checkpoint/merges.txt https://huggingface.co/openai-community/gpt2/resolve/main/merges.txt python3 tools/gen_full.py cmake -P gpt2_full.cmake -DPROMPT="Hello" -DN=2 Toy model python3 tools/gen_tables.py python3 tools/gen_model.py cmake -P gpt2.cmake License BSD 3-Clause. See LICENSE.