Code for building an NCM Model (From Stanford HazyResearch Lab)
retained text
HazyResearch hasn't shared the code they used to build their Next-Concept Model (NCM) from their paper, but I was able to build my own NCM model and replicate similar results to their original paper. Using this code, I was able to build a Japanese NCM model and recreate the fast text generation described in the paper.
document fetched 2026-11-20 00:42 · canonical https://reddit.com/r/LocalLLaMA/comments/1y06z8l/code_for_building_an_ncm_model_from_stanford