"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "f5e8c9bdeab96c3426583cf1aa572ce7ede8a070"
Unverified Commit 5c702175 authored by Li-Huai (Allan) Lin's avatar Li-Huai (Allan) Lin Committed by GitHub
Browse files

up (#18805)

parent da02b403
...@@ -226,7 +226,7 @@ class EntitySpanClassificationOutput(ModelOutput): ...@@ -226,7 +226,7 @@ class EntitySpanClassificationOutput(ModelOutput):
Args: Args:
loss (`torch.FloatTensor` of shape `(1,)`, *optional*, returned when `labels` is provided): loss (`torch.FloatTensor` of shape `(1,)`, *optional*, returned when `labels` is provided):
Classification loss. Classification loss.
logits (`torch.FloatTensor` of shape `(batch_size, config.num_labels)`): logits (`torch.FloatTensor` of shape `(batch_size, entity_length, config.num_labels)`):
Classification scores (before SoftMax). Classification scores (before SoftMax).
hidden_states (`tuple(torch.FloatTensor)`, *optional*, returned when `output_hidden_states=True` is passed or when `config.output_hidden_states=True`): hidden_states (`tuple(torch.FloatTensor)`, *optional*, returned when `output_hidden_states=True` is passed or when `config.output_hidden_states=True`):
Tuple of `torch.FloatTensor` (one for the output of the embeddings + one for the output of each layer) of Tuple of `torch.FloatTensor` (one for the output of the embeddings + one for the output of each layer) of
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment