Host gpt2 model in a browser

I don’t think so. Only way is to use tflite model, which is not easy to get converted forvauto regressive tasks.