The number of relations from a set \( A \) to a set \( B \) is given by:
\[
n(A) \times n(B)
\]
We are given that \( n(A) = 7 \) and the number of relations is 128. Therefore, we have:
\[
7 \times n(B) = 128
\]
Solving for \( n(B) \):
\[
n(B) = \frac{128}{7} = 16
\]
Thus, \( n(B) = 16 \). Hence, the correct answer is \( 16 \).