Text this: Adaptive transformer modelling of density function for nonparametric survival analysis.