diff options
| author | zhang <zch921005@126.com> | 2022-10-23 12:29:15 +0800 |
|---|---|---|
| committer | zhang <zch921005@126.com> | 2022-10-23 12:29:15 +0800 |
| commit | 3c2d5d232372b8f917b67be94551c8faf0754cb7 (patch) | |
| tree | b42c1597594c1a1b3553e2c33c15cdb413cae931 /fine_tune/bert/tutorials | |
| parent | ac417d589dab99adf657eb37de8fe2b69e933b42 (diff) | |
bert pooler output
Diffstat (limited to 'fine_tune/bert/tutorials')
| -rw-r--r-- | fine_tune/bert/tutorials/08_bert_head_pooler_output.py | 1 |
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') - |
