# RASA Interpreter is slow (PYTHON)

**URL:** <https://forum.rasa.com/t/rasa-interpreter-is-slow-python/29990>\
**Category:** Rasa Open Source\
**Created:** [June 9, 2020, 11:59am UTC](https://forum.rasa.com/t/rasa-interpreter-is-slow-python/29990 "2020-06-09T11:59:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcharbonnier](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@mcharbonnier](https://forum.rasa.com/u/mcharbonnier)\
**Post date:** [June 9, 2020, 11:59am UTC](https://forum.rasa.com/t/rasa-interpreter-is-slow-python/29990/1 "2020-06-09T11:59:52Z")

</div>

Hello everyone,

Thank you, RASA is a really great tool, and has perfectly done what I wanted to do.

I only need to classify word (so I’m using NLU model only). I wanted to know how to perform a prediction on a sentence in less than 5 sec.

Currently, I’m using:

> def rasa\_test(texte): interpreter = Interpreter.load(‘./models/e5/nlu’) return interpreter.parse(texte)[‘intent\_ranking’]

Is there a way to improve velocity? Maybe I can preload the model

Thank you

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [June 11, 2020, 11:38am UTC](https://forum.rasa.com/t/rasa-interpreter-is-slow-python/29990/2 "2020-06-11T11:38:41Z")

</div>

Yes, it seems like you don’t need to load the interpreter each time, you could load it at the beginning of your script or on server startup and pass the loaded interpreter to the parse function
