USCG recceived a report of a fire onboard a vessel five NM offshore Pt Loma.  The CG was able to extinguish the fire and good samaritans were able to rescue the two people onboard who had escaped in a dinghy.  The cause of the fire was deemed to be electrical in nature.