{ "
This creates arithmetic addition problems and solutions with workings. We've only implemented addition so far.
\nIt's based on a character level tokenization.
\n": "\u3053\u308c\u306b\u3088\u308a\u3001\u7b97\u8853\u52a0\u7b97\u306e\u554f\u984c\u3068\u89e3\u6cd5\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u4eca\u306e\u3068\u3053\u308d\u3001\u8ffd\u52a0\u3092\u5b9f\u88c5\u3057\u305f\u3060\u3051\u3067\u3059\u3002
\n\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u30ec\u30d9\u30eb\u306e\u30c8\u30fc\u30af\u30f3\u5316\u306b\u57fa\u3065\u3044\u3066\u3044\u307e\u3059\u3002
\n", "We use the sampling function to evaluate the model on a set of problems
\n": "\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u4e00\u9023\u306e\u554f\u984c\u306b\u3064\u3044\u3066\u30e2\u30c7\u30eb\u3092\u8a55\u4fa1\u3057\u307e\u3059\u3002
\n", "\n": "\n", "
Code to test generated problems
\n": "\u751f\u6210\u3055\u308c\u305f\u554f\u984c\u3092\u30c6\u30b9\u30c8\u3059\u308b\u30b3\u30fc\u30c9
\n", "Decode a list of token ids
\n": "\u30c8\u30fc\u30af\u30f3 ID \u306e\u30ea\u30b9\u30c8\u3092\u30c7\u30b3\u30fc\u30c9\u3059\u308b
\n", "Encode a given string
\n": "\u4e0e\u3048\u3089\u308c\u305f\u6587\u5b57\u5217\u3092\u30a8\u30f3\u30b3\u30fc\u30c9\u3059\u308b
\n", "Generate multiple problems and pack them into a sequence.
\n": "\u8907\u6570\u306e\u554f\u984c\u3092\u751f\u6210\u3057\u3001\u305d\u308c\u3089\u3092\u30b7\u30fc\u30b1\u30f3\u30b9\u306b\u307e\u3068\u3081\u307e\u3059\u3002
\n", "Generates an integer with _^_0_^_ number of digits
\n": "_^_0_^_\u6841\u6570\u306e\u6574\u6570\u3092\u751f\u6210\u3057\u307e\u3059
\n", "Generates the workings for _^_0_^_. For example for _^_1_^_ it generates _^_2_^_.
\n": "\u306e\u4f5c\u696d\u3092\u751f\u6210\u3057\u307e\u3059\u3002_^_0_^_\u305f\u3068\u3048\u3070_^_1_^_\u3001\u751f\u6210\u3059\u308b\u5834\u5408\u306a\u3069\u3067\u3059_^_2_^_\u3002
\n", "Get a input and target pair for auto-regressive modelling
\n": "\u81ea\u5df1\u56de\u5e30\u30e2\u30c7\u30ea\u30f3\u30b0\u306e\u5165\u529b\u3068\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u30da\u30a2\u3092\u53d6\u5f97
\n", "Get arithmetic problem and answer. This is used for evaluation.
\n": "\u7b97\u8853\u554f\u984c\u3092\u51fa\u3057\u3066\u3001\u7b54\u3048\u3092\u51fa\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306f\u8a55\u4fa1\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002
\n", "Number of sequences per epoch
\n": "\u30a8\u30dd\u30c3\u30af\u3042\u305f\u308a\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u6570
\n", "Training data loader
\n": "\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30c7\u30fc\u30bf\u30ed\u30fc\u30c0\u30fc
\n", "This is based on code by Georges Harik (@gharik).
\n": "\u3053\u308c\u306f\u30b8\u30e7\u30eb\u30b8\u30e5\u30fb\u30cf\u30ea\u30af (@gharik) \u306e\u30b3\u30fc\u30c9\u306b\u57fa\u3065\u3044\u3066\u3044\u307e\u3059\u3002
\n", "Add the next token to the input
\n": "\u6b21\u306e\u30c8\u30fc\u30af\u30f3\u3092\u5165\u529b\u306b\u8ffd\u52a0\u3057\u307e\u3059
\n", "Character to token id
\n": "\u6587\u5b57\u304b\u3089\u30c8\u30fc\u30af\u30f3 ID \u3078
\n", "Collect the problems only
\n": "\u554f\u984c\u3060\u3051\u96c6\u3081\u3088\u3046
\n", "Count the number of correct answers
\n": "\u6b63\u89e3\u306e\u6570\u3092\u6570\u3048\u308b
\n", "Create a dataset to generate problems
\n": "\u554f\u984c\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u4f5c\u6210
\n", "Create a tensor with only the initial token
\n": "\u6700\u521d\u306e\u30c8\u30fc\u30af\u30f3\u306e\u307f\u3067\u30c6\u30f3\u30bd\u30eb\u3092\u4f5c\u6210
\n", "Discard everything after the answer in the results
\n": "\u7d50\u679c\u306e\u56de\u7b54\u306e\u5f8c\u306b\u7d9a\u304f\u3082\u306e\u306f\u3059\u3079\u3066\u7834\u68c4\u3057\u3066\u304f\u3060\u3055\u3044
\n", "Find which sequences have finished
\n": "\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u304c\u7d42\u4e86\u3057\u305f\u304b\u8abf\u3079\u308b
\n", "Get a set of problems and answers
\n": "\u4e00\u9023\u306e\u554f\u984c\u3068\u56de\u7b54\u3092\u5165\u624b
\n", "Get the answers
\n": "\u7b54\u3048\u3092\u30b2\u30c3\u30c8
\n", "Get the model output
\n": "\u30e2\u30c7\u30eb\u51fa\u529b\u3092\u53d6\u5f97
\n", "Get the model prediction (greedy)
\n": "\u30e2\u30c7\u30eb\u4e88\u6e2c\u3092\u53d6\u5f97 (\u6b32\u5f35\u308a)
\n", "Get the sampled results
\n": "\u30b5\u30f3\u30d7\u30eb\u7d50\u679c\u3092\u53d6\u5f97
\n", "If all the sequences have completed we skip this
\n": "\u3059\u3079\u3066\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3053\u308c\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u307e\u3059\u3002
\n", "Log a sample
\n": "\u30b5\u30f3\u30d7\u30eb\u3092\u30ed\u30b0\u306b\u8a18\u9332\u3059\u308b
\n", "Log the score
\n": "\u30b9\u30b3\u30a2\u3092\u8a18\u9332\u3059\u308b
\n", "Make a problem with a pre_explanation or not
\nCreates an arithmetic addition problem with workings and answer.
\n": "pre_explanation \u3067\u554f\u984c\u3092\u8d77\u3053\u3059\u304b\u3057\u306a\u3044\u304b
\n\u8a08\u7b97\u3068\u89e3\u3092\u542b\u3080\u7b97\u8853\u52a0\u7b97\u554f\u984c\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002
\n", "Maximum number of digits per operand integer
\n": "\u30aa\u30da\u30e9\u30f3\u30c9\u6574\u6570\u3042\u305f\u308a\u306e\u6700\u5927\u6841\u6570
\n", "Move to device
\n": "\u30c7\u30d0\u30a4\u30b9\u306b\u79fb\u52d5
\n", "No need of a validation dataset
\n": "\u691c\u8a3c\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f\u4e0d\u8981
\n", "Number of problems in evaluation
\n": "\u8a55\u4fa1\u4e2d\u306e\u554f\u984c\u306e\u6570
\n", "Number of sequences that have completed
\n": "\u5b8c\u4e86\u3057\u305f\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u6570
\n", "Number of times to run evaluations per epoch
\n": "\u30a8\u30dd\u30c3\u30af\u3054\u3068\u306b\u8a55\u4fa1\u3092\u5b9f\u884c\u3059\u308b\u56de\u6570
\n", "Number of tokens in the vocabulary
\n": "\u30dc\u30ad\u30e3\u30d6\u30e9\u30ea\u30fc\u306e\u30c8\u30fc\u30af\u30f3\u306e\u6570
\n", "Number of training sequences per epoch
\n": "\u30a8\u30dd\u30c3\u30af\u3042\u305f\u308a\u306e\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u6570
\n", "Override with the question
\n": "\u8cea\u554f\u3067\u4e0a\u66f8\u304d
\n", "Sample upto sequence length
\n": "\u30b7\u30fc\u30b1\u30f3\u30b9\u9577\u307e\u3067\u306e\u30b5\u30f3\u30d7\u30eb
\n", "Sampled results
\n": "\u30b5\u30f3\u30d7\u30eb\u7d50\u679c
\n", "Skip if all have finished
\n": "\u3059\u3079\u3066\u7d42\u4e86\u3057\u305f\u3089\u30b9\u30ad\u30c3\u30d7
\n", "Skip in the first epoch
\n": "\u6700\u521d\u306e\u30a8\u30dd\u30c3\u30af\u3092\u30b9\u30ad\u30c3\u30d7
\n", "Token id of the new line character - this marks end of the answer
\n": "\u6539\u884c\u6587\u5b57\u306e\u30c8\u30fc\u30af\u30f3ID-\u3053\u308c\u3067\u56de\u7b54\u306e\u6700\u5f8c\u306b\u306a\u308a\u307e\u3059
\n", "Token id to string
\n": "\u30c8\u30fc\u30af\u30f3 ID \u3092\u6587\u5b57\u5217\u306b
\n", "Training data loader
\n": "\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30c7\u30fc\u30bf\u30ed\u30fc\u30c0\u30fc
\n", "