MCPcopy Index your code
hub / github.com/thunlp/OpenPrompt / 1.2_soft_verbalizers.py

File 1.2_soft_verbalizers.py

tutorial/1.2_soft_verbalizers.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1
2from openprompt.data_utils.text_classification_dataset import AgnewsProcessor
3
4

Callers

nothing calls this directly

Calls 11

AgnewsProcessorClass · 0.90
FewShotSamplerClass · 0.90
load_plmFunction · 0.90
ManualTemplateClass · 0.90
PromptDataLoaderClass · 0.90
SoftVerbalizerClass · 0.90
cudaMethod · 0.80
get_train_examplesMethod · 0.45
get_test_examplesMethod · 0.45
wrap_one_exampleMethod · 0.45

Tested by

no test coverage detected