Team Ai
Apppublic

HyperlinksSpace/TinyModel1Space

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
App README

TinyModel1Space

Universal Brain is a text chat demo: plain-language routing, a small instruct LM (default SmolLM2-360M-Instruct, override `HORIZON2_MODEL`), TinyModel1 encoder (model card · HyperlinksSpace/TinyModel1), FAQ hybrid RAG, scoped SQLite memory, optional Google web search, plus 40+ embedded prompt signals detected from long messages.

Try it: type naturally or `/help` · say Show the brain trace · scroll below the chat to Testing embedded prompt signals.

What you can doHow
Chat & toolsSummarize, rewrite, grounded Q&A, FAQ search, classify (4 topics), similarity, embeddings, nearest match, memory — via routing or `/summarize`, `/retrieve`, `/web`, …
Web (optional)`GOOGLE_CSE_API_KEY` + `GOOGLE_CSE_CX` secrets → live snippets with [Web n] cites
MemoryRemember / list / export notes; Start a new private session for demo isolation
Session controlsShort phrases: Be brief, Strict FAQ, Use bullet points, Reset reply style, … (persist; see `/help`)
Embedded signalsLong questions: pros and cons, in Spanish, code only, rank options, Mermaid diagram, STAR format, don't mention X, … → footer `prompt_signals:`

Full reference: https://github.com/HyperlinksSpace/TinyModel/blob/main/texts/universal-brain-capabilities.md · Repo: https://github.com/HyperlinksSpace/TinyModel · App: https://hyperlinksspace-tinymodel1space.hf.space

Not supported: images/audio/video; guaranteed factual accuracy on hard reasoning; private multi-tenant auth on the public demo scope.

Secrets (recommended)

  • —`HF_TOKEN` — reliable Hub downloads for generative + encoder weights.
  • —`GOOGLE_CSE_API_KEY` + `GOOGLE_CSE_CX` — Google Custom Search (web in chat).

Optional environment

  • —`HORIZON2_MODEL` — generative instruct model id.
  • —`NO_AUTO_WEB` — 1 / true / on disables automatic chat→web upgrades (router + /web still work).

Startup

First CPU boot may take several minutes (two models). Use a GPU Space or a smaller `HORIZON2_MODEL` for faster replies.