To retrieve the product attribute set name, I just create this function on the product class
public function getAttributeSetName()
{
$attributeSetModel = Mage::getModel("eav/entity_attribute_set");
$attributeSetModel->load($this->getAttributeSetId());
return $attributeSetModel->getAttributeSetName();
}