cisco / mindmeld

An Open Source Conversational AI Platform for Deep-Domain Voice Interfaces and Chatbots.
http://mindmeld.com
Apache License 2.0
677 stars 186 forks source link

Fix import statements for torch in neural model files #415

Closed vrdn-23 closed 2 years ago

vrdn-23 commented 2 years ago

With the introduction of a PyTorch based CRF (https://github.com/cisco/mindmeld/pull/413), the torch library is now a required dependency for mindmeld. This means we can now clean up the try-except import torch statements found across the neural networks files in Mindmeld.

This was first raised as a comment here.