MCPcopy Index your code
hub / github.com/thunlp/OpenPrompt / 1.4_soft_template.py

File 1.4_soft_template.py

tutorial/1.4_soft_template.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from tqdm import tqdm
2from openprompt.data_utils import PROCESSORS
3import torch
4from openprompt.data_utils.utils import InputExample

Callers

nothing calls this directly

Calls 15

set_seedFunction · 0.90
load_plmFunction · 0.90
FewShotSamplerClass · 0.90
SoftTemplateClass · 0.90
ManualVerbalizerClass · 0.90
PromptDataLoaderClass · 0.90
get_labelsMethod · 0.80
cudaMethod · 0.80
trainMethod · 0.80
saveMethod · 0.80
evaluateFunction · 0.70

Tested by

no test coverage detected