6 ms·
Hi, after gathering the model and tokenizer, you can use the generic huggingface tutorial for text generation: https://huggingface.co/blog/how-to-generate https
by mbien 6y ago
Hi, after gathering the model and tokenizer, you can use the generic huggingface tutorial for text generation: https://huggingface.co/blog/how-to-generate https://huggingface.co/blog/how-to-generate
We use custom control tokens, so you have to provide the specific structure of the recipe, simply typing it in the huggingface prompt won't work. The details are available in our papers about the solution.
- desmap 6y ago> in our papers A link would be kind.
- mbien 6y agoShort version: https://www.aclweb.org/anthology/2020.inlg-1.4.pdf https://www.aclweb.org/anthology/2020.inlg-1.4.pdf Long version: https://www.researchgate.net/publication/345308878_Cooking_recipes_generator_utilizing_a_deep_learning-based_language_model https://www.researchgate.net/publication/345308878_Cooking_r... They're both in README.md