Hacker GitHub

← All repos

gsuuon/ad-llama

View on GitHub ↗ ★ 51 TypeScript

Structured inference with Llama 2 in your browser

8 mentions on Hacker News by 1 person: 0 stories, 8 comments · first 2023-08-15 · latest 2024-07-08

Mentions per year 8 mentions · busiest year 2023 (7)
20082026
  1. This is (well -- ad-libs) what I based the name of my fill-in-the-blank-with-llm ts library on https://github.com/gsuuon/ad-llama/
  2. …logits before sampling. [1] https://github.com/ggerganov/llama.cpp#constrained-output-wi... [2] https://github.com/gsuuon/ad-llama (mine)
  3. …a conversation, or an action json. And of course, no token limits since it runs client-side. [1] https://github.com/gsuuon/ad-llama [2] https://github.com/gsuuon/ad-llama/tree/murder-mystery-solid...
  4. …biased sampling, I don't see how you can get it to continue a partially completed inference. [1] https://github.com/gsuuon/ad-llama
  5. I'm hacking on a library ( https://github.com/gsuuon/ad-llama ) inspired by guidance, but in TS and for the browser. I think structured inference and controlled sampling are really good ways of getting consistent responses out of LLM's. It…
  6. …occur to me that text-adventure game engines exist, I was apparently re-inventing the wheel. [1] https://github.com/gsuuon/ad-llama [2] https://ad-llama.vercel.app/murder/
    comment by gsuuon · 2023-09-12 · in Simulating History with ChatGPT
  7. Yup, I'm building a library that runs LLM's in browser with tagged template literals: https://github.com/gsuuon/ad-llama I think it has fundamental DX benefits over python for complex prompt chaining (or I wouldn't be building it!) Even…
  8. …a really interesting approach to guided sampling! I'm hacking on a structured inference library ( https://github.com/gsuuon/ad-llama ) - I also tried to add a vocab preprocessing step to generate a valid tokens mask (just with regex or…