The procedure for a radio failure during an IFR departure is to:
Land at the nearest suitable aerodrome.
Maintain the last cleared level for 3 minutes and then to continue in accordance with the current flight plan.
Make blind transmissions along the planned route to your destination.
Switch to visual signalling.