We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 660ef1b commit 9fccfaaCopy full SHA for 9fccfaa
lib/bumblebee/layers/transformer.ex
@@ -57,7 +57,6 @@ defmodule Bumblebee.Layers.Transformer do
57
:rotary_embedding,
58
:query_norm,
59
:key_norm
60
- :scale_attention_weights
61
]
62
63
opts =
lib/bumblebee/text.ex
@@ -385,6 +385,9 @@ defmodule Bumblebee.Text do
385
Note that we currently assume that the CLS token is the first token
386
in the sequence
387
388
+ * `:last_token_pooling` - takes the embedding for the last non-padding
389
+ token in each sequence
390
+
391
By default no pooling is applied
392
393
* `:embedding_processor` - a post-processing step to apply to the
0 commit comments