Lots of good advice in the answers already, but one additional factor to consider: the next time you apply for a position, you will almost certainlyquite possibly be asked for a reference from your most recent supervisor.
If you leave this situation ASAP, you will have the option of saying "I was only there for two weeks, I suggest talking to my previous supervisor instead."
OTOH, if you tough it out for two years - or even a few months - this abusive supervisor will almost certainly be writing the reference that you take to your next job application. This might not be a good thing.