Using SpaCy LLM to generate regular text #314
-
I understand it might not necessarily be the point of the repo, but I'm working on a project where I want to use a few |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @harryjulian, this is more of a discussion than an issue, let me convert this. |
Beta Was this translation helpful? Give feedback.
-
You could have a look at the implementation of |
Beta Was this translation helpful? Give feedback.
You could have a look at the implementation of
spacy.Summarization.v1
. In a nutshell you'd have to define your own task (you can copy the implementation of the summarization task for the most part) and your own prompt - instructing the LLM what text to generate. This text you can then store in e. g. your docs_
attribute.