summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhang <zch921005@126.com>2022-10-23 12:29:15 +0800
committerzhang <zch921005@126.com>2022-10-23 12:29:15 +0800
commit3c2d5d232372b8f917b67be94551c8faf0754cb7 (patch)
treeb42c1597594c1a1b3553e2c33c15cdb413cae931
parentac417d589dab99adf657eb37de8fe2b69e933b42 (diff)
bert pooler output
-rw-r--r--fine_tune/bert/tutorials/08_bert_head_pooler_output.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/fine_tune/bert/tutorials/08_bert_head_pooler_output.py b/fine_tune/bert/tutorials/08_bert_head_pooler_output.py
index 7858bd1..07f18fd 100644
--- a/fine_tune/bert/tutorials/08_bert_head_pooler_output.py
+++ b/fine_tune/bert/tutorials/08_bert_head_pooler_output.py
@@ -9,4 +9,3 @@ bert = BertModel.from_pretrained(model_type)
tokenizer = BertTokenizer.from_pretrained(model_type)
inputs = tokenizer(text, return_tensors='pt')
-