Skip to main content

cat > README.md <<'EOF'

TokenCraft

From tokens to intelligence.

TokenCraft is a small educational GPT-style language model implemented using PyTorch.

The project demonstrates how a GPT model works, from tokenization to next-token generation.

Features

  • Simple word-level tokenizer
  • Token and positional embeddings
  • Causal self-attention
  • Multi-head attention
  • Feed-forward network
  • Transformer blocks
  • GPT decoder architecture
  • Training with next-token prediction
  • Text generation with temperature sampling

Installation

pip install tokencraft-gpt

Metadata

Release files for tokencraft-gpt 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tokencraft-gpt 0.1.0
File Size Uploaded Provenance Actions
tokencraft_gpt-0.1.0.tar.gz 128.4 kB Without provenance Details for tokencraft_gpt-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tokencraft-gpt 0.1.0
File Interpreter ABI Platform Actions
tokencraft_gpt-0.1.0-py3-none-any.whl Python 3 none any Details for tokencraft_gpt-0.1.0-py3-none-any.whl

Total release size: 136.1 kB

Release files / tokencraft_gpt-0.1.0.tar.gz

Download URL tokencraft_gpt-0.1.0.tar.gz
Size 128.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5b0fb5fd5182a0964d280e15fe0c3964cb5a6d9c8d832c365ef7efbb117fd5b2
BLAKE2b-256 checksum
How to use checksums
3c0405a08bb773d07ed5446e9f75c35946f3841382de24e62690028ef67a1aa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

Release files / tokencraft_gpt-0.1.0-py3-none-any.whl

Download URL tokencraft_gpt-0.1.0-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92701f87aa66a5d3aa59231044e6afb3568428a2a8b4a67727ae22ccc3b96bd9
BLAKE2b-256 checksum
How to use checksums
8056950ad9156ab6587b25b862c5eb42c250f625f69dc6e99221987711554438
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

Security for tokencraft-gpt 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page