fixed generated_from_model.py

to exponentiate read beta