transformers-crf 0.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,19 @@
1
+ from transformers_crf.version import __version__
2
+ from transformers_crf.bert_crf import (
3
+ AutoModelForEmbedderCRFTokenClassification,
4
+ BertForEmbedderCRFTokenClassification,
5
+ RobertaForEmbedderCRFTokenClassification,
6
+ XLMRobertaForEmbedderCRFTokenClassification,
7
+ XLMRobertaXLForEmbedderCRFTokenClassification,
8
+ DebertaForEmbedderCRFTokenClassification,
9
+ DebertaV2ForEmbedderCRFTokenClassification,
10
+ ElectraForEmbedderCRFTokenClassification,
11
+ AlbertForEmbedderCRFTokenClassification
12
+ )
13
+ from transformers_crf.crf import CRF, CRFwithConstraints
14
+ from transformers_crf.tokenizer import CRFTokenizer
15
+ from transformers_crf.transformer_embedder import TransformerEmbedder
16
+ from transformers_crf.trainer import CRFTrainer
17
+ from transformers_crf.data_collator import DataCollatorForTokenClassificationWithCRF
18
+ #from transformers_crf.ort_model import ORTModelForEmbedderCRFTokenClassification, BertCRFOnnxConfig
19
+ from transformers_crf.util import get_tokens_mask, encode_tokens_hf