Another thing is that torque is power. So torque to weight ratio is power to weight ratio. There is a simple formula to convert torque to horsepower or watts.
Also lighter vehicle (including rider or not) will have less resistance to speed (inertia) changes, thereby reducing the potential loss of friction.
But more powerful vehicle will always have more potential for mishaps. It might be nice if all bikes would come with a training mode where power will increase slowly. I remember when I was going from 50cc to bigger bikes a friend of my fathers (who had some racing experience) said "roll the throttle open, don't snap it open", "feel the power increase and sense the grip", "while riding be aware of all your environment all the time", "train yourself accelerating and doing emergency stops on different surfaces". He said some more stuff that I have forgotten but I have tried to follow most of that and (except for one time when I was nearly frozen on the bike, rode over some wet fallen leaves and lost the front) have never had an accident.