How to get attribute set name in Magento?

<?php

Mage::getModel(‘eav/entity_attribute_set’)->load($_product->getAttributeSetId())->getAttributeSetName();

?>