Today | News | Books | Recipes GitHub - kyle-pena-nlp/jevchat: Turns Jev into a chatbot · GitHub GitHub - kyle-pena-nlp/jevchat: Turns Jev into a chatbot · GitHub Sign in Appearance settings Platform AI CODE CREATION GitHub CopilotWrite better code with AI GitHub Copilot appDirect agents from issue to merge MCP RegistryIntegrate external tools DEVELOPER WORKFLOWS ActionsAutomate any workflow CodespacesInstant dev environments IssuesPlan and track work Code ReviewManage code changes Code QualityEnforce quality at merge APPLICATION SECURITY GitHub Advanced SecurityFind and fix vulnerabilities Code securitySecure your code as you build Secret protectionStop leaks before they start Solutions BY COMPANY SIZEEnterprises Small and medium teams BY USE CASEApp Modernization BY INDUSTRYHealthcare Resources EXPLORE BY TOPICAI Software Development EXPLORE BY TYPECustomer stories SUPPORT & SERVICESDocumentation Open Source COMMUNITY GitHub SponsorsFund open source developers PROGRAMSSecurity Lab Maintainer Community Enterprise ENTERPRISE SOLUTIONS Enterprise platformAI-powered developer platform AVAILABLE ADD-ONS GitHub Advanced SecurityEnterprise-grade security features Copilot for BusinessEnterprise-grade AI features Premium SupportEnterprise-grade 24/7 support Sign up Appearance settings Code Open more actions menu NameNameLast commit message Repository files navigation jevchat turns that into a chat model. At every step it asks Jev one question: Given the user's question and the reply written so far, which symbol comes next? The options are an alphabet plus an option to stop emitting. Jev returns a probability for each There are several alphabets (including truncated token lists) and sampling strategies available. The idea is for fun, the cost is somewhat impractical, and the results are hilarious. This was a Claude accelerated experiment. I described the sampling algorithms, strategies, and so on, and it implemented them. Put your Jev key in .env next to pyproject.toml (git-ignored): JEV_API_KEY and TYPESAFE_API_KEY are also accepted. Values in .env win over poetry run jevchat # interactive chat The reply appears as it is sampled, in a panel with a live readout of the Ctrl-C cancels. The first press stops generation once the in-flight request Chat commands: /help, /alphabet [name], /temp <v>, /stop-bias <v>, Two things are swappable: how the distribution over the next symbol is choice asks one question over the whole alphabet. bisect sorts the alphabet # choice - one question over the whole alphabet (the default) # ...without the re-ordering that cancels Jev's position bias (worst mode) # ...averaging 4 re-orderings, sent as 4 parallel questions in one request # bisect - earlier/later down to groups of 20, each split asked both ways # ...cheaper: bigger groups, each split asked once # buckets - the alphabet split across many questions, each with an OTHER escape. # refine - buckets, then a question over the winners, then a rescored nucleus. # hypothesis - options are the resulting texts (the default) Links
Browse another page: |