Revert "changed the way of pickling model"

This reverts commit e8d1d01057dfe25b27e1015c03e47b64ed9b13a2.

Conflicts:
	tune.py