An employee was attempting to raise the tongs up off the rig floor with a hoist when a safety pin became hung on the floor grating. The employee had his hand on the tongs while trying to see what they were hung up on. At that time, the tongs came free from the floor grating and caught the employee's left pinky finger between the tong body and mid rail resulting in amputation.