Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/allenai/scibert
/ types & classes
Types & classes
7 in github.com/allenai/scibert
⨍
Functions
49
◇
Types & classes
7
↳
Endpoints
2
Class
BertCrfTagger
The ``BertCrfTagger`` encodes a sequence of text with a ``Seq2SeqEncoder``, then uses a Conditional Random Field model to predict a tag for e
scibert/models/bert_crf_tagger.py:19
Class
BertTextClassifier
Implements a basic text classifier: 1) Embed tokens using `text_field_embedder` 2) Get the CLS token 3) Final feedforward layer
scibert/models/bert_text_classifier.py:16
Class
ClassificationDatasetReader
Text classification data reader The data is assumed to be in jsonlines format each line is a json-dict with the following keys: 'text',
scibert/dataset_readers/classification_dataset_reader.py:19
Class
DummyEncoder
A dummy seq2seq encoder that just returns its inputs as is. Parameters ---------- input_dim : ``int``, required. The inp
scibert/models/dummy_seq2seq.py:7
Class
EBMNLPDatasetReader
scibert/dataset_readers/ebmnlp.py:33
Class
PicoCrfTagger
Exactly like the CrfTagger in AllenNLP: https://github.com/allenai/allennlp/blob/master/allennlp/models/crf_tagger.py But differences in
scibert/models/pico_crf_tagger.py:19
Class
TextClassifier
Implements a basic text classifier: 1) Embed tokens using `text_field_embedder` 2) Seq2SeqEncoder, e.g. BiLSTM 3) Append the first an
scibert/models/text_classifier.py:15