We study to classify, up to isomorphism, algebras over a field k such that the radical cubed is zero and modulo the radical is a product of copies of k. The number of local quasi-Frobenius k-algebras with the condition is shown to be not less than the cardinality of k. In particular, the canonical forms of those algebras of dimension 5 are presented and their isomorphism classes are completely determined under some conditions on k.