You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current documentation is slightly confusing regarding the use of the pooling_layer argument. For example, the documentation states:
pooling_layer
list
[-2]
the encoding layer that pooling operates on, where -1means the last layer, -2 means the second-to-last, [-1, -2] means concatenating the result of last two layers, etc.
However, upon some testing the only correct way to launch the server with concatenation is as follows:
bert-serving-start ... -pooling_layer -4 -3 -2 -1
The documentation would lead one to believe this is passed as a list, but in fact it is an int with nargs='+'. Perhaps consider updating the documentation to make this more clear?
The text was updated successfully, but these errors were encountered:
bert-as-service
?README.md
?README.md
?Description
The current documentation is slightly confusing regarding the use of the
pooling_layer
argument. For example, the documentation states:However, upon some testing the only correct way to launch the server with concatenation is as follows:
bert-serving-start ... -pooling_layer -4 -3 -2 -1
The documentation would lead one to believe this is passed as a list, but in fact it is an int with
nargs='+'
. Perhaps consider updating the documentation to make this more clear?The text was updated successfully, but these errors were encountered: