How to embedding a feature with many tags using '|'

hello ~~~
now ,i meet with a problem:
a feature named " user’s feature" with many tags like “married|22|studing…|urban”
many tags in one feature using " | "
the number of the tags may be 1000
i want to embeding the tags of the feature like

i read the doc of fastai ,i found that the example of fastai is one hot embedding.
can fastai embedding this feature with multi hot embedding like the picture ?

Did you figured out a workaround for this? I’m having the same problem. While you can split the features, and then perform something like a bag of words, the problem I’m can’t wrap my head around how to build a Databunch to use those features properly.