From 3c2d5d232372b8f917b67be94551c8faf0754cb7 Mon Sep 17 00:00:00 2001 From: zhang Date: Sun, 23 Oct 2022 12:29:15 +0800 Subject: bert pooler output --- fine_tune/bert/tutorials/08_bert_head_pooler_output.py | 1 - 1 file changed, 1 deletion(-) (limited to 'fine_tune') 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') - -- cgit v1.2.3