MCPcopy Index your code
hub / github.com/ShannonAI/mrc-for-flat-nested-ner

github.com/ShannonAI/mrc-for-flat-nested-ner @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
131 symbols 440 edges 36 files 33 documented · 25%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Core symbols most depended-on inside this repo

set_random_seed
called by 7
utils/random_seed.py
pad
called by 6
datasets/mrc_ner_dataset.py
transform_predictions_to_labels
called by 5
metrics/functional/tagger_span_f1.py
get_labels
called by 5
datasets/tagger_ner_dataset.py
get_entity_from_bmes_lst
called by 4
metrics/functional/tagger_span_f1.py
load_data_in_conll
called by 3
datasets/tagger_ner_dataset.py
compute_loss
called by 3
train/bert_tagger_trainer.py
get_dataloader
called by 3
train/bert_tagger_trainer.py

Shape

Method 64
Function 47
Class 20

Languages

Python100%

Modules by API surface

train/mrc_ner_trainer.py17 symbols
train/bert_tagger_trainer.py17 symbols
tests/count_sequence_max_length.py11 symbols
models/classifier.py9 symbols
utils/bmes_decode.py6 symbols
datasets/tagger_ner_dataset.py6 symbols
datasets/mrc_ner_dataset.py6 symbols
metrics/functional/tagger_span_f1.py5 symbols
datasets/truncate_dataset.py5 symbols
tests/illegal_entity_boundary.py4 symbols
models/model_config.py4 symbols
metrics/functional/query_span_f1.py4 symbols

For agents

$ claude mcp add mrc-for-flat-nested-ner \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page