{"id":207,"date":"2026-10-02T10:02:36","date_gmt":"2026-10-02T10:02:36","guid":{"rendered":"https:\/\/blog.chataignon.org\/joseph\/?p=207"},"modified":"2026-10-02T11:39:55","modified_gmt":"2026-10-02T11:39:55","slug":"an-experience-with-glm-5-3","status":"publish","type":"post","link":"https:\/\/blog.chataignon.org\/joseph\/post-207\/an-experience-with-glm-5-3\/","title":{"rendered":"An experience with GLM 5.3"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Context<\/h4>\n\n\n\n<p>Last year I had formed a project of making web animations to explain the unintuitive aspects of high-dimensional spaces. I was inspired by the impressive demo of <a href=\"https:\/\/animejs.com\/\">anime.js<\/a>, a presentation given by <a href=\"https:\/\/www.imsv.unibe.ch\/about_us\/staff\/prof_dr_duembgen_lutz\/index_eng.html\">prof. Lutz D\u00fcmbgen<\/a> at the University of Bern, and the fact that I often struggled to get the right intuitions when reasoning about what goes on in the high-dimensions spaces of neural networks. So I met with a math professor (I work at a university), and together we worked out a few theorems and properties that fit with this topic. And then&#8230;<\/p>\n\n\n\n<p>Nothing happened. The reality of my PhD caught back to me, I realized I didn&rsquo;t have enough time to allocate to that project at the moment, and so I shelved it. I do not work much on front-end, so, even though early-2025 AI tools could help bridge the gap of my unfamiliarity, there remained the work of designing the visualisations. That was too much for me at the time.<\/p>\n\n\n\n<p>Fast-forward to last Wednesday. I see impressive demos of Claude one-shotting complex applications, and <a href=\"https:\/\/www.anthropic.com\/research\/glm-5-3-and-the-spread-of-advanced-cyber-capabilities\">praise for GLM 5.3<\/a> as being almost SOTA. Coincidentally, GLM 5.3 was immediately made available through Mistral API which I had chosen (I like open-source models) to use in a Pi instance (I like open-source software too). So, I decided to test its capability on the shelved project from last year.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Project<\/h4>\n\n\n\n<p>I dictated one prompt in Pi and left it to work for a dozen of minutes, and I was really impressed with the result&#8230; Not only the ideas of what to represent were good, but the execution was excellent too.<\/p>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>the prompt <\/summary>\n<p><em><mark class=\"has-inline-color has-ast-global-color-2-color\">I want you to make a single page application with a few visualizations to help people have a better understanding of high dimensions geometry, especially the points where high dimensions operate in a different manner than low&nbsp;dimensions. For example the fact that a sphere in high dimensions has most of its weight on the surface and almost nothing in the center, things like that. So, first think of a few properties of this kind that high dimensions have and then for each of those try to think of a way to make it understandable and to help people visualize it and then execute on these visualizations. The whole thing should be in a single HTML file, so you can have separate CSS and JavaScript on the side. But in the end it should be just one page. And the main point is for it to help the understanding.<\/mark><\/em><\/p>\n<\/details>\n\n\n\n<h5 class=\"wp-block-heading\">Ideas<\/h5>\n\n\n\n<p>The agent produced 5 ideas of unintuitive principles to represent; all of which were on the list I had made over a year before. Not only that, but it also had ideas of how to represent these principles, which I hadn&rsquo;t worked on.<\/p>\n\n\n\n<p>The caveat is that the visualisations were not easy to understand, even for me who had the topic. So I needed a few follow-up prompts to make it add 3D animations to make the whole thing more intuitive. I also gave it the other ideas I had listed, for the agent to make visualisations of them too.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Execution<\/h5>\n\n\n\n<p>The agent built it all with HTML, CSS and JavaScript, and it worked on the first try. It had no bugs and was aesthetically good-looking. Even the visualization settings and little scrolling animations worked flawlessly, while I know I would have needed painstaking sessions of debugging.<\/p>\n\n\n\n<p>It was also not the purple gradient style that we got used to associating with AI outputs. Instead, it made clear and readable text and figures, with the right amount of color to make things pretty but not distracting.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Conclusion<\/h4>\n\n\n\n<p>I was really impressed at the speed and quality I obtained with this Pi + GLM5.3 combination, and how little supervision it needed. The cost of tokens was very low too (around ~$2). I ended up working a few hours more on this project, and I didn&rsquo;t look at the code even once.<\/p>\n\n\n\n<p>After a few more iterations to improve the app, I made it available online with GitLab Pages (it fits in a single HTML page): <a href=\"https:\/\/jchataigne.gitlab.io\/h-dim\/\">https:\/\/jchataigne.gitlab.io\/h-dim\/<\/a><\/p>\n\n\n\n<p>source code: <a href=\"https:\/\/gitlab.com\/JChataigne\/h-dim\">https:\/\/gitlab.com\/JChataigne\/h-dim<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Context Last year I had formed a project of making web animations to explain the unintuitive aspects of high-dimensional spaces. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[17,30],"tags":[],"class_list":["post-207","post","type-post","status-publish","format-standard","hentry","category-llm","category-project"],"_links":{"self":[{"href":"https:\/\/blog.chataignon.org\/joseph\/wp-json\/wp\/v2\/posts\/207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chataignon.org\/joseph\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chataignon.org\/joseph\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chataignon.org\/joseph\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chataignon.org\/joseph\/wp-json\/wp\/v2\/comments?post=207"}],"version-history":[{"count":7,"href":"https:\/\/blog.chataignon.org\/joseph\/wp-json\/wp\/v2\/posts\/207\/revisions"}],"predecessor-version":[{"id":219,"href":"https:\/\/blog.chataignon.org\/joseph\/wp-json\/wp\/v2\/posts\/207\/revisions\/219"}],"wp:attachment":[{"href":"https:\/\/blog.chataignon.org\/joseph\/wp-json\/wp\/v2\/media?parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chataignon.org\/joseph\/wp-json\/wp\/v2\/categories?post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chataignon.org\/joseph\/wp-json\/wp\/v2\/tags?post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}