Assume that your curve is differentiable enough. If you know the binormal unit vector $B(s)$, then the Frenet-Serret formulas tell you that $B'(s) = -\tau(s) N(s)$ and so you can recover the absolute value of the torsion as $|\tau(s)| = ||B'(s)||$.
If the torsion is zero, then all you can deduce is that the curve lies on a plane whose normal is $B(s)$ (which is constant). If the torsion is everywhere non-zero, you can reconstruct you the normal vector (up to a sign) as $N(s) = \frac{B'(s)}{||B'(s)||}$. Using Frenet-Serret again, we have
$$ k(s) = ||N'(s) - \left<N'(s), B(s) \right> B(s)||. $$