Both and neither. You'd be unacceptable to either side during such a conflict. You'd be seen as a corrupted piece of equipment to be reclaimed by the robots. The humans would be too wary that the mechanical body would become somehow the dominant part, thus warranting the destruction of your body.
Therefore your choices are:
1) Try going to a side and be eliminated.
2) Try to run and hide until the whole conflict is over.
3) Assuming that the robots cannot detect the living tissue within the robot, assist in destroying the robot army from the inside.
3a) Hope that you can convince the panicked and irrational human side after the war is over that you did indeed "help".
3b) After the downfall of the robot army, attempt to wipe out the human side as well and let the planet renew itself.
Could go on here with scenarios and options, but they are infinite.