diamond in the rough

[diamond in the rough] {n. phr.} A very smart person without a formal education who may have untutored manners.

Jack never went to school but he is extremely talented; he is a veritable diamond in the rough.