From Geometry, topology and physics by Nakahara, page 78:
Let $V=V(m,K)$ be a vector space with a basis $\left\{\mathbf{e}_i\right\}$ and let $g$ be a vector space isomorphism $g:V\to V^*$, where $g$ is an arbitrary element of GL$(m,K)$.
and it then goes on and uses this isomorphism to define the inner product between $a,b\in V$ as $g(a,b)=a^ig_{ji}b^j$.
Why is $g\in\text{GL}(m,K)$? And why is its representation $g:v^j\to g_{ij}v^j$?
There's no need to add confusion by picking a base.
Since $g$ is linear $V\to V^*$, we obtain the bilinear $$ V\times V\stackrel{(g,\operatorname{id})}\longrightarrow V^*\times V\stackrel{\operatorname{can.}}\longrightarrow K$$ As $g$ is an isomorphim, this bilinear form is non-degenerate: For each $v\ne 0$, $g(v)\ne 0$, hence $g(v)(w)\ne 0$ for some $w$, so $v\cdot w\ne 0$. And for each $v$, there exists $\phi\in V^*$ with $\phi(v)\ne 0$, so $g^{-1}\phi\cdot v\ne 0$.