æ©æ¢°å¦ç¿ããã£ã¦ãã人ãªã誰ããééããã§ããããã®å æ¯ (â»åçã¯PyTorchã®Language Modelã®Exampleãã) Pythonã®argparseã§ã·ã§ã«ããå¼æ°ãåãåãPythonã¹ã¯ãªããå ã§ãã©ã¡ã¼ã¿ã«è¨å®ãããã¿ã¼ã³ã¯ãè¨è¿°ãé·ããªããã¡ãªä¸ãã©ã®ãã©ã¡ã¼ã¿ãmodel/preprocess/optimizerã®ãã®ãªã®ãåºå¥ãã¤ãã«ããè¦éããæªãã¨ãã£ã課é¡ãããã¾ãã ç§ã¯å®é¨ç¨ã®ãã©ã¡ã¼ã¿é¡ã¯å ¨ã¦YAMLã«è¨è¿°ãã¦ç®¡çãã¦ãã¾ãã YAMLã§è¨è¿°ãããã¨ã§ãã©ã¡ã¼ã¿ãé層ç«ã¦ã¦æ§é çã«è¨è¿°ãããã¨ãã§ãããã©ã¡ã¼ã¿ã®è¦éãããã£ã¨ãããªãã¾ãã preprocess: min_df: 3 max_df: 1 replace_pattern: \d+ model: hidden_size: 256 dropout: 0.1 optimizer: algo
{{#tags}}- {{label}}
{{/tags}}