2 comments

  • amitav147 minutes ago
    This is cool! This summer I made something similar but in C++. The goal was to build an entire LLM, but I only got to neural networks. GitHub repo here: <a href="https:&#x2F;&#x2F;github.com&#x2F;amitav-krishna&#x2F;llm-from-scratch" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;amitav-krishna&#x2F;llm-from-scratch</a>. I have a few blogs on this project on my website (<a href="https:&#x2F;&#x2F;amitav.net&#x2F;building-lists.html" rel="nofollow">https:&#x2F;&#x2F;amitav.net&#x2F;building-lists.html</a>, <a href="https:&#x2F;&#x2F;amitav.net&#x2F;building-vectors.html" rel="nofollow">https:&#x2F;&#x2F;amitav.net&#x2F;building-vectors.html</a>, <a href="https:&#x2F;&#x2F;amitav.net&#x2F;building-matrices.html" rel="nofollow">https:&#x2F;&#x2F;amitav.net&#x2F;building-matrices.html</a> (incomplete)). I hope to finish that series eventually, but some other projects have stolen the spotlight! It probably would have made more sense to write it in Python because I had no C++ experience.
  • yunnpp39 minutes ago
    It&#x27;s alright, but a C version would be even better to fully grasp the implementation details of tensors etc. Shelling out to numpy isn&#x27;t particularly exciting.
    • butanyways34 minutes ago
      I agree! What NumPy is doing is actually quite beautiful. I was thinking of writing a custom c++ backend for this thing. Lets see what happens this year.