Skip to content

Instantly share code, notes, and snippets.

@fsndzomga
Created September 4, 2023 16:13
Show Gist options
  • Save fsndzomga/91f9213b987596ff3a379519f9a4896e to your computer and use it in GitHub Desktop.
Save fsndzomga/91f9213b987596ff3a379519f9a4896e to your computer and use it in GitHub Desktop.
Email config file
[nlp]
lang = "en"
pipeline = ["llm"]
[components]
[components.llm]
factory = "llm"
[components.llm.task]
@llm_tasks = "spacy.TextCat.v2"
labels = ["complaint", "reimbursement", "hospitalization", "dental", "vision", "maternity"]
[components.llm.model]
@llm_models = "spacy.GPT-3-5.v1"
config = {"temperature": 0.3}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment