Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [spancat]

The tag has no usage guidance.

spancat
0 votes
0 answers
27 views

spacy-llm & SpanCat for address parsing

I'm currently developing a project to standardize and correct a dataset of inconsistently formatted addresses using spaCy-LLM and spaCy.SpanCat.v3. The goal is to train a model on examples of ...
Hammad Javaid's user avatar
0 votes
0 answers
223 views

Training spancat component for spacy en_core_web_trf model in prodigy: getting a KeyError: "[E001] No component 'tok2vec' found in pipeline

I want to use the pretrained spacy en_core_web_trf model with the "ner" component, add "spancat" component and train it with the labelled data using prodigy. However, after running ...
Darias's user avatar
  • 1
0 votes
0 answers
32 views

E893 Could not find function 'spacy.MLflowLogger.v2'

I'm training a Spacy CLI spancat model. I'm trying to log the parameters and scores using ML flow. I added the following to the config file, but I'm getting an error message. This is the Spacy version ...
cps's user avatar
  • 13
0 votes
1 answer
154 views

SpaCy SpanCategorizer - zero score using Span Ruler

I am using the below preprocessing script to create annotations from my pattern which the model will then be trained on. Although data debug evaluates all data as valid and containing annotated spans, ...
GOONhoon's user avatar
3 votes
0 answers
406 views

SpaCy Spancat Model is Not Making Predictions

I have trained a spancat model in spacy, it was trained successfully. Now when I run it on test data, it doesn't make any predictions. Here are the training results: This is how I am doing the ...
user21351798's user avatar
3 votes
0 answers
91 views

Output multiple possible tags with spaCy spancat

The problem I'm working on involves span categorisation with spaCy, however some of the tags are ambiguous, e.g. span1 => 60% tag1, 40% tag2 I'm trying to figure out if there is a way to get Spacy'...
alex's user avatar
  • 31
0 votes
0 answers
49 views

how to add weightage to spacy spans?

Let's say I'm adding specific food product separated by commas. Eg : The ingredients in tomato soup is tomatoes, salt, pepper. You need to heat the tomatoes till it smells like burnt apples. Now by ...
jason's user avatar
  • 3,952
0 votes
0 answers
108 views

spaCy SpanCategorizer performance improvement

dear community, How much has the spanCategorizer improved your models? I am curious. I have been using the textcat for categorizing text with a recall of about 85%. I wonder how much applying a ...
Paola's user avatar
  • 47
1 vote
1 answer
520 views

Why do I need to specify vectors (en_core_web_lg) in spacy config file when I run model training using blank model?

Here is the start of my config file: # This is an auto-generated partial config. To use it with 'spacy train' # you can run spacy init fill-config to auto-fill all default settings: # python -m spacy ...
SteveS's user avatar
  • 3,960