MCPcopy Index your code
hub / github.com/thunlp/OpenPrompt / 3.1_LMBFF.py

File 3.1_LMBFF.py

tutorial/3.1_LMBFF.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# %% [markdown]
2# ## Text Classification with LM-BFF.
3# In this tutorial, we do sentiment analysis with automatic template and verbalizer generation. We use SST-2 as an example.
4

Callers

nothing calls this directly

Calls 15

SST2ProcessorClass · 0.90
load_plmFunction · 0.90
ManualVerbalizerClass · 0.90
T5TemplateGeneratorClass · 0.90
PromptDataLoaderClass · 0.90
ManualTemplateClass · 0.90
fitFunction · 0.85
cudaMethod · 0.80
_register_bufferMethod · 0.80

Tested by

no test coverage detected