Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
|
|
|
|
|
|
|
|
3 |
|
4 |
unmasker = pipeline('fill-mask', model="CCCC/ARCH_tuned_bert") #'bert-base-uncased')
|
5 |
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
+
from openprompt import PromptDataLoader
|
4 |
+
from openprompt.prompts import ManualVerbalizer
|
5 |
+
from openprompt.prompts import ManualTemplate
|
6 |
+
from openprompt import PromptForClassification
|
7 |
|
8 |
unmasker = pipeline('fill-mask', model="CCCC/ARCH_tuned_bert") #'bert-base-uncased')
|
9 |
|