We report on ab initio calculations of the two-dimensional systems ${\text{MoS}}_{2}$ and ${\text{NbSe}}_{2}$, which recently were synthesized. We find that two-dimensional ${\text{MoS}}_{2}$ is a semiconductor with a gap which is rather close to that of the three-dimensional analog, and that ${\tex...