blink

blink

Send text or JSON state with typed questions. Each question gets a probability for every offered option from one forward pass. No generated text.

Try it in the SpaceOpen the Space to try blink or use its API tab.Call the APIFollow the API guide to send noul, choice, and score questions.Give it to your agentCopy the blink skill, then follow the agent experience guide.
1StateA ticket, an email,a document, a row of JSON2Questionschoice · noul · scorewith your own criteria3Read optionsone forward passper batch4Probabilitiesnormalised over theoptions you offeredNo text is generated. Every offered option gets a probability.Large requests may need more than one batch.
  1. 1StateA ticket, an email, a document, a row of JSON
  2. 2Questionschoice · noul · score with your own criteria
  3. 3Read optionsone forward pass per batch
  4. 4Probabilitiesnormalised over the options you offered

No text is generated. Every offered option gets a probability.

Large requests may need more than one batch.

Probabilities are over the offered options only, not certified chances of being right.

Quickstart

sh
pip install "torch==2.13.0" "transformers==5.17.0" "flash-linear-attention==0.5.2" "accelerate>=1.1.0" safetensors huggingface_hub
hf download thegovind/blink-4b --revision v1.2 --local-dir blink-4b
python blink-4b/serve.py --model ./blink-4b --port 8000

Code: Apache-2.0. Weights: non-commercial research and evaluation only; see each model card's license.