Skip to content

Instantly share code, notes, and snippets.

@loretoparisi
Created October 18, 2018 14:25
Show Gist options
  • Save loretoparisi/ac5e00a397bd3bfb07f8f60d987c1d94 to your computer and use it in GitHub Desktop.
Save loretoparisi/ac5e00a397bd3bfb07f8f60d987c1d94 to your computer and use it in GitHub Desktop.
TF-JS metadata example
{"max_decoder_seq_length": 78, "input_token_index": {"é": 77, "€": 80, "’": 79, "ç": 76, "‘": 78, "!": 1, " ": 0, "\"": 2, "%": 4, "$": 3, "'": 6, "&": 5, "-": 8, ",": 7, "/": 10, ".": 9, "1": 12, "0": 11, "3": 14, "2": 13, "5": 16, "4": 15, "7": 18, "6": 17, "9": 20, "8": 19, ":": 21, "?": 22, "A": 23, "C": 25, "B": 24, "E": 27, "D": 26, "G": 29, "F": 28, "I": 31, "H": 30, "K": 33, "J": 32, "M": 35, "L": 34, "O": 37, "N": 36, "Q": 39, "P": 38, "S": 41, "R": 40, "U": 43, "T": 42, "W": 45, "V": 44, "Y": 47, "X": 46, "Z": 48, " ": 75, "a": 49, "c": 51, "b": 50, "e": 53, "d": 52, "g": 55, "f": 54, "i": 57, "h": 56, "k": 59, "j": 58, "m": 61, "l": 60, "o": 63, "n": 62, "q": 65, "p": 64, "s": 67, "r": 66, "u": 69, "t": 68, "w": 71, "v": 70, "y": 73, "x": 72, "z": 74}, "max_encoder_seq_length": 32, "target_token_index": {"‘": 103, " ": 2, "$": 5, "(": 9, "«": 80, ",": 12, "0": 15, "4": 19, "8": 23, "»": 81, "D": 30, "Ç": 83, "H": 34, "L": 38, "P": 42, "T": 46, "X": 50, "d": 56, "ç": 89, "h": 60, "ë": 93, "l": 64, "ï": 95, "p": 68, "t": 72, "x": 76, "û": 98, "​": 102, " ": 79, "'": 8, "+": 11, " ": 106, "3": 18, "7": 22, "?": 26, "À": 82, "C": 29, "G": 33, "K": 37, "O": 41, "S": 45, "Ô": 86, "W": 49, "à": 87, "c": 55, "g": 59, "è": 90, "k": 63, "…": 105, "o": 67, "s": 71, "ô": 96, "w": 75, "\n": 1, "\"": 4, "&": 7, ".": 14, " ": 101, "2": 17, "6": 21, ":": 25, "B": 28, "F": 32, "É": 84, "J": 36, "N": 40, "R": 44, "V": 48, "Z": 52, "b": 54, "f": 58, "é": 91, "j": 62, "n": 66, "r": 70, "v": 74, "ù": 97, "z": 78, "\t": 0, "’": 104, "!": 3, "%": 6, ")": 10, "-": 13, "1": 16, "5": 20, "9": 24, "‽": 107, "A": 27, "С": 100, "E": 31, "I": 35, "Ê": 85, "M": 39, "Q": 43, "œ": 99, "U": 47, "Y": 51, "a": 53, "â": 88, "e": 57, "i": 61, "ê": 92, "m": 65, "î": 94, "q": 69, "u": 73, "y": 77}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment