No, it did not: it doesn't know what s, m, kg or any other unit means.  It actually learned about **quantifiers**, not units.