Downloads · 30 days
0
MaxiMThi/DrThibodeau
DrThibodeau is a machine learning model from MaxiMThi. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains an experimental graph-guided Alpha language model and an interactive chat program.
Downloads · 30 days
0
Access
Public
Updated Sep 21, 2026
Repo size
252 MB
Likes
0
Public
Click a slice to open those files.
.pt126 MB · 98%
From the Hugging Face model README
This repository contains an experimental graph-guided Alpha language model and an interactive chat program.
latest-inference-fp16.pt — inference-only FP16 checkpointtokenizer.json — matching 32,000-token tokenizergraph_guided_alpha.py — model definitionchat_graph_alpha.py — recommended chat interfaceThe checkpoint is approximately 63 million parameters with a 512-token context window. It is an experimental model and may produce incoherent or empty responses, especially after limited training.
git clone https://huggingface.co/MaxiMThi/DrThibodeau
cd DrThibodeau
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
If the repository was downloaded without Git:
python -m pip install -U huggingface_hub
huggingface-cli download MaxiMThi/DrThibodeau --local-dir .
Run the recommended graph-enabled chat:
source .venv/bin/activate
python chat_graph_alpha.py \
--checkpoint latest-inference-fp16.pt \
--max-new-tokens 128 \
--temperature 0.8 \
--top-k 40 \
--repetition-penalty 1.05 \
--context-turns 4 \
--prompt-format auto
On a CUDA GPU, the script uses CUDA automatically. On CPU, generation will be slower:
python chat_graph_alpha.py \
--checkpoint latest-inference-fp16.pt \
--max-new-tokens 64 \
--temperature 0.7 \
--top-k 20
Interactive commands:
/reset Clear conversation history
/quit Exit the chat
--temperature such as 0.3 makes output more deterministic.--temperature such as 1.0 increases variation.--top-k reduces unusual token choices.--context-turns controls how many previous turns are included.--prompt-format plain is useful for testing ordinary text completion.--disable-graph bypasses graph routing for an ablation comparison.Example deterministic run:
python chat_graph_alpha.py \
--checkpoint latest-inference-fp16.pt \
--max-new-tokens 128 \
--temperature 0.3 \
--top-k 10 \
--prompt-format auto
Keep these files together and use the graph chat script:
latest-inference-fp16.pt
tokenizer.json
graph_guided_alpha.py
chat_graph_alpha.py
Do not load this checkpoint with the plain DistanceAlpha implementation. The checkpoint contains graph-model keys such as base.* and router.*.
If PyTorch is missing:
source .venv/bin/activate
python -m pip install -r requirements.txt
If the tokenizer is missing, download it again:
huggingface-cli download MaxiMThi/DrThibodeau tokenizer.json --local-dir .
If the model emits empty or incoherent text, the checkpoint is loading correctly but is likely under-trained. This is a research checkpoint, not a production assistant.