EnglishRoberta.IdToToken(Int32, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Map the tokenized Id to the token.
public override string? IdToToken (int id, bool skipSpecialTokens = false);
override this.IdToToken : int * bool -> string
Public Overrides Function IdToToken (id As Integer, Optional skipSpecialTokens As Boolean = false) As String
Parameters
- id
- Int32
The Id to map to the token.
- skipSpecialTokens
- Boolean
Indicate if want to skip the special tokens during the decoding.
Returns
The mapped token of the Id.