Im always forgetting how to use Patching and Mocking in python, so created a small MWE to remind myself of how to do it. Turns out it can do more than I thought.
Just posting her in case anyone else is always forgetting and needs a reference.
69 karma · joined March 28, 2022
Just posting her in case anyone else is always forgetting and needs a reference.
- I wanted to see if I could, I hadn't done any NLP before :) - Some ingredient strings can be complex or contain multiple quantities/ingredients e.g. "3 1/2 cups icing sugar, plus 1/2 cup for dusting". "3 ripe avocados or guacamole" - I am interested to see what can be done with the ingredient embedding, perhaps for ingredient substitution - Hopefully the ML algorithm can learn to identify the unit and quantity based on context rather than a fixed list of ingredients