Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

Numerical Methods for Modeling

Keep the direction when the encoder changes scale

Coding challenges

The first length calculation becomes infinite

A new encoder changes numerical scale and breaks the normalization Botie used for retrieval.

BOTIE

Which part of the earlier construction lost the direction?
The inputs we are comparing

Encoder coordinates for one document

Original encoder

  1. 03
  2. 14

The new encoder’s range trips direct squaring

  1. 03e+200
  2. 14e+200
Result for original encoder
  1. 00.6
  2. 10.8
Choose an explanation to test
A signed embedding arrives at an even larger scale

This check uses the pieces from “Protect the products before they are formed”.

BOTIE

Botie receives [0,-5e250]. Predict the direction before running the repaired graph. Neither the sign nor the zero coordinate should disappear.
Encoder coordinates for one document
  1. 00
  2. 1-4.9999999999999996e+250

Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.

Build a construction in the workspace above first. This case will test those pieces.

What other failure could remain even after every output direction has length one?

Keep encoder compatibility and retrieval relevance as separate checks from numerical range.

The workshop follows small finite binary64 vectors and deliberately returns zeros for an all-zero input. A caller must decide whether a document with that outcome should enter retrieval.

Continue the courseA Perfect Fit Left Two Different Answers →
← The Policy Works in One Simulator Setting