Inflation shows signs of slowing as prices for some commodities decline