Skip to content

Commit

Permalink
add mistral config
Browse files Browse the repository at this point in the history
  • Loading branch information
svlandeg committed Jan 22, 2024
1 parent c8914dc commit 4f30184
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tutorials/llm_clinical_trials/configs/ner_mistral.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[nlp]
lang = "en"
pipeline = ["llm"]
batch_size = 128

[components]

[components.llm]
factory = "llm"

[components.llm.model]
@llm_models = "spacy.Mistral.v1"
name = "Mistral-7B-v0.1"

[components.llm.task]
@llm_tasks = "spacy.NER.v2"
labels = ["PERSON", "LOCATION"]

0 comments on commit 4f30184

Please sign in to comment.