ace14459tv commited on
Commit ·
30934a6
1
Parent(s): 4115b8f
エラー診断モデル(ラベル予測)mPyT5ベース
Browse files- FineTune.sh.o40489474 +35 -0
- added_tokens.json +3 -0
- config.json +31 -0
- error_label_tested.jsonl +617 -0
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +5 -0
- spiece.model +3 -0
- t5marulog.jsonl +1 -0
- tokenizer_config.json +12 -0
FineTune.sh.o40489474
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 0 |
|
|
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
| 2 |
|
|
|
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
|
|
|
| 5 |
|
|
|
|
| 1 |
+
GPU available: True (cuda), used: True
|
| 2 |
+
TPU available: False, using: 0 TPU cores
|
| 3 |
+
IPU available: False, using: 0 IPUs
|
| 4 |
+
HPU available: False, using: 0 HPUs
|
| 5 |
+
Downloading and preparing dataset json/default to /home/ace14459tv/t5maru/cache/json/default-4c66c2b66c128f21/0.0.0/e347ab1c932092252e717ff3f949105a4dd28b27e842dd53157d2f72e276c2e4...
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
|
| 9 |
|
| 10 |
+
|
| 11 |
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
|
| 15 |
|
| 16 |
+
|
| 17 |
|
| 18 |
+
|
| 19 |
+
| Name | Type | Params
|
| 20 |
+
------------------------------------------
|
| 21 |
+
0 | model | OptimizedModule | 300 M
|
| 22 |
+
------------------------------------------
|
| 23 |
+
300 M Trainable params
|
| 24 |
+
0 Non-trainable params
|
| 25 |
+
300 M Total params
|
| 26 |
+
1,200.707 Total estimated model params size (MB)
|
| 27 |
+
[2023-08-25 17:16:53,951] torch._inductor.utils: [WARNING] using triton random, expect difference from eager
|
| 28 |
+
Metric val_loss improved. New best score: 0.683
|
| 29 |
+
Metric val_loss improved by 0.124 >= min_delta = 0.0. New best score: 0.559
|
| 30 |
+
Metric val_loss improved by 0.106 >= min_delta = 0.0. New best score: 0.454
|
| 31 |
+
Metric val_loss improved by 0.032 >= min_delta = 0.0. New best score: 0.422
|
| 32 |
+
Metric val_loss improved by 0.040 >= min_delta = 0.0. New best score: 0.382
|
| 33 |
+
Metric val_loss improved by 0.020 >= min_delta = 0.0. New best score: 0.363
|
| 34 |
+
Monitored metric val_loss did not improve in the last 3 records. Best score: 0.363. Signaling Trainer to stop.
|
| 35 |
+
{"log": "trained", "date": "2023-08-25T17:15:59", "elapsed": "00:04:12", "model": "Roy029/mpyt5_e20", "max_length": 128, "target_max_length": 128, "batch_size": 32, "gradient_accumulation_steps": 1, "train_steps": 2700, "accelerator": "gpu", "devices": "auto", "precision": 32, "strategy": "auto", "gradient_clip_val": 1.0, "compile": true, "solver": "adamw", "lr": 0.0003, "warmup_steps": 1, "training_steps": 100000, "adam_epsilon": 1e-08, "weight_decay": 0.0, "epoch": 11, "step": 990, "saved": "error_label_mPyT5"}
|
| 36 |
+
😊 testing /home/ace14459tv/t5maru/error_label_test.jsonl on cuda
|
| 37 |
+
Downloading and preparing dataset generator/default to /home/ace14459tv/t5maru/cache/generator/default-86c49a273729eafb/0.0.0...
|
| 38 |
+
|
| 39 |
|
| 40 |
+
|
| 41 |
|
added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</b>": 250100
|
| 3 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "Roy029/mpyt5_e20",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"MT5ForConditionalGeneration"
|
| 5 |
+
],
|
| 6 |
+
"d_ff": 1024,
|
| 7 |
+
"d_kv": 64,
|
| 8 |
+
"d_model": 512,
|
| 9 |
+
"decoder_start_token_id": 0,
|
| 10 |
+
"dense_act_fn": "gelu_new",
|
| 11 |
+
"dropout_rate": 0.1,
|
| 12 |
+
"eos_token_id": 1,
|
| 13 |
+
"feed_forward_proj": "gated-gelu",
|
| 14 |
+
"initializer_factor": 1.0,
|
| 15 |
+
"is_encoder_decoder": true,
|
| 16 |
+
"is_gated_act": true,
|
| 17 |
+
"layer_norm_epsilon": 1e-06,
|
| 18 |
+
"model_type": "mt5",
|
| 19 |
+
"num_decoder_layers": 8,
|
| 20 |
+
"num_heads": 6,
|
| 21 |
+
"num_layers": 8,
|
| 22 |
+
"pad_token_id": 0,
|
| 23 |
+
"relative_attention_max_distance": 128,
|
| 24 |
+
"relative_attention_num_buckets": 32,
|
| 25 |
+
"tie_word_embeddings": false,
|
| 26 |
+
"tokenizer_class": "T5Tokenizer",
|
| 27 |
+
"torch_dtype": "float32",
|
| 28 |
+
"transformers_version": "4.28.1",
|
| 29 |
+
"use_cache": true,
|
| 30 |
+
"vocab_size": 250112
|
| 31 |
+
}
|
error_label_tested.jsonl
ADDED
|
@@ -0,0 +1,617 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"in": "model =Pipeline()<sep>TypeError: __init__() missing 1 required positional argument: 'steps'", "out": "27", "pred": "27"}
|
| 2 |
+
{"in": "sklearn.preprocessing.StackingClassifier()<sep>NameError: name 'sklearn' is not defined", "out": "12", "pred": "12"}
|
| 3 |
+
{"in": "plt.plot(xlabel,ylabel)<sep>NameError: name 'xlabel' is not defined", "out": "60", "pred": "60"}
|
| 4 |
+
{"in": "rho = corr(df[column], df['y'])<sep>NameError: name 'corr' is not defined", "out": "147", "pred": "147"}
|
| 5 |
+
{"in": "x = list(map(int(input().split())))<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'", "out": "144", "pred": "144"}
|
| 6 |
+
{"in": "print(ab)<sep>NameError: name 'ab' is not defined", "out": "64", "pred": "60"}
|
| 7 |
+
{"in": "rho = corr(df[column], df['住宅価格'])<sep>NameError: name 'corr' is not defined", "out": "147", "pred": "147"}
|
| 8 |
+
{"in": "X = df[['year','month', 'week_num', 'temperature', 'remarks_num']]<sep>KeyError: \"['week_num', 'remarks_num'] not in index\"", "out": "69", "pred": "69"}
|
| 9 |
+
{"in": "a, b, c, d = map(int, print().split())<sep>AttributeError: 'NoneType' object has no attribute 'split'", "out": "45", "pred": "45"}
|
| 10 |
+
{"in": "X = train[[\"likes\",\"dislike\", \"comment_count\"]]<sep>KeyError: \"['dislike'] not in index\"", "out": "69", "pred": "69"}
|
| 11 |
+
{"in": "if d==11 or d==22 or d==33 ord==44:<sep>SyntaxError: invalid syntax (<ipython-input>, line 7)", "out": "86", "pred": "86"}
|
| 12 |
+
{"in": "for key, df_name in df.groupby('あん'):<sep>KeyError: 'あん'", "out": "69", "pred": "69"}
|
| 13 |
+
{"in": "continueif<sep>NameError: name 'continueif' is not defined", "out": "11", "pred": "11"}
|
| 14 |
+
{"in": ", 'CHEST PAIN']]<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)", "out": "104", "pred": "86"}
|
| 15 |
+
{"in": "print(A, ' ', B)<sep>IndentationError: expected an indented block (<string>, line 16)", "out": "86", "pred": "86"}
|
| 16 |
+
{"in": "df['平均気温'].valuse<sep>KeyError: '平均気温'", "out": "69", "pred": "69"}
|
| 17 |
+
{"in": "return(f(a(x-1)))<sep>TypeError: a() missing 1 required positional argument: 'N'", "out": "30", "pred": "30"}
|
| 18 |
+
{"in": "x = input(5)<sep>KeyboardInterrupt:", "out": "47", "pred": "47"}
|
| 19 |
+
{"in": "plt.scatter()<sep>TypeError: scatter() missing 2 required positional arguments: 'x' and 'y'", "out": "27", "pred": "27"}
|
| 20 |
+
{"in": "<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 3)", "out": "86", "pred": "123"}
|
| 21 |
+
{"in": "plt.scatter(df['部屋数'],df['住宅価格'],alpha=0,5,color='purple')<sep>SyntaxError: positional argument follows keyword argument (<ipython-input>, line 2)", "out": "113", "pred": "113"}
|
| 22 |
+
{"in": "bb=b[b.index[max()]]<sep>TypeError: max expected 1 arguments, got 0", "out": "27", "pred": "27"}
|
| 23 |
+
{"in": "math.floor<sep>NameError: name 'math' is not defined", "out": "12", "pred": "12"}
|
| 24 |
+
{"in": "A=N%10<sep>TypeError: not all arguments converted during string formatting", "out": "72", "pred": "72"}
|
| 25 |
+
{"in": "df.plt.scatter('降水量', 'スギ花粉飛散量')<sep>AttributeError: 'DataFrame' object has no attribute 'plt'", "out": "13", "pred": "13"}
|
| 26 |
+
{"in": "def calc(1+10): return float(s)<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "136", "pred": "86"}
|
| 27 |
+
{"in": "m.append(s,t)<sep>TypeError: append() takes exactly one argument (2 given)", "out": "24", "pred": "24"}
|
| 28 |
+
{"in": "lives.shape(5,8)<sep>NameError: name 'lives' is not defined", "out": "60", "pred": "60"}
|
| 29 |
+
{"in": "print(BMI)<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)", "out": "125", "pred": "125"}
|
| 30 |
+
{"in": "X = df[['curry','temperature','kacal']]<sep>KeyError: \"['kacal'] not in index\"", "out": "69", "pred": "69"}
|
| 31 |
+
{"in": "X_train = train[[\"Sex\", \"parch\", \"Pclass\"]]<sep>KeyError: \"['parch'] not in index\"", "out": "69", "pred": "69"}
|
| 32 |
+
{"in": "if α==a.upper():<sep>AttributeError: 'int' object has no attribute 'upper'", "out": "41", "pred": "73"}
|
| 33 |
+
{"in": "self.nume<sep>NameError: name 'self' is not defined", "out": "7", "pred": "60"}
|
| 34 |
+
{"in": "c.count()<sep>TypeError: count() missing 1 required positional argument: 'self'", "out": "32", "pred": "32"}
|
| 35 |
+
{"in": "rho = corr(df[column], df['犯罪率'])<sep>NameError: name 'corr' is not defined", "out": "147", "pred": "147"}
|
| 36 |
+
{"in": "plt.figure(figsize=13, 6)<sep>SyntaxError: positional argument follows keyword argument (<ipython-input>, line 1)", "out": "111", "pred": "113"}
|
| 37 |
+
{"in": "print(aaaa)<sep>NameError: name 'aaaa' is not defined", "out": "65", "pred": "10"}
|
| 38 |
+
{"in": "re.split('(..)',s)[1::1]<sep>NameError: name 're' is not defined", "out": "12", "pred": "60"}
|
| 39 |
+
{"in": "pirnt(S_s)<sep>NameError: name 'pirnt' is not defined", "out": "11", "pred": "11"}
|
| 40 |
+
{"in": "D=list(map(int,str,(d)))<sep>IndentationError: expected an indented block (<ipython-input>, line 3)", "out": "86", "pred": "86"}
|
| 41 |
+
{"in": "S2=S.replace(S[2],S[3])<sep>IndexError: string index out of range", "out": "140", "pred": "140"}
|
| 42 |
+
{"in": "print(a.find[S[x]])<sep>TypeError: 'builtin_function_or_method' object is not subscriptable", "out": "73", "pred": "73"}
|
| 43 |
+
{"in": "return a<sep>SyntaxError: 'return' outside function (<ipython-input>, line 2)", "out": "137", "pred": "137"}
|
| 44 |
+
{"in": "a = ferelibenterhominesidquodvoluntcredunt<sep>NameError: name 'ferelibenterhominesidquodvoluntcredunt' is not defined", "out": "65", "pred": "11"}
|
| 45 |
+
{"in": "a,b=map(input().split())<sep>TypeError: map() must have at least two arguments.", "out": "29", "pred": "29"}
|
| 46 |
+
{"in": "df=pd.read_csv(\"boston.csv\")<sep>NameError: name 'pd' is not defined", "out": "12", "pred": "12"}
|
| 47 |
+
{"in": "print('BMI')print(BMI)<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)", "out": "126", "pred": "110"}
|
| 48 |
+
{"in": "c=collections.Counter(x)<sep>NameError: name 'collections' is not defined", "out": "12", "pred": "12"}
|
| 49 |
+
{"in": "c== sum(list(map(int, str(A))))<sep>NameError: name 'c' is not defined", "out": "62", "pred": "60"}
|
| 50 |
+
{"in": "kogi_login(class_name='atcoder')<sep>NameError: name 'kogi_login' is not defined", "out": "147", "pred": "11"}
|
| 51 |
+
{"in": "float(input('enter your weight by cm >> ')) = height<sep>SyntaxError: can't assign to function call (<ipython-input>, line 2)", "out": "129", "pred": "129"}
|
| 52 |
+
{"in": "y_pred = model.predict(X_train)<sep>NameError: name 'model' is not defined", "out": "60", "pred": "60"}
|
| 53 |
+
{"in": "A,B=(int,input()split<sep>SyntaxError: invalid syntax (<string>, line 3)", "out": "88", "pred": "86"}
|
| 54 |
+
{"in": "p = PersonW()<sep>TypeError: __init__() missing 3 required positional arguments: 'name', 'height', and 'weight'", "out": "30", "pred": "30"}
|
| 55 |
+
{"in": "model =RandomForestRegressor(),<sep>NameError: name 'RandomForestRegressor' is not defined", "out": "12", "pred": "12"}
|
| 56 |
+
{"in": "print MAX(A+B, A-B, A*B)<sep>SyntaxError: invalid syntax (<string>, line 8)", "out": "134", "pred": "125"}
|
| 57 |
+
{"in": "newdata[h-1] = BMI<sep>IndexError: list assignment index out of range", "out": "139", "pred": "139"}
|
| 58 |
+
{"in": "<sep>TypeError: load() missing 1 required positional argument: 'Loader'", "out": "27", "pred": "30"}
|
| 59 |
+
{"in": "h**2=22/w<sep>SyntaxError: can't assign to operator (<ipython-input>, line 2)", "out": "129", "pred": "129"}
|
| 60 |
+
{"in": "if(A+B=<4):<sep>SyntaxError: invalid syntax (<string>, line 9)", "out": "86", "pred": "132"}
|
| 61 |
+
{"in": "X = df[col[y],col[z]]<sep>KeyError: ('犯罪率', '緑地')", "out": "85", "pred": "85"}
|
| 62 |
+
{"in": "plt.scatter(df['築年']), df['住宅価格']<sep>TypeError: scatter() missing 1 required positional argument: 'y'", "out": "31", "pred": "27"}
|
| 63 |
+
{"in": "sns.kdeplot(,hue='性別', data=df)<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)", "out": "104", "pred": "99"}
|
| 64 |
+
{"in": "b=b for j in range(3)<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)", "out": "86", "pred": "106"}
|
| 65 |
+
{"in": "print(Ratio(1,2).add(Ratio(1,3)))<sep>TypeError: add() missing 1 required positional argument: 'm'", "out": "30", "pred": "30"}
|
| 66 |
+
{"in": "X_train_numa_p = pd.read_csv('/drive/my-drive/nuna-chan/train_Numa_print.csv')<sep>FileNotFoundError: [Errno 2] No such file or directory: '/drive/my-drive/nuna-chan/train_Numa_print.csv'", "out": "33", "pred": "33"}
|
| 67 |
+
{"in": "X = df[['低所得者','部屋数']]<sep>KeyError: \"['低所得者'] not in index\"", "out": "69", "pred": "69"}
|
| 68 |
+
{"in": "doc = nlp(text)<sep>NameError: name 'nlp' is not defined", "out": "147", "pred": "147"}
|
| 69 |
+
{"in": "train2 = pd.read_csv(\"train2.csv\")<sep>FileNotFoundError: [Errno 2] No such file or directory: 'train2.csv'", "out": "33", "pred": "33"}
|
| 70 |
+
{"in": "print(い)<sep>NameError: name 'い' is not defined", "out": "65", "pred": "65"}
|
| 71 |
+
{"in": "p = PrsonD(\"かんな\", 1999, 2, 3)<sep>NameError: name 'PrsonD' is not defined", "out": "11", "pred": "11"}
|
| 72 |
+
{"in": "Y.append(f(x))<sep>TypeError: 'int' object is not callable", "out": "67", "pred": "8"}
|
| 73 |
+
{"in": "retun 1 /(1 + x**2)<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 2)", "out": "123", "pred": "122"}
|
| 74 |
+
{"in": "BMI = w / ( h * h )<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 3)", "out": "123", "pred": "122"}
|
| 75 |
+
{"in": "cost2 = math.sqrt((h[1]-h[0])**2)<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 76 |
+
{"in": "説明変数: Index(['犯罪率', '緑地', '工場', '川近', '大気汚染', '部屋数', '築年', '通勤',<sep>NameError: name 'Index' is not defined", "out": "10", "pred": "110"}
|
| 77 |
+
{"in": "mountains.sort(raverse=True)<sep>TypeError: 'raverse' is an invalid keyword argument for sort()", "out": "20", "pred": "20"}
|
| 78 |
+
{"in": "reverse(a)<sep>NameError: name 'reverse' is not defined", "out": "151", "pred": "11"}
|
| 79 |
+
{"in": "for i range(10):<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "86", "pred": "86"}
|
| 80 |
+
{"in": "def name(self):<sep>IndentationError: expected an indented block (<ipython-input>, line 7)", "out": "86", "pred": "86"}
|
| 81 |
+
{"in": "if (y==0:<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)", "out": "87", "pred": "132"}
|
| 82 |
+
{"in": "X = df[['weather', 'tempersture']]<sep>KeyError: \"['tempersture'] not in index\"", "out": "69", "pred": "69"}
|
| 83 |
+
{"in": "if type((i-3k)/(3+4*k))==int:<sep>SyntaxError: invalid syntax (<ipython-input>, line 6)", "out": "128", "pred": "132"}
|
| 84 |
+
{"in": "l=[int(input().split(\" \")) for i in range(x)]<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'", "out": "144", "pred": "144"}
|
| 85 |
+
{"in": "X = df[['犯罪数']]<sep>KeyError: \"None of [Index(['犯罪数'], dtype='object')] are in the [columns]\"", "out": "69", "pred": "69"}
|
| 86 |
+
{"in": "c=[map(int,input().split() for _ in range(n)]<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)", "out": "86", "pred": "86"}
|
| 87 |
+
{"in": "D =list(map(int, str(d)))<sep>KeyboardInterrupt:", "out": "47", "pred": "47"}
|
| 88 |
+
{"in": "pd.pivot_table(df, index=\"血液型\", columns=\"身長\", values = \"成年\", aggfunc = \"count\")<sep>KeyError: '成年'", "out": "69", "pred": "69"}
|
| 89 |
+
{"in": "df = pd.read_csv('Jリーグ選手身長体重.csv')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'Jリーグ選手身長体重.csv'", "out": "33", "pred": "33"}
|
| 90 |
+
{"in": "pi+=((-1)**k)*(1/k)<sep>NameError: name 'k' is not defined", "out": "60", "pred": "60"}
|
| 91 |
+
{"in": "print(\"Hello World\"<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 1)", "out": "88", "pred": "88"}
|
| 92 |
+
{"in": "if BMI >=25.0<sep>SyntaxError: invalid syntax (<ipython-input>, line 7)", "out": "115", "pred": "115"}
|
| 93 |
+
{"in": "df=pd.read_csv(\"pollen.csv\")<sep>FileNotFoundError: [Errno 2] No such file or directory: 'pollen.csv'", "out": "33", "pred": "33"}
|
| 94 |
+
{"in": "a = print(str(\"A\", K))<sep>TypeError: str() argument 2 must be str, not int", "out": "146", "pred": "146"}
|
| 95 |
+
{"in": "plt.scatter(df['恋人'], df['成績'])<sep>KeyError: '成績'", "out": "69", "pred": "69"}
|
| 96 |
+
{"in": "print(お昼を食べに行きましょう)<sep>NameError: name 'お昼を食べに行きましょう' is not defined", "out": "65", "pred": "お昼"}
|
| 97 |
+
{"in": "if s[ i ] == 4 * a * b + 3 * a + 3 * b :<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 98 |
+
{"in": "model = FecisionTreeRegressor()<sep>NameError: name 'FecisionTreeRegressor' is not defined", "out": "11", "pred": "12"}
|
| 99 |
+
{"in": "w =46.4<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "122", "pred": "122"}
|
| 100 |
+
{"in": "D = list(map(int, str(d)))<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 4)", "out": "123", "pred": "123"}
|
| 101 |
+
{"in": "count(lives, x=1, y=1)<sep>NameError: name 'count' is not defined", "out": "147", "pred": "147"}
|
| 102 |
+
{"in": "dog=Dog('ハナ')<sep>NameError: name 'Dog' is not defined", "out": "149", "pred": "149"}
|
| 103 |
+
{"in": "df.scatterplot(x='降水量', y='スギ花粉飛散量')<sep>AttributeError: 'DataFrame' object has no attribute 'scatterplot'", "out": "13", "pred": "13"}
|
| 104 |
+
{"in": "T = (n- l1 - l2) / ( B[ i ] + B[ - ( i + 2) ] )<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 105 |
+
{"in": "def f(x):<sep>SyntaxError: invalid syntax (<ipython-input>, line 11)", "out": "125", "pred": "86"}
|
| 106 |
+
{"in": "train = alldata.query('train_or_test == \"train\"')<sep>NameError: name 'alldata' is not defined", "out": "59", "pred": "59"}
|
| 107 |
+
{"in": "return f'<img width=\"200\" src=\"https://emoji-img.s3.ap-northeast-1.amazonaws.com/svg/1f986.svg\"><sep>SyntaxError: EOL while scanning string literal (<ipython-input>, line 7)", "out": "131", "pred": "131"}
|
| 108 |
+
{"in": "df['平均気温'].head(5)<sep>KeyError: '平均気温'", "out": "69", "pred": "69"}
|
| 109 |
+
{"in": "ss.append(chr(a)) #リストに追加<sep>NameError: name 'ss' is not defined", "out": "61", "pred": "60"}
|
| 110 |
+
{"in": "if BMI > 25.00:<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "122", "pred": "122"}
|
| 111 |
+
{"in": "if N[i]<sep>SyntaxError: invalid syntax (<string>, line 6)", "out": "106", "pred": "115"}
|
| 112 |
+
{"in": "<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 4)", "out": "93", "pred": "88"}
|
| 113 |
+
{"in": "corr = df.corr()<sep>NameError: name 'df' is not defined", "out": "59", "pred": "59"}
|
| 114 |
+
{"in": "elif:<sep>SyntaxError: invalid syntax (<ipython-input>, line 5)", "out": "90", "pred": "99"}
|
| 115 |
+
{"in": "np.where(a < pibot)<sep>NameError: name 'pibot' is not defined", "out": "60", "pred": "60"}
|
| 116 |
+
{"in": "model = KNeighborsRegressor(max_depth=5)<sep>TypeError: __init__() got an unexpected keyword argument 'max_depth'", "out": "19", "pred": "19"}
|
| 117 |
+
{"in": "X_train = pd.get_dummies(train[['week', 'temperature']])<sep>NameError: name 'train' is not defined", "out": "59", "pred": "59"}
|
| 118 |
+
{"in": "Dog()<sep>TypeError: __init__() missing 1 required positional argument: 'name'", "out": "30", "pred": "30"}
|
| 119 |
+
{"in": "X = df_name, df[['df_weather']]<sep>KeyError: \"None of [Index(['df_weather'], dtype='object')] are in the [columns]\"", "out": "69", "pred": "69"}
|
| 120 |
+
{"in": "plt.show()<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)", "out": "125", "pred": "125"}
|
| 121 |
+
{"in": "v.append(s[k:n] + s[0:k])<sep>NameError: name 's' is not defined", "out": "60", "pred": "60"}
|
| 122 |
+
{"in": "integrate(x*log(x**2+1),(x,0,1)<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 1)", "out": "88", "pred": "88"}
|
| 123 |
+
{"in": "print(a[a.find(S[x])+N%26])<sep>TypeError: not all arguments converted during string formatting", "out": "72", "pred": "72"}
|
| 124 |
+
{"in": "for i in range(len(a)):<sep>NameError: name 'a' is not defined", "out": "60", "pred": "60"}
|
| 125 |
+
{"in": "D = input(1000)<sep>KeyboardInterrupt:", "out": "47", "pred": "47"}
|
| 126 |
+
{"in": "s +=y*h<sep>NameError: name 's' is not defined", "out": "63", "pred": "63"}
|
| 127 |
+
{"in": "model = HuberRegressor()<sep>NameError: name 'HuberRegressor' is not defined", "out": "12", "pred": "12"}
|
| 128 |
+
{"in": "y+=x<sep>NameError: name 'y' is not defined", "out": "63", "pred": "63"}
|
| 129 |
+
{"in": "train_: (864, 6) y: (864,) test_ : (864, 6)<sep>SyntaxError: invalid syntax (<ipython-input>, line 13)", "out": "10", "pred": "86"}
|
| 130 |
+
{"in": "a=ord(c)+N<sep>NameError: name 'c' is not defined", "out": "60", "pred": "60"}
|
| 131 |
+
{"in": "N = float().input()<sep>AttributeError: 'float' object has no attribute 'input'", "out": "73", "pred": "15"}
|
| 132 |
+
{"in": "p.show()<sep>AttributeError: 'personW' object has no attribute 'show'", "out": "68", "pred": "68"}
|
| 133 |
+
{"in": "X.append(x)<sep>NameError: name 'X' is not defined", "out": "61", "pred": "60"}
|
| 134 |
+
{"in": "d= sum(D)<sep>TypeError: 'int' object is not callable", "out": "8", "pred": "8"}
|
| 135 |
+
{"in": "df4 = pd.merge(df1, df2, df3, on='名前', how='outer')<sep>TypeError: merge() got multiple values for argument 'how'", "out": "50", "pred": "50"}
|
| 136 |
+
{"in": "df = df.read_csv('pollen.csv')<sep>NameError: name 'df' is not defined", "out": "11", "pred": "11"}
|
| 137 |
+
{"in": "for key in Series:<sep>NameError: name 'Series' is not defined", "out": "60", "pred": "60"}
|
| 138 |
+
{"in": "C = (A−B)/3 + B<sep>SyntaxError: invalid character in identifier (<string>, line 3)", "out": "122", "pred": "122"}
|
| 139 |
+
{"in": "plt.plot(x='西暦', y='降水量')<sep>TypeError: plot got an unexpected keyword argument 'x'", "out": "19", "pred": "19"}
|
| 140 |
+
{"in": "if count[p][1] < count[p+1][1]:<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 141 |
+
{"in": "if A[3]-A[2]==A[2]-A[1]:<sep>NameError: name 'A' is not defined", "out": "60", "pred": "60"}
|
| 142 |
+
{"in": "S[i]=input()<sep>IndexError: list assignment index out of range", "out": "139", "pred": "139"}
|
| 143 |
+
{"in": "p = PersonD(\"かんな\",1999,2,3)<sep>TypeError: PersonD() takes no arguments", "out": "26", "pred": "26"}
|
| 144 |
+
{"in": "self.gen = func(*args, **kwds)<sep>KeyboardInterrupt:", "out": "47", "pred": "47"}
|
| 145 |
+
{"in": "if lens(N)==1:<sep>NameError: name 'lens' is not defined", "out": "11", "pred": "11"}
|
| 146 |
+
{"in": "n=int(N[2])<sep>IndexError: string index out of range", "out": "140", "pred": "140"}
|
| 147 |
+
{"in": "plt.hist(df'工場')<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "86", "pred": "111"}
|
| 148 |
+
{"in": "if BMI >== 25:<sep>SyntaxError: invalid syntax (<ipython-input>, line 8)", "out": "86", "pred": "115"}
|
| 149 |
+
{"in": "df.columns=columns<sep>IndentationError: unexpected indent (<ipython-input>, line 8)", "out": "107", "pred": "107"}
|
| 150 |
+
{"in": "def Fra(self.x, self.y):<sep>SyntaxError: invalid syntax (<ipython-input>, line 8)", "out": "86", "pred": "86"}
|
| 151 |
+
{"in": "X = df['通勤時間'] # ひとつ選ぶ<sep>KeyError: '通勤時間'", "out": "69", "pred": "69"}
|
| 152 |
+
{"in": "func(0)=1<sep>SyntaxError: can't assign to function call (<ipython-input>, line 2)", "out": "129", "pred": "129"}
|
| 153 |
+
{"in": "for w in range(40,100,5)<sep>SyntaxError: invalid syntax (<ipython-input>, line 6)", "out": "115", "pred": "115"}
|
| 154 |
+
{"in": "ss.apend(chr(a)) #リストに追加<sep>AttributeError: 'list' object has no attribute 'apend'", "out": "15", "pred": "15"}
|
| 155 |
+
{"in": "sin(1)<sep>NameError: name 'sin' is not defined", "out": "12", "pred": "147"}
|
| 156 |
+
{"in": "def add(self.x):<sep>SyntaxError: invalid syntax (<ipython-input>, line 7)", "out": "86", "pred": "86"}
|
| 157 |
+
{"in": "<sep>TypeError: append() takes exactly one argument (2 given)", "out": "23", "pred": "24"}
|
| 158 |
+
{"in": "N,A,X,Y=map(int,input().split)<sep>TypeError: 'builtin_function_or_method' object is not iterable", "out": "73", "pred": "73"}
|
| 159 |
+
{"in": "N[0] = S<sep>NameError: name 'S' is not defined", "out": "60", "pred": "60"}
|
| 160 |
+
{"in": "X_train, X_test = X.ix[train_index,:], X.ix[test_index,:]<sep>AttributeError: 'DataFrame' object has no attribute 'ix'", "out": "1", "pred": "15"}
|
| 161 |
+
{"in": "df.head(pollen.csv)<sep>NameError: name 'df' is not defined", "out": "59", "pred": "59"}
|
| 162 |
+
{"in": "print(\"太りすぎ”)<sep>SyntaxError: EOL while scanning string literal (<ipython-input>, line 2)", "out": "131", "pred": "131"}
|
| 163 |
+
{"in": "n = format(N, x)<sep>NameError: name 'x' is not defined", "out": "60", "pred": "60"}
|
| 164 |
+
{"in": "C1=C[i-2]+abs(h[i]-h[i-2])<sep>IndentationError: expected an indented block (<string>, line 9)", "out": "86", "pred": "86"}
|
| 165 |
+
{"in": "for x in range(M):<sep>IndentationError: unexpected indent (<ipython-input>, line 5)", "out": "107", "pred": "107"}
|
| 166 |
+
{"in": "print S[j]<sep>SyntaxError: Missing parentheses in call to 'print'. Did you mean print(S[j])? (<string>, line 6)", "out": "134", "pred": "134"}
|
| 167 |
+
{"in": "plt.plot(df['降水量']), bins=1)<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "86", "pred": "86"}
|
| 168 |
+
{"in": "a=int(A[i])<sep>IndexError: string index out of range", "out": "140", "pred": "140"}
|
| 169 |
+
{"in": "member.append(b)<sep>NameError: name 'b' is not defined", "out": "60", "pred": "60"}
|
| 170 |
+
{"in": "y = df['LUNG_CANCER_num']<sep>KeyError: 'LUNG_CANCER_num'", "out": "69", "pred": "69"}
|
| 171 |
+
{"in": "Pipeli<sep>NameError: name 'Pipeli' is not defined", "out": "18", "pred": "11"}
|
| 172 |
+
{"in": "https://atcoder.jp/contests/abc211/tasks/abc211_a<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "10", "pred": "10"}
|
| 173 |
+
{"in": "array(0.802,0.535,0.267)<sep>NameError: name 'array' is not defined", "out": "148", "pred": "148"}
|
| 174 |
+
{"in": "if s[h][i]=='.':<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 175 |
+
{"in": "plt.scatter(x,y)<sep>NameError: name 'x' is not defined", "out": "60", "pred": "60"}
|
| 176 |
+
{"in": "df.sort_values('df['平均気温]').head(5)<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "86", "pred": "99"}
|
| 177 |
+
{"in": "plt.scatter(df['部屋数'], df['住宅価格'], alpha=0.3)<sep>NameError: name 'df' is not defined", "out": "59", "pred": "59"}
|
| 178 |
+
{"in": "plt.hist(df['住宅価格']),bins=30<sep>SyntaxError: can't assign to function call (<ipython-input>, line 1)", "out": "111", "pred": "111"}
|
| 179 |
+
{"in": "df.drop('黒人', axis=1, inplace = True)<sep>KeyError: \"['黒人'] not found in axis\"", "out": "69", "pred": "69"}
|
| 180 |
+
{"in": "math.acos(np.dot(a,b)/(norm(a)*norm(b)))<sep>NameError: name 'math' is not defined", "out": "12", "pred": "12"}
|
| 181 |
+
{"in": "if BMI < 17.5<sep>SyntaxError: invalid syntax (<ipython-input>, line 7)", "out": "115", "pred": "115"}
|
| 182 |
+
{"in": "plt.figure(figuresize=(6, 6))<sep>TypeError: __init__() got an unexpected keyword argument 'figuresize'", "out": "19", "pred": "19"}
|
| 183 |
+
{"in": "if p[N] == X:<sep>NameError: name 'p' is not defined", "out": "60", "pred": "60"}
|
| 184 |
+
{"in": "df.head(sort_values('平均気温'))<sep>NameError: name 'sort_values' is not defined", "out": "152", "pred": "11"}
|
| 185 |
+
{"in": "c = Counter() #__init__が呼ばれて、初期化(コンストラクタ)<sep>NameError: name 'Counter' is not defined", "out": "149", "pred": "12"}
|
| 186 |
+
{"in": "else:<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)", "out": "108", "pred": "108"}
|
| 187 |
+
{"in": "p.bmi<sep>AttributeError: 'PersonW' object has no attribute 'bmi'", "out": "68", "pred": "68"}
|
| 188 |
+
{"in": "intext.__len__()<sep>TypeError: __len__() missing 1 required positional argument: 'self'", "out": "32", "pred": "32"}
|
| 189 |
+
{"in": "Xlist(map(int,input().split()))<sep>NameError: name 'Xlist' is not defined", "out": "60", "pred": "11"}
|
| 190 |
+
{"in": "SS[0][1][2].append(0)<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 191 |
+
{"in": "df['平均気温'].up(5)<sep>AttributeError: 'Series' object has no attribute 'up'", "out": "2", "pred": "15"}
|
| 192 |
+
{"in": "df.sort_values('平均気温]').head(5)<sep>KeyError: '平均気温]'", "out": "69", "pred": "69"}
|
| 193 |
+
{"in": "integrate(exp(-x**2),(x,-∞,∞))<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "122", "pred": "123"}
|
| 194 |
+
{"in": "c1 = [n-1,abs(h[n]-h[n-1])]<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 195 |
+
{"in": "df.corr(method=' 降水量', 'スギ花粉飛散量')<sep>SyntaxError: positional argument follows keyword argument (<ipython-input>, line 1)", "out": "111", "pred": "113"}
|
| 196 |
+
{"in": "X = df['通勤', '教員'] # 説明変数<sep>KeyError: ('通勤', '教員')", "out": "85", "pred": "85"}
|
| 197 |
+
{"in": "S.append()<sep>TypeError: append() takes exactly one argument (0 given)", "out": "28", "pred": "27"}
|
| 198 |
+
{"in": "sklearn.metrics.mean_squared_error(df['平均気温'], model.predict(df['スギ花粉飛散量']))<sep>NameError: name 'sklearn' is not defined", "out": "12", "pred": "12"}
|
| 199 |
+
{"in": "if i[0]==i[1]:<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 200 |
+
{"in": "'鶏肉とカシューナッツ炒め':4<sep>NameError: name 'f' is not defined", "out": "15", "pred": "60"}
|
| 201 |
+
{"in": "<sep>SyntaxError: invalid syntax (<unknown>, line 1)", "out": "121", "pred": "106"}
|
| 202 |
+
{"in": "list_S.append(S[i])<sep>NameError: name 'list_S' is not defined", "out": "61", "pred": "61"}
|
| 203 |
+
{"in": "X = df['部屋数','低所得率']<sep>KeyError: ('部屋数', '低所得率')", "out": "85", "pred": "85"}
|
| 204 |
+
{"in": "X = df[['weather_num']] #一つ選ぶ<sep>KeyError: \"None of [Index(['weather_num'], dtype='object')] are in the [columns]\"", "out": "69", "pred": "69"}
|
| 205 |
+
{"in": "df= pd.read('pollen.csv')<sep>AttributeError: module 'pandas' has no attribute 'read'", "out": "15", "pred": "15"}
|
| 206 |
+
{"in": "int main(void)<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "101", "pred": "101"}
|
| 207 |
+
{"in": "pd.read_csv('file.xlsx', sep='\\t')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'file.xlsx'", "out": "33", "pred": "33"}
|
| 208 |
+
{"in": "Female_Child_Group=df.loc[(df['FamilyGroup']>=2) & ((df['Age']<=16) | (df['Sex']=='female'))]<sep>KeyError: 'FamilyGroup'", "out": "69", "pred": "69"}
|
| 209 |
+
{"in": "c.appned(kai)<sep>AttributeError: 'list' object has no attribute 'appned'", "out": "15", "pred": "15"}
|
| 210 |
+
{"in": "a, b = reg1dim(x, y)<sep>NameError: name 'reg1dim' is not defined", "out": "147", "pred": "11"}
|
| 211 |
+
{"in": "print(<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 2)", "out": "88", "pred": "88"}
|
| 212 |
+
{"in": "S, T = string(input())<sep>NameError: name 'string' is not defined", "out": "11", "pred": "11"}
|
| 213 |
+
{"in": "print(i+1,j+1)<sep>IndentationError: expected an indented block (<string>, line 9)", "out": "86", "pred": "86"}
|
| 214 |
+
{"in": "y = test[y_pred]<sep>KeyError: \"None of [Float64Index([0.14179912843453651, 0.7963415337906501, 0.7204152328494197,\\n 0.7100552872264796, 0.16649358048069202, 0.11834726991111304,\\n 0.18583027038940803, 0.10120909224728761, 0.7229615698839564,\\n 0.7958515823977297,\\n ...\\n 0.1720093188519658, 0.7363594358499915, 0.19086317210528234,\\n 0.1936843497436719, 0.654628103598964, 0.1979866103539014,\\n 0.7780292825319143, 0.6751400967806618, 0.29382226607565826,\\n 0.11050137808400809],\\n dtype='float64', length=891)] are in the [columns]\"", "out": "54", "pred": "54"}
|
| 215 |
+
{"in": "X_test = test[[\"Pclass\", \"Sex\", \"Fare\",\"Age\",\"Embarked\",\"Survived\"]]<sep>KeyError: \"['Survived'] not in index\"", "out": "69", "pred": "69"}
|
| 216 |
+
{"in": "n = math.ceil(N/100)<sep>NameError: name 'N' is not defined", "out": "60", "pred": "60"}
|
| 217 |
+
{"in": "N,K = map(input().split())<sep>TypeError: map() must have at least two arguments.", "out": "29", "pred": "29"}
|
| 218 |
+
{"in": "hh = abs(h[n]-h[n-1])<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 219 |
+
{"in": "pandas.set_option('bento.csv',None)<sep>NameError: name 'pandas' is not defined", "out": "12", "pred": "11"}
|
| 220 |
+
{"in": "C+=1 #この意味はC=C+1<sep>IndentationError: expected an indented block (<string>, line 12)", "out": "86", "pred": "86"}
|
| 221 |
+
{"in": "D=A-B<sep>SyntaxError: invalid syntax (<string>, line 4)", "out": "125", "pred": "106"}
|
| 222 |
+
{"in": "print(\"普通体重\")<sep>IndentationError: expected an indented block (<ipython-input>, line 10)", "out": "86", "pred": "86"}
|
| 223 |
+
{"in": "df3=df3.drop('身長_y',axis=1,inplace=True)<sep>KeyError: \"['身長_y'] not found in axis\"", "out": "69", "pred": "69"}
|
| 224 |
+
{"in": "S, T =map(input().split())<sep>TypeError: map() must have at least two arguments.", "out": "29", "pred": "29"}
|
| 225 |
+
{"in": "A,B=map(int,input().split())<sep>KeyboardInterrupt:", "out": "47", "pred": "47"}
|
| 226 |
+
{"in": "(x**2 + x/sqrt(1+x**2)) * (1+(x/((1+ x**2) sqrt(1+x**2))))<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "86", "pred": "86"}
|
| 227 |
+
{"in": "form scipy.stats import pearsonr<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "15", "pred": "15"}
|
| 228 |
+
{"in": "model = RandomForestRegressor(max_depth=3)<sep>NameError: name 'RandomForestRegressor' is not defined", "out": "12", "pred": "12"}
|
| 229 |
+
{"in": "mi=[x for x in b if a[i]-ab<=ba[i]+ab]<sep>NameError: name 'ba' is not defined", "out": "60", "pred": "60"}
|
| 230 |
+
{"in": "d=1997112 #朔間零<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "123", "pred": "122"}
|
| 231 |
+
{"in": "import.math<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "98", "pred": "98"}
|
| 232 |
+
{"in": "newdata.append[]<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)", "out": "86", "pred": "86"}
|
| 233 |
+
{"in": "print(\"MSE(テスト): \", mean_squared_error(y_test, y_pred) )<sep>NameError: name 'mean_squared_error' is not defined", "out": "12", "pred": "12"}
|
| 234 |
+
{"in": "A1=repeat(A*a)<sep>TypeError: repeat() missing 1 required positional argument: 'length'", "out": "27", "pred": "30"}
|
| 235 |
+
{"in": "(/if, BMI, >=)<sep>SyntaxError: invalid syntax (<ipython-input>, line 6)", "out": "10", "pred": "106"}
|
| 236 |
+
{"in": "n.sort().reverse()<sep>AttributeError: 'NoneType' object has no attribute 'reverse'", "out": "49", "pred": "45"}
|
| 237 |
+
{"in": "plt.hist[df('スギ花粉飛散量')]<sep>TypeError: 'DataFrame' object is not callable", "out": "52", "pred": "73"}
|
| 238 |
+
{"in": "if X % 100 == 0:<sep>TypeError: not all arguments converted during string formatting", "out": "72", "pred": "72"}
|
| 239 |
+
{"in": "i.append(0)<sep>AttributeError: 'str' object has no attribute 'append'", "out": "38", "pred": "38"}
|
| 240 |
+
{"in": "rho = corr(df[column], df[column],df['住宅価格'])<sep>NameError: name 'corr' is not defined", "out": "147", "pred": "147"}
|
| 241 |
+
{"in": "plt.hist(df['西暦'], df['スギ花粉飛散量'], bins=20)<sep>TypeError: hist() got multiple values for argument 'bins'", "out": "50", "pred": "50"}
|
| 242 |
+
{"in": "A,B,C=map(input().split())<sep>TypeError: map() must have at least two arguments.", "out": "29", "pred": "29"}
|
| 243 |
+
{"in": "b=abs(int(a[i])-int(c[j]))<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 244 |
+
{"in": "BMI = w / (h*hh*h)<sep>NameError: name 'w' is not defined", "out": "60", "pred": "60"}
|
| 245 |
+
{"in": "elif Y == 2:<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 14)", "out": "93", "pred": "93"}
|
| 246 |
+
{"in": "S, T = list(map(input().split()))<sep>TypeError: map() must have at least two arguments.", "out": "29", "pred": "29"}
|
| 247 |
+
{"in": "df=pd.read_csv('file.xlsx')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'file.xlsx'", "out": "33", "pred": "33"}
|
| 248 |
+
{"in": "A = list(map(int, input().split()))<sep>SyntaxError: invalid syntax (<string>, line 4)", "out": "125", "pred": "86"}
|
| 249 |
+
{"in": "ihead boston.csv<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "116", "pred": "106"}
|
| 250 |
+
{"in": "BMI=w /h**2<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 3)", "out": "122", "pred": "122"}
|
| 251 |
+
{"in": "sklearn.metrics.mean_squared_error(X, model.predict(y))<sep>NameError: name 'sklearn' is not defined", "out": "12", "pred": "12"}
|
| 252 |
+
{"in": "class PersonW(object):<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "122", "pred": "122"}
|
| 253 |
+
{"in": "model = TheilSenRegresso()<sep>NameError: name 'TheilSenRegresso' is not defined", "out": "12", "pred": "11"}
|
| 254 |
+
{"in": "model = DecisionTreeRegression()<sep>NameError: name 'DecisionTreeRegression' is not defined", "out": "12", "pred": "12"}
|
| 255 |
+
{"in": "mse = mean_squared_error(y, y_pred)<sep>NameError: name 'y_pred' is not defined", "out": "60", "pred": "60"}
|
| 256 |
+
{"in": "p = PersonW('Jecy', 184,69,0)<sep>TypeError: __init__() takes 1 positional argument but 5 were given", "out": "26", "pred": "26"}
|
| 257 |
+
{"in": "print(”Hello World\")<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "122", "pred": "123"}
|
| 258 |
+
{"in": "print(''.sorted(int(A)))<sep>AttributeError: 'str' object has no attribute 'sorted'", "out": "73", "pred": "73"}
|
| 259 |
+
{"in": "else:<sep>IndentationError: expected an indented block (<ipython-input>, line 6)", "out": "86", "pred": "86"}
|
| 260 |
+
{"in": "X_train_pr_name, X_test_pr_name = train_test_split(df_pr_name,test_size = 0.3)<sep>NameError: name 'df_pr_name' is not defined", "out": "59", "pred": "59"}
|
| 261 |
+
{"in": "plt.plot(wights,newdata)<sep>NameError: name 'plt' is not defined", "out": "12", "pred": "12"}
|
| 262 |
+
{"in": "a = b * c + d<sep>NameError: name 'c' is not defined", "out": "62", "pred": "60"}
|
| 263 |
+
{"in": "print( A[ i ][ j ] )<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 264 |
+
{"in": "df7.drop('チーム', axis=1, inplace=True)<sep>KeyError: \"['チーム'] not found in axis\"", "out": "69", "pred": "69"}
|
| 265 |
+
{"in": "S.sort(N)<sep>TypeError: sort() takes no positional arguments", "out": "23", "pred": "23"}
|
| 266 |
+
{"in": "print(w,2f)<sep>SyntaxError: invalid syntax (<ipython-input>, line 6)", "out": "86", "pred": "86"}
|
| 267 |
+
{"in": "df.column<sep>AttributeError: 'DataFrame' object has no attribute 'column'", "out": "15", "pred": "15"}
|
| 268 |
+
{"in": "S[0],S[2] = S[2],SD[0]<sep>NameError: name 'SD' is not defined", "out": "60", "pred": "60"}
|
| 269 |
+
{"in": "if S[i] = '#':<sep>SyntaxError: invalid syntax (<string>, line 7)", "out": "132", "pred": "132"}
|
| 270 |
+
{"in": "int(A[1])<sep>IndexError: string index out of range", "out": "140", "pred": "140"}
|
| 271 |
+
{"in": "train_raw['Ticket'].head()<sep>NameError: name 'train_raw' is not defined", "out": "59", "pred": "59"}
|
| 272 |
+
{"in": "sub['disease'] = list(map(int, y_pred))<sep>NameError: name 'sub' is not defined", "out": "60", "pred": "11"}
|
| 273 |
+
{"in": "g1=a.sorted<sep>AttributeError: 'list' object has no attribute 'sorted'", "out": "34", "pred": "34"}
|
| 274 |
+
{"in": "X_train = train[[\"Age\", \"T_Bil\", \"D_Bil\", \"ALP\", \"ALT_GOT\"]]<sep>KeyError: \"['ALT_GOT'] not in index\"", "out": "69", "pred": "69"}
|
| 275 |
+
{"in": "d = X.pop() #Xから1枚とる<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "123", "pred": "123"}
|
| 276 |
+
{"in": "for i in ragne(K):<sep>NameError: name 'ragne' is not defined", "out": "11", "pred": "11"}
|
| 277 |
+
{"in": "X_test = test[[['Pclass','Sex', 'Age','Fare','Embarked']]<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 1)", "out": "89", "pred": "88"}
|
| 278 |
+
{"in": "M=8 #列数<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "123", "pred": "122"}
|
| 279 |
+
{"in": "d = (N-1-i)*A[i] - sum(A[i+1:])1<sep>SyntaxError: invalid syntax (<ipython-input>, line 6)", "out": "99", "pred": "86"}
|
| 280 |
+
{"in": "parse_digit()<sep>NameError: name 'parse_digit' is not defined", "out": "147", "pred": "11"}
|
| 281 |
+
{"in": "A=string[1:]<sep>NameError: name 'string' is not defined", "out": "11", "pred": "60"}
|
| 282 |
+
{"in": "y_pred = model.predict(X_test)<sep>SyntaxError: invalid syntax (<ipython-input>, line 15)", "out": "125", "pred": "86"}
|
| 283 |
+
{"in": "for col df. columns:('住宅価格')<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "86", "pred": "86"}
|
| 284 |
+
{"in": "S, = ','.join()<sep>TypeError: join() takes exactly one argument (0 given)", "out": "27", "pred": "27"}
|
| 285 |
+
{"in": "stone_list=[garnet, amethyst, aquamarine, diamond, emerald, pearl, ruby, peridot, sapphire, tourmaline, topaz, turquoise]<sep>NameError: name 'garnet' is not defined", "out": "15", "pred": "11"}
|
| 286 |
+
{"in": "x = int(map(int, input().split()))<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'map'", "out": "144", "pred": "144"}
|
| 287 |
+
{"in": "head()<sep>NameError: name 'head' is not defined", "out": "147", "pred": "11"}
|
| 288 |
+
{"in": "print(!head(pollen.csv))<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "103", "pred": "86"}
|
| 289 |
+
{"in": "while > = 10:<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)", "out": "92", "pred": "106"}
|
| 290 |
+
{"in": "S.append(L)<sep>AttributeError: 'dict' object has no attribute 'append'", "out": "38", "pred": "38"}
|
| 291 |
+
{"in": "df=pd.read_csv('pollen.csv',context=5)<sep>TypeError: read_csv() got an unexpected keyword argument 'context'", "out": "19", "pred": "19"}
|
| 292 |
+
{"in": "ss.append(chr(a))<sep>NameError: name 'ss' is not defined", "out": "61", "pred": "60"}
|
| 293 |
+
{"in": "p.BMI()<sep>TypeError: 'int' object is not callable", "out": "51", "pred": "51"}
|
| 294 |
+
{"in": "X = df[['川辺']]<sep>KeyError: \"None of [Index(['川辺'], dtype='object')] are in the [columns]\"", "out": "69", "pred": "69"}
|
| 295 |
+
{"in": "model =RandomForestRegressor()<sep>NameError: name 'RandomForestRegressor' is not defined", "out": "12", "pred": "12"}
|
| 296 |
+
{"in": "df3.drop('身長_y',axis=1,inplace=True)<sep>KeyError: \"['身長_y'] not found in axis\"", "out": "69", "pred": "69"}
|
| 297 |
+
{"in": "accuracy_random_forest = accurancy_score(y_test, y_pred)<sep>NameError: name 'accurancy_score' is not defined", "out": "11", "pred": "12"}
|
| 298 |
+
{"in": "sns.set(font=\"IPAexGothic\",bins=10)<sep>TypeError: set_theme() got an unexpected keyword argument 'bins'", "out": "19", "pred": "19"}
|
| 299 |
+
{"in": "x=4*a*b+3(a+b)<sep>TypeError: 'int' object is not callable", "out": "82", "pred": "8"}
|
| 300 |
+
{"in": "x = ayayayayaya<sep>NameError: name 'ayayayayaya' is not defined", "out": "65", "pred": "65"}
|
| 301 |
+
{"in": "return d<sep>SyntaxError: 'return' outside function (<ipython-input>, line 7)", "out": "137", "pred": "137"}
|
| 302 |
+
{"in": "model = BaggingRegressor(max_depth=3)<sep>NameError: name 'BaggingRegressor' is not defined", "out": "12", "pred": "12"}
|
| 303 |
+
{"in": "A.replace(X,\" \")<sep>AttributeError: 'list' object has no attribute 'replace'", "out": "37", "pred": "41"}
|
| 304 |
+
{"in": "C+=1<sep>IndentationError: expected an indented block (<string>, line 10)", "out": "86", "pred": "86"}
|
| 305 |
+
{"in": "math.sqrt(A)<sep>NameError: name 'A' is not defined", "out": "60", "pred": "60"}
|
| 306 |
+
{"in": "plt.boxplot[\"部屋数\"]<sep>TypeError: 'function' object is not subscriptable", "out": "73", "pred": "73"}
|
| 307 |
+
{"in": "print(\"Hello World\")<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "122", "pred": "123"}
|
| 308 |
+
{"in": "print(f'正解率(訓練)', model.score(X_train, y_train))<sep>NameError: name 'y_train' is not defined", "out": "60", "pred": "60"}
|
| 309 |
+
{"in": "random.shuffle(T)<sep>NameError: name 'random' is not defined", "out": "12", "pred": "12"}
|
| 310 |
+
{"in": "df.info()<sep>NameError: name 'df' is not defined", "out": "59", "pred": "59"}
|
| 311 |
+
{"in": "animals=[Sheep(),Sheep(),Sheep(),Dog('ピキ'),Dog('ハナ',Kitty('楓太'),Kitty('小梅'))]<sep>TypeError: __init__() takes 2 positional arguments but 4 were given", "out": "26", "pred": "26"}
|
| 312 |
+
{"in": "if BMI>25.00:<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "122", "pred": "122"}
|
| 313 |
+
{"in": "https://atcoder.jp/contests/abc269/tasks/abc269_a<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "10", "pred": "10"}
|
| 314 |
+
{"in": "N = int(input())<sep>SyntaxError: invalid character in identifier (<string>, line 2)", "out": "122", "pred": "122"}
|
| 315 |
+
{"in": "X = df[df2.columns[:-1]] # 価格以外を全て説明変数に<sep>KeyError: \"['in', 'or', 'あん', 'いか', 'うどん', 'おろ', 'かじき', 'かつ', 'から', 'きのこ', 'くり', 'ごね', 'ご飯', 'さっ', 'さわら', 'さん', 'さんま', 'しゃぶ', 'すき焼き', 'たっぷり', 'ぬき', 'ねぎ', 'ひやし', 'ひれ', 'ぶり', 'ます', 'やわらか', 'アジ', 'イカ', 'エビ', 'カキフライタルタル', 'カシュー', 'カッシュナッツ', 'カツ', 'カルビ', 'カレイ', 'カレー', 'キス', 'キムチ', 'キャベツ', 'キーマカレー', 'クノーデル', 'クリ', 'クリーミ', 'クリーム', 'クリームチーズ', 'コロッケ', 'コーン', 'ゴーヤチャンプルー', 'サバ', 'サム', 'サーモン', 'サーモンフライ', 'シチュー', 'シャブ', 'ジャンボチキンカツ', 'ジューシーメンチカツ', 'ジョン', 'スイートチリソース', 'スキヤキ', 'スタミナ', 'ステーキ', 'ソテー', 'ソース', 'ソーセージ', 'タルタル', 'タンドリーチキン', 'チキン', 'チキンクリームシチュー', 'チャプチェ', 'チリ', 'チンジャオロース', 'チーズ', 'チーズメンチカツ', 'デミ', 'トマト', 'トンカツ', 'ナッツ', 'ニンニク', 'ハムカツ', 'ハヤシ', 'ハンバーグ', 'ハンバーグカレーソース', 'ハンバーグケッチャップソース', 'ハンバーグデミソース', 'バター', 'バーベキュー', 'ヒレ', 'ビッグメンチカツ', 'ビュッフェ', 'ビーフ', 'ビーフカレー', 'ビーフストロガノフ', 'ピザ', 'ピリ', 'フライ', 'フライタルタル', 'フリカッセ', 'プルコギ', 'ベーコン', 'ホタテ', 'ボローニャ', 'ポーク', 'マスタード', 'マヨ', 'マーボ', 'ムシチュー', 'ムニエル', 'メダイ', 'メンチ', 'ランチ', 'レモンペッパー', 'ロコモコ', 'ロース', '中華', '串カツ', '五目', '入り', '切り', '南蛮', '南部', '名古屋', '味���', '和風', '団子', '天ぷら', '山賊', '御飯', '手作り', '掛け', '揚げ', '梗菜牛', '洋食', '海老', '添え', '漬け', '炊き込み', '炒め', '焼き', '焼き肉', '照り', '牛肉', '玉子', '甘味噌', '甘辛', '甘酢', '生姜', '白身', '筑前', '肉じゃが', '胡麻', '茄子', '親子', '豆腐', '豚肉', '越冬', '辛味', '辛味噌', '酢豚', '野菜', '韓国'] not in index\"", "out": "69", "pred": "69"}
|
| 316 |
+
{"in": "print(corr(df['築年'],df['住宅価格']))<sep>NameError: name 'corr' is not defined", "out": "147", "pred": "147"}
|
| 317 |
+
{"in": "a+b+c<=S and a*b*c<=T<sep>IndentationError: expected an indented block (<string>, line 9)", "out": "86", "pred": "86"}
|
| 318 |
+
{"in": "n=math.ceil(n/100)<sep>NameError: name 'n' is not defined", "out": "60", "pred": "60"}
|
| 319 |
+
{"in": "y_test = test[\"disease\"]<sep>KeyError: 'disease'", "out": "69", "pred": "69"}
|
| 320 |
+
{"in": "cross_val_score(モデル, X, y, cv=5, scoring='r2')<sep>NameError: name 'cross_val_score' is not defined", "out": "12", "pred": "12"}
|
| 321 |
+
{"in": "print(H.index(index(hashi)))<sep>NameError: name 'index' is not defined", "out": "151", "pred": "151"}
|
| 322 |
+
{"in": "n=len(A)//2<sep>NameError: name 'A' is not defined", "out": "60", "pred": "60"}
|
| 323 |
+
{"in": "a=x[len[x]-1]<sep>TypeError: 'builtin_function_or_method' object is not subscriptable", "out": "73", "pred": "73"}
|
| 324 |
+
{"in": "X = df[['weather_num','precipiation_num']]<sep>KeyError: \"['precipiation_num'] not in index\"", "out": "69", "pred": "69"}
|
| 325 |
+
{"in": "plt.hist(alldata.Ticket.value_counts())<sep>NameError: name 'alldata' is not defined", "out": "59", "pred": "60"}
|
| 326 |
+
{"in": "plt.plot(log.loss_curve_)<sep>NameError: name 'log' is not defined", "out": "60", "pred": "60"}
|
| 327 |
+
{"in": "rls.to_csv(\"result.csv\", index=False)<sep>NameError: name 'rls' is not defined", "out": "60", "pred": "11"}
|
| 328 |
+
{"in": "plt.plot(df['西暦'],de['降水量'])<sep>NameError: name 'de' is not defined", "out": "11", "pred": "11"}
|
| 329 |
+
{"in": "a(0)=1<sep>SyntaxError: can't assign to function call (<ipython-input>, line 2)", "out": "129", "pred": "129"}
|
| 330 |
+
{"in": "a=S[-n:]<sep>NameError: name 'n' is not defined", "out": "60", "pred": "60"}
|
| 331 |
+
{"in": "pollen.mean(df['平均気温'])<sep>NameError: name 'df' is not defined", "out": "59", "pred": "59"}
|
| 332 |
+
{"in": "print ('体重', w '身長', h)<sep>SyntaxError: invalid syntax (<ipython-input>, line 5)", "out": "110", "pred": "110"}
|
| 333 |
+
{"in": "for col in df columns:<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "86", "pred": "86"}
|
| 334 |
+
{"in": "print('Takahashi')<sep>SyntaxError: invalid syntax (<string>, line 5)", "out": "125", "pred": "125"}
|
| 335 |
+
{"in": "print('相関係数:',r)<sep>NameError: name 'r' is not defined", "out": "60", "pred": "60"}
|
| 336 |
+
{"in": "vec[i][w]+=wa2.count(word(w))<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 337 |
+
{"in": "scipy.stats.kstest(, 'norm')<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "104", "pred": "15"}
|
| 338 |
+
{"in": "int num reversed(int original)<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "101", "pred": "101"}
|
| 339 |
+
{"in": "(x-1)*(x+2)-12*15=0<sep>SyntaxError: can't assign to operator (<ipython-input>, line 1)", "out": "129", "pred": "129"}
|
| 340 |
+
{"in": "v<sep>NameError: name 'v' is not defined", "out": "60", "pred": "60"}
|
| 341 |
+
{"in": "for col in df.colums:<sep>AttributeError: 'DataFrame' object has no attribute 'colums'", "out": "15", "pred": "15"}
|
| 342 |
+
{"in": "X = df['tempoture'] #一つ選ぶ<sep>KeyError: 'tempoture'", "out": "69", "pred": "69"}
|
| 343 |
+
{"in": "print(a.split())<sep>AttributeError: 'list' object has no attribute 'split'", "out": "41", "pred": "41"}
|
| 344 |
+
{"in": ">>>np.linalg.norm(X, ord = 0)<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "99", "pred": "86"}
|
| 345 |
+
{"in": "k[0]=S[1]<sep>NameError: name 'k' is not defined", "out": "60", "pred": "60"}
|
| 346 |
+
{"in": "x = log(n)<sep>NameError: name 'log' is not defined", "out": "12", "pred": "147"}
|
| 347 |
+
{"in": "plt.hist(df['住宅価格']),bins=20<sep>SyntaxError: can't assign to function call (<ipython-input>, line 1)", "out": "111", "pred": "111"}
|
| 348 |
+
{"in": "h.appned(r)<sep>AttributeError: 'list' object has no attribute 'appned'", "out": "15", "pred": "15"}
|
| 349 |
+
{"in": "X_train_numa_p = pd.read_csv('my-drive/nuna-chan/train_Numa_print.csv')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'my-drive/nuna-chan/train_Numa_print.csv'", "out": "33", "pred": "33"}
|
| 350 |
+
{"in": "for i in range(b)):<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)", "out": "86", "pred": "86"}
|
| 351 |
+
{"in": "n[0], n[4] = n[4], n[0]<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 352 |
+
{"in": "df['職業']=df['Jリーガー']<sep>KeyError: 'Jリーガー'", "out": "69", "pred": "69"}
|
| 353 |
+
{"in": "print C =(((A-3)/3) + B)<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)", "out": "134", "pred": "125"}
|
| 354 |
+
{"in": "y_pred = clf.predict(X_test)<sep>NameError: name 'X_test' is not defined", "out": "60", "pred": "60"}
|
| 355 |
+
{"in": "n = name<sep>NameError: name 'name' is not defined", "out": "60", "pred": "60"}
|
| 356 |
+
{"in": "ascending(df['平均気温'])<sep>NameError: name 'ascending' is not defined", "out": "147", "pred": "11"}
|
| 357 |
+
{"in": "model.fit('平均気温', '杉花粉')<sep>NameError: name 'model' is not defined", "out": "60", "pred": "60"}
|
| 358 |
+
{"in": "df['犯罪率',\"住宅価格\"]<sep>KeyError: ('犯罪率', '住宅価格')", "out": "85", "pred": "85"}
|
| 359 |
+
{"in": "sns.scatterplot(data=df, x='pc1', y='pc2', hue='label')<sep>NameError: name 'df' is not defined", "out": "59", "pred": "59"}
|
| 360 |
+
{"in": "e**x<sep>NameError: name 'e' is not defined", "out": "60", "pred": "60"}
|
| 361 |
+
{"in": "50 <= B <= A <=300<sep>SyntaxError: invalid character in identifier (<string>, line 3)", "out": "122", "pred": "122"}
|
| 362 |
+
{"in": "plt.plot(x=df['西暦'], y=df['降水量'])<sep>TypeError: plot got an unexpected keyword argument 'x'", "out": "19", "pred": "19"}
|
| 363 |
+
{"in": "plt.plot(range(len(predict_list)), predict_list , label='Predicted')<sep>NameError: name 'predict_list' is not defined", "out": "60", "pred": "60"}
|
| 364 |
+
{"in": "plt.scatter(df['部活'], df['勉強時間'], alpha=0.5)<sep>KeyError: '勉強時間'", "out": "69", "pred": "69"}
|
| 365 |
+
{"in": "sns.histplot(df['スギ花粉飛散量'],df['平均気温'])<sep>TypeError: histplot() takes from 0 to 1 positional arguments but 2 were given", "out": "23", "pred": "26"}
|
| 366 |
+
{"in": "if X%100==0 and Xn==0:<sep>NameError: name 'Xn' is not defined", "out": "60", "pred": "60"}
|
| 367 |
+
{"in": "sns.countplot(x='G3',hue='性別', data=df, color=\"#ffadad\",\"#87CEFA\")<sep>SyntaxError: positional argument follows keyword argument (<ipython-input>, line 2)", "out": "111", "pred": "113"}
|
| 368 |
+
{"in": "s. sorted(s)<sep>AttributeError: 'list' object has no attribute 'sorted'", "out": "34", "pred": "34"}
|
| 369 |
+
{"in": "plt.hist(スギ花粉飛散量)<sep>NameError: name 'スギ花粉飛散量' is not defined", "out": "65", "pred": "65"}
|
| 370 |
+
{"in": "w= 42<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "122", "pred": "122"}
|
| 371 |
+
{"in": "elif B==c:<sep>NameError: name 'c' is not defined", "out": "60", "pred": "60"}
|
| 372 |
+
{"in": "df.drop('平均気温',axis=1,head(5))<sep>SyntaxError: positional argument follows keyword argument (<ipython-input>, line 1)", "out": "111", "pred": "113"}
|
| 373 |
+
{"in": "summ+=(1/n)<sep>NameError: name 'n' is not defined", "out": "60", "pred": "60"}
|
| 374 |
+
{"in": "i += 1<sep>IndentationError: unexpected indent (<ipython-input>, line 33)", "out": "107", "pred": "107"}
|
| 375 |
+
{"in": "if A[H][W]+A[H+1][W+1]>A[H+1][W]+A[H][W+1]:<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 376 |
+
{"in": "for w in range(40, 100. 5):<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)", "out": "86", "pred": "86"}
|
| 377 |
+
{"in": "print('🐣',end='')<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 8)", "out": "123", "pred": "122"}
|
| 378 |
+
{"in": "plt.scatter(df['犯罪率'],df['低所得率'],alpha=0.5,color='green')plt.xlim(0,0.1)<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)", "out": "15", "pred": "86"}
|
| 379 |
+
{"in": "BMI >= 18.50:<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)", "out": "86", "pred": "106"}
|
| 380 |
+
{"in": "y+=d<sep>NameError: name 'd' is not defined", "out": "60", "pred": "63"}
|
| 381 |
+
{"in": "c=x.a<sep>AttributeError: 'int' object has no attribute 'a'", "out": "73", "pred": "73"}
|
| 382 |
+
{"in": "print(A[i])<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 383 |
+
{"in": "print(i,j)<sep>IndentationError: expected an indented block (<string>, line 15)", "out": "86", "pred": "86"}
|
| 384 |
+
{"in": "print(m.ceil((Y-X)/10))<sep>NameError: name 'm' is not defined", "out": "60", "pred": "60"}
|
| 385 |
+
{"in": "null_val = df.isnull().sum()<sep>IndentationError: expected an indented block (<ipython-input>, line 2)", "out": "86", "pred": "86"}
|
| 386 |
+
{"in": "model.fit('平均気温', 'スギ花粉飛散量')<sep>NameError: name 'model' is not defined", "out": "60", "pred": "60"}
|
| 387 |
+
{"in": "if int(S[2])==3:<sep>IndexError: string index out of range", "out": "140", "pred": "140"}
|
| 388 |
+
{"in": "print((a*d)-(c:b))<sep>SyntaxError: invalid syntax (<string>, line 4)", "out": "15", "pred": "125"}
|
| 389 |
+
{"in": "a=[a,s,c]<sep>NameError: name 'a' is not defined", "out": "65", "pred": "60"}
|
| 390 |
+
{"in": "r#ound(\"n\" ,num1)<sep>NameError: name 'r' is not defined", "out": "60", "pred": "60"}
|
| 391 |
+
{"in": "print(df[母学歴].value_counts())<sep>NameError: name '母学歴' is not defined", "out": "65", "pred": "65"}
|
| 392 |
+
{"in": "b = (50.0, 100.0 * math.sin(th))<sep>NameError: name 'th' is not defined", "out": "60", "pred": "60"}
|
| 393 |
+
{"in": "a += (1/((2*n)-1)) * ((-1)**(n+!))<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)", "out": "15", "pred": "86"}
|
| 394 |
+
{"in": "df.stats.pearsonr('降水量', 'スギ花粉飛散量')<sep>AttributeError: 'DataFrame' object has no attribute 'stats'", "out": "13", "pred": "13"}
|
| 395 |
+
{"in": "summ+=(1/num)<sep>NameError: name 'summ' is not defined", "out": "63", "pred": "63"}
|
| 396 |
+
{"in": "for column2 in df.column[:-1]:<sep>AttributeError: 'DataFrame' object has no attribute 'column'", "out": "15", "pred": "15"}
|
| 397 |
+
{"in": "pd.pivot_table(df, index=\"血液型\" , colums=\"身長\")<sep>TypeError: pivot_table() got an unexpected keyword argument 'colums'", "out": "19", "pred": "19"}
|
| 398 |
+
{"in": "A,B,C=map(int,input().split())<sep>KeyboardInterrupt:", "out": "47", "pred": "47"}
|
| 399 |
+
{"in": "if janken()<sep>SyntaxError: invalid syntax (<ipython-input>, line 35)", "out": "106", "pred": "115"}
|
| 400 |
+
{"in": "np.random.<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "15", "pred": "98"}
|
| 401 |
+
{"in": "i.append('0')<sep>AttributeError: 'str' object has no attribute 'append'", "out": "38", "pred": "38"}
|
| 402 |
+
{"in": "plt.figure(figsize=(7, 7))<sep>NameError: name 'plt' is not defined", "out": "12", "pred": "12"}
|
| 403 |
+
{"in": "df['平均気温']<sep>KeyError: '平均気温'", "out": "69", "pred": "69"}
|
| 404 |
+
{"in": "s[:pos], pos[pos+1:] => rpartition<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)", "out": "10", "pred": "86"}
|
| 405 |
+
{"in": "df= read_csv('pollen.csv', sep=',')<sep>NameError: name 'read_csv' is not defined", "out": "12", "pred": "12"}
|
| 406 |
+
{"in": "sorted(df['平均気温']).ascend()<sep>AttributeError: 'list' object has no attribute 'ascend'", "out": "4", "pred": "15"}
|
| 407 |
+
{"in": "train['area'] = le.fit_transform(train['area'])<sep>KeyError: 'area'", "out": "69", "pred": "69"}
|
| 408 |
+
{"in": "df3.drop('身長_y', axis=1, inplace=True)<sep>KeyError: \"['身長_y'] not found in axis\"", "out": "69", "pred": "69"}
|
| 409 |
+
{"in": "A, B = map(int,input().split())<sep>KeyboardInterrupt:", "out": "47", "pred": "47"}
|
| 410 |
+
{"in": "r,p=pearsonrr(df[column],df['G3'])<sep>NameError: name 'pearsonrr' is not defined", "out": "11", "pred": "11"}
|
| 411 |
+
{"in": "x=random.random()<sep>NameError: name 'random' is not defined", "out": "12", "pred": "12"}
|
| 412 |
+
{"in": "X_train = X_train_c1_a_05[[ 'p', 'r', 'i', 'n', 't', 'Shift', '(' ]]<sep>KeyError: \"None of [Index(['p', 'r', 'i', 'n', 't', 'Shift', '('], dtype='object')] are in the [columns]\"", "out": "69", "pred": "70"}
|
| 413 |
+
{"in": "c.add(c2)#c2のカウントを足す<sep>AttributeError: 'Counter' object has no attribute 'add'", "out": "68", "pred": "68"}
|
| 414 |
+
{"in": "sns.boxplot(x=df['学校名'], y=df['最終成績'], order=order_by)<sep>KeyError: '最終成績'", "out": "69", "pred": "69"}
|
| 415 |
+
{"in": "print(sep(x))<sep>NameError: name 'sep' is not defined", "out": "147", "pred": "11"}
|
| 416 |
+
{"in": "X_train, X_test, y_train, y_test = train_test_split(X, y,test_size=10000, random_state=0,<sep>NameError: name 'X' is not defined", "out": "60", "pred": "60"}
|
| 417 |
+
{"in": "sum(n)+=i<sep>SyntaxError: can't assign to function call (<ipython-input>, line 3)", "out": "129", "pred": "129"}
|
| 418 |
+
{"in": "procedure bubbleSort( A : list of sortable items ) defined as:<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "101", "pred": "101"}
|
| 419 |
+
{"in": "N=n.replace('1','9')<sep>AttributeError: 'int' object has no attribute 'replace'", "out": "41", "pred": "41"}
|
| 420 |
+
{"in": "if l[2*i]>l[2*i+1]:<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 421 |
+
{"in": "ans = min(ans, abs(Ai-B[j]), abs(Ai-B[j+1]))<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 422 |
+
{"in": "plt.hist(df['住宅価格'],bin=20)<sep>AttributeError: 'Rectangle' object has no property 'bin'", "out": "15", "pred": "15"}
|
| 423 |
+
{"in": "keys_list(df_key['keys'][0])<sep>KeyError: 0", "out": "54", "pred": "69"}
|
| 424 |
+
{"in": "df6.drop('生年月日','ポジション','背番号','投', axis=1, inplace=True)<sep>TypeError: drop() got multiple values for argument 'axis'", "out": "50", "pred": "50"}
|
| 425 |
+
{"in": "train['Cabin'].describe()<sep>KeyError: 'Cabin'", "out": "69", "pred": "69"}
|
| 426 |
+
{"in": "aa=a.sorted()<sep>AttributeError: 'list' object has no attribute 'sorted'", "out": "34", "pred": "34"}
|
| 427 |
+
{"in": "def __init__(self, name height, weight):<sep>SyntaxError: invalid syntax (<ipython-input>, line 5)", "out": "110", "pred": "86"}
|
| 428 |
+
{"in": "df.drop('datetime', axis=1, inplace=True)<sep>KeyError: \"['datetime'] not found in axis\"", "out": "69", "pred": "69"}
|
| 429 |
+
{"in": "if X[i] == X[i+1]:<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 430 |
+
{"in": "df['住宅価格'].descrie()<sep>AttributeError: 'Series' object has no attribute 'descrie'", "out": "15", "pred": "15"}
|
| 431 |
+
{"in": "X_train = train[['Sex', 'Age', 'Fare','SibSp','Pclass','parch']]<sep>KeyError: \"['parch'] not in index\"", "out": "69", "pred": "69"}
|
| 432 |
+
{"in": "plt.scatter(df['降水量'], df['スギ花粉飛散量'])<sep>NameError: name 'df' is not defined", "out": "59", "pred": "59"}
|
| 433 |
+
{"in": "X = ['Pclass', 'Age', 'Sex', 'SibSp', 'Parch', 'Fare'].values<sep>AttributeError: 'list' object has no attribute 'values'", "out": "36", "pred": "36"}
|
| 434 |
+
{"in": "df = pd.DataFrame({'PassengerId','sex': test['PassengerId'<'sex'], 'Survived': y_pred})<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)", "out": "86", "pred": "86"}
|
| 435 |
+
{"in": "X = df[[[column],[column]]]<sep>KeyError: \"None of [Index([('犯罪率',), ('犯罪率',)], dtype='object')] are in the [columns]\"", "out": "70", "pred": "70"}
|
| 436 |
+
{"in": "train = train.drop([ \"PassengerId\"] , axis = 1)<sep>KeyError: \"['PassengerId'] not found in axis\"", "out": "69", "pred": "69"}
|
| 437 |
+
{"in": "s[:pos], pos[pos+1:] => rpartition<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)", "out": "10", "pred": "86"}
|
| 438 |
+
{"in": "print(c[j][i])<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 439 |
+
{"in": "for n in range(100,1000,10)<sep>SyntaxError: invalid syntax (<string>, line 3)", "out": "106", "pred": "115"}
|
| 440 |
+
{"in": "df = pd.concat([train_df, test_df], ignore_index=True)<sep>NameError: name 'train_df' is not defined", "out": "59", "pred": "59"}
|
| 441 |
+
{"in": "X_test = test['Pclass','Sex', 'Age','Fare','Embarked']<sep>KeyError: ('Pclass', 'Sex', 'Age', 'Fare', 'Embarked')", "out": "85", "pred": "85"}
|
| 442 |
+
{"in": "print(no.array(scores).mean())<sep>NameError: name 'no' is not defined", "out": "60", "pred": "60"}
|
| 443 |
+
{"in": "plt.hist(df[\"文字数\"])<sep>NameError: name 'df' is not defined", "out": "59", "pred": "59"}
|
| 444 |
+
{"in": "X = df[['temperature', 'curry','month','week_num','weather_num','kcal','day','otanoshimi','soldout','name_num','payday','event_num','pceipitation_num']]<sep>KeyError: \"['pceipitation_num'] not in index\"", "out": "69", "pred": "69"}
|
| 445 |
+
{"in": "else<sep>SyntaxError: invalid syntax (<string>, line 5)", "out": "115", "pred": "115"}
|
| 446 |
+
{"in": "animals = [Chikin(), Penguin(), Sheep(), Dog('Hachi')]<sep>TypeError: __init__() missing 1 required positional argument: 'name'", "out": "30", "pred": "30"}
|
| 447 |
+
{"in": "print(pi*4)<sep>NameError: name 'pi' is not defined", "out": "60", "pred": "60"}
|
| 448 |
+
{"in": "print(\"MSE: \", mean_squared_error(_test, y_pred))<sep>NameError: name '_test' is not defined", "out": "60", "pred": "60"}
|
| 449 |
+
{"in": "BMI=w/(h * h)<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 3)", "out": "122", "pred": "122"}
|
| 450 |
+
{"in": "class Dog(onject):<sep>NameError: name 'onject' is not defined", "out": "11", "pred": "11"}
|
| 451 |
+
{"in": "print(col)<sep>NameError: name 'col' is not defined", "out": "60", "pred": "60"}
|
| 452 |
+
{"in": "データフレームをcsvファイルに保存<sep>NameError: name 'データフレームをcsvファイルに保存' is not defined", "out": "10", "pred": "10"}
|
| 453 |
+
{"in": "n = map(int(input().split()))<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'", "out": "144", "pred": "144"}
|
| 454 |
+
{"in": "k_l.append([i.j])<sep>AttributeError: 'str' object has no attribute 'j'", "out": "73", "pred": "38"}
|
| 455 |
+
{"in": "X_train = X_train_all[sample_list]<sep>KeyError: \"None of [Index([('ArrowRight', 'ArrowRight'), ('ArrowRight', '='),\\n ('ArrowRight', 'h'), ('ArrowRight', 'SPACE'),\\n ('ArrowRight', 'b'), ('ArrowRight', 'r'),\\n ('ArrowRight', ','), ('ArrowRight', 'g'),\\n ('ArrowRight', 'm'), ('ArrowRight', ']'),\\n ...\\n (')', 'f'), (')', '0'),\\n (')', '['), (')', 'y'),\\n (')', 'c'), (')', 't'),\\n (')', 'x'), (')', 'Backspace'),\\n (')', 'n'), (')', ')')],\\n dtype='object', length=1600)] are in the [columns]\"", "out": "69", "pred": "70"}
|
| 456 |
+
{"in": "n+=int(i)-int(min(A))<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'", "out": "144", "pred": "144"}
|
| 457 |
+
{"in": "A < 300<sep>NameError: name 'A' is not defined", "out": "60", "pred": "60"}
|
| 458 |
+
{"in": "for i in range(l[N][0], l[N][1]):<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 459 |
+
{"in": "print(token)<sep>NameError: name 'token' is not defined", "out": "60", "pred": "60"}
|
| 460 |
+
{"in": "prin(ans)<sep>NameError: name 'prin' is not defined", "out": "11", "pred": "11"}
|
| 461 |
+
{"in": "scipy.stats.pearsonr(df['降水量'], df['スギ花粉飛散量'])<sep>NameError: name 'scipy' is not defined", "out": "12", "pred": "12"}
|
| 462 |
+
{"in": "if i!=int(min(A)):<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'", "out": "144", "pred": "144"}
|
| 463 |
+
{"in": "x = chr(p[i] + 26)<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 464 |
+
{"in": ">>>出力結果<sep>SyntaxError: invalid syntax (<ipython-input>, line 5)", "out": "100", "pred": "106"}
|
| 465 |
+
{"in": "plt.figure(figsize=15,15)<sep>SyntaxError: positional argument follows keyword argument (<ipython-input>, line 1)", "out": "111", "pred": "113"}
|
| 466 |
+
{"in": "index(a.min())<sep>NameError: name 'index' is not defined", "out": "147", "pred": "151"}
|
| 467 |
+
{"in": "A.sort()<sep>NameError: name 'A' is not defined", "out": "60", "pred": "60"}
|
| 468 |
+
{"in": "if x%2==0:<sep>IndentationError: expected an indented block (<ipython-input>, line 2)", "out": "86", "pred": "86"}
|
| 469 |
+
{"in": "plt.plot(x='西暦',y='降水量')<sep>TypeError: plot got an unexpected keyword argument 'x'", "out": "19", "pred": "19"}
|
| 470 |
+
{"in": "x+=A[i]<sep>NameError: name 'x' is not defined", "out": "63", "pred": "63"}
|
| 471 |
+
{"in": "PersonW.info()<sep>TypeError: info() missing 1 required positional argument: 'self'", "out": "30", "pred": "30"}
|
| 472 |
+
{"in": "df_y = df[0]<sep>KeyError: 0", "out": "54", "pred": "69"}
|
| 473 |
+
{"in": "moji = chr(P[j+97])<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 474 |
+
{"in": "if s[-3]==i:<sep>NameError: name 'i' is not defined", "out": "60", "pred": "60"}
|
| 475 |
+
{"in": "N.instert(0,0)<sep>AttributeError: 'str' object has no attribute 'instert'", "out": "15", "pred": "37"}
|
| 476 |
+
{"in": "X_train_numa_p = pd.read_csv(\"/Users:/shion/Desktop/OJT/numa-chan/train_Numa_print.csv\")<sep>FileNotFoundError: [Errno 2] No such file or directory: '/Users:/shion/Desktop/OJT/numa-chan/train_Numa_print.csv'", "out": "33", "pred": "33"}
|
| 477 |
+
{"in": "df4 = pd.merge(df, df2, df3, on=('身長', '体重'), how='outer')<sep>TypeError: merge() got multiple values for argument 'how'", "out": "50", "pred": "50"}
|
| 478 |
+
{"in": "a.remove(k)<sep>NameError: name 'k' is not defined", "out": "60", "pred": "60"}
|
| 479 |
+
{"in": "<sep>NameError: name 'b' is not defined", "out": "60", "pred": "60"}
|
| 480 |
+
{"in": "平均値=df['通勤'].mean()<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "122", "pred": "122"}
|
| 481 |
+
{"in": "D=A−B<sep>SyntaxError: invalid character in identifier (<string>, line 4)", "out": "122", "pred": "122"}
|
| 482 |
+
{"in": "df.drop('ポジション',axis=1,inplsce=True)<sep>TypeError: drop() got an unexpected keyword argument 'inplsce'", "out": "19", "pred": "19"}
|
| 483 |
+
{"in": "print(x\"は偶数です\")<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)", "out": "110", "pred": "110"}
|
| 484 |
+
{"in": "S, T = map(str, input().split())<sep>KeyboardInterrupt:", "out": "47", "pred": "47"}
|
| 485 |
+
{"in": "if (S[2*i-1].isupper() or S[2*i].islower()) and 2*i-1<=len(S):<sep>IndexError: string index out of range", "out": "140", "pred": "140"}
|
| 486 |
+
{"in": "scpiy.stats.pearsonr('降水量', 'スギ花粉飛散量')<sep>NameError: name 'scpiy' is not defined", "out": "12", "pred": "11"}
|
| 487 |
+
{"in": "b=A[e]<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 488 |
+
{"in": "return self._sslobj.read(len, buffer)<sep>KeyboardInterrupt:", "out": "47", "pred": "47"}
|
| 489 |
+
{"in": "show(lives)<sep>NameError: name 'show' is not defined", "out": "147", "pred": "147"}
|
| 490 |
+
{"in": "print(AB)<sep>NameError: name 'AB' is not defined", "out": "64", "pred": "60"}
|
| 491 |
+
{"in": "df('犯罪率')<sep>TypeError: 'DataFrame' object is not callable", "out": "52", "pred": "80"}
|
| 492 |
+
{"in": "X = df[['資産','築年']]<sep>KeyError: \"['資産'] not in index\"", "out": "69", "pred": "69"}
|
| 493 |
+
{"in": "r=corr(df[col],df.['G3'])<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)", "out": "86", "pred": "86"}
|
| 494 |
+
{"in": "test['Sex'] = test['Sex'].map(int(){'male':0, 'female':1})<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)", "out": "99", "pred": "86"}
|
| 495 |
+
{"in": "plt.plot(h,weight,label=\"BMI18\")<sep>NameError: name 'weight' is not defined", "out": "60", "pred": "60"}
|
| 496 |
+
{"in": "df = pd.read_csv(\"file.tsv\")<sep>NameError: name 'pd' is not defined", "out": "12", "pred": "12"}
|
| 497 |
+
{"in": "l=print(str(m.replace('1','9')))<sep>AttributeError: 'NoneType' object has no attribute 'replace'", "out": "45", "pred": "45"}
|
| 498 |
+
{"in": "a,b,c,d=map(int,input.split())<sep>AttributeError: 'function' object has no attribute 'split'", "out": "86", "pred": "41"}
|
| 499 |
+
{"in": "hanoi(4, x, y, z)<sep>NameError: name 'x' is not defined", "out": "60", "pred": "60"}
|
| 500 |
+
{"in": "while i<n:<sep>NameError: name 'n' is not defined", "out": "60", "pred": "60"}
|
| 501 |
+
{"in": "S.add(L)<sep>AttributeError: 'dict' object has no attribute 'add'", "out": "46", "pred": "46"}
|
| 502 |
+
{"in": "if A==B:<sep>SyntaxError: invalid syntax (<string>, line 3)", "out": "125", "pred": "115"}
|
| 503 |
+
{"in": "mount[a] = int(b)<sep>NameError: name 'mount' is not defined", "out": "60", "pred": "60"}
|
| 504 |
+
{"in": "print(f'{int(d[y,x]):3d}', end=' ')<sep>NameError: name 'd' is not defined", "out": "60", "pred": "60"}
|
| 505 |
+
{"in": "X = ','. joined(ST)<sep>AttributeError: 'str' object has no attribute 'joined'", "out": "15", "pred": "15"}
|
| 506 |
+
{"in": "k=int(print())<sep>TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'", "out": "144", "pred": "144"}
|
| 507 |
+
{"in": "'N'='list'(map(int,input().split()))<sep>SyntaxError: can't assign to literal (<string>, line 2)", "out": "127", "pred": "127"}
|
| 508 |
+
{"in": "plt.scatter(df['部屋数'],df['住宅価格'],alpha=0.5,cplor=purple)<sep>NameError: name 'purple' is not defined", "out": "65", "pred": "65"}
|
| 509 |
+
{"in": "df.read_csv('pollen.csv', sep='\\t')<sep>NameError: name 'df' is not defined", "out": "11", "pred": "11"}
|
| 510 |
+
{"in": "'AST_GOT,<sep>SyntaxError: EOL while scanning string literal (<ipython-input>, line 6)", "out": "131", "pred": "131"}
|
| 511 |
+
{"in": "print(math.mod(N / 100))<sep>NameError: name 'math' is not defined", "out": "12", "pred": "12"}
|
| 512 |
+
{"in": "s.append('1 2')<sep>AttributeError: 'str' object has no attribute 'append'", "out": "38", "pred": "38"}
|
| 513 |
+
{"in": "A,B,(map(int,input().splist())<sep>SyntaxError: unexpected EOF while parsing (<string>, line 2)", "out": "88", "pred": "88"}
|
| 514 |
+
{"in": "A, B = map(int, input().split())<sep>KeyboardInterrupt: Interrupted by user", "out": "47", "pred": "47"}
|
| 515 |
+
{"in": "elif<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)", "out": "90", "pred": "99"}
|
| 516 |
+
{"in": "df = pd.read_csv('pollen,csv')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'pollen,csv'", "out": "33", "pred": "33"}
|
| 517 |
+
{"in": "df4 = pd.merge(df, df2, df3, on='名前',how='outer')<sep>TypeError: merge() got multiple values for argument 'how'", "out": "50", "pred": "50"}
|
| 518 |
+
{"in": "if S[3-1] == S[4-1] and S[5-1] == S[6-1]:<sep>IndexError: tuple index out of range", "out": "138", "pred": "139"}
|
| 519 |
+
{"in": "s = s/lower()<sep>NameError: name 'lower' is not defined", "out": "79", "pred": "60"}
|
| 520 |
+
{"in": "df = pd.read_csv('ja.csv')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'ja.csv'", "out": "33", "pred": "33"}
|
| 521 |
+
{"in": "test=pd.read_csv(\"test.csv\")<sep>FileNotFoundError: [Errno 2] No such file or directory: 'test.csv'", "out": "33", "pred": "33"}
|
| 522 |
+
{"in": "r=s.remove(0,2)<sep>TypeError: remove() takes exactly one argument (2 given)", "out": "23", "pred": "24"}
|
| 523 |
+
{"in": "y_pred = model.predict(X_test)<sep>AttributeError: 'PolynomialFeatures' object has no attribute 'predict'", "out": "42", "pred": "42"}
|
| 524 |
+
{"in": "Sx,Sy,Gx,Gy=map(int, input().split(),'{:10}'.format(num))<sep>NameError: name 'num' is not defined", "out": "60", "pred": "60"}
|
| 525 |
+
{"in": "df.data()<sep>NameError: name 'df' is not defined", "out": "59", "pred": "59"}
|
| 526 |
+
{"in": "print(f'N={i}'.calc_pi(i))<sep>AttributeError: 'str' object has no attribute 'calc_pi'", "out": "109", "pred": "73"}
|
| 527 |
+
{"in": "for x in range(M):<sep>IndentationError: unexpected indent (<ipython-input>, line 3)", "out": "107", "pred": "107"}
|
| 528 |
+
{"in": "newdata.append(BMI1)<sep>NameError: name 'BMI1' is not defined", "out": "60", "pred": "60"}
|
| 529 |
+
{"in": "a == 0<sep>NameError: name 'a' is not defined", "out": "60", "pred": "60"}
|
| 530 |
+
{"in": "X = df[['temperature']] #一つ選ぶ<sep>KeyError: \"None of [Index(['temperature'], dtype='object')] are in the [columns]\"", "out": "69", "pred": "69"}
|
| 531 |
+
{"in": "return float(s)<sep>IndentationError: unexpected indent (<ipython-input>, line 3)", "out": "107", "pred": "107"}
|
| 532 |
+
{"in": "c=Counter()<sep>NameError: name 'Counter' is not defined", "out": "149", "pred": "149"}
|
| 533 |
+
{"in": "print(int(float('A',K)))<sep>TypeError: float expected at most 1 arguments, got 2", "out": "23", "pred": "23"}
|
| 534 |
+
{"in": "for i in range():<sep>TypeError: range expected 1 arguments, got 0", "out": "27", "pred": "27"}
|
| 535 |
+
{"in": "y_pred = model.predect(X)<sep>AttributeError: 'LinearRegression' object has no attribute 'predect'", "out": "15", "pred": "15"}
|
| 536 |
+
{"in": "s,t=input(),split()<sep>NameError: name 'split' is not defined", "out": "76", "pred": "76"}
|
| 537 |
+
{"in": "X = df[['week_num','weather_num','payday','temperature','kcal','soldout']] # 価格以外を全て説明変数に<sep>KeyError: \"['week_num', 'weather_num'] not in index\"", "out": "69", "pred": "69"}
|
| 538 |
+
{"in": "if x>0: #コロン<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 2)", "out": "123", "pred": "122"}
|
| 539 |
+
{"in": "for name , blood in zip(df['名前'], df['血液']):<sep>KeyError: '血液'", "out": "69", "pred": "69"}
|
| 540 |
+
{"in": "plt.scatter(df['payday'], df['tempreture'])<sep>KeyError: 'tempreture'", "out": "69", "pred": "69"}
|
| 541 |
+
{"in": "PyErr_CheckSignals()<sep>KeyboardInterrupt:", "out": "47", "pred": "47"}
|
| 542 |
+
{"in": "if (S[2*i-1].isupper() or S[2*i].islower()) and 2*i-1<=len(S):<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 543 |
+
{"in": "print(r.frac())<sep>AttributeError: 'Ratio' object has no attribute 'frac'", "out": "68", "pred": "68"}
|
| 544 |
+
{"in": "for i in range(1,100);<sep>SyntaxError: invalid syntax (<ipython-input>, line 4)", "out": "117", "pred": "106"}
|
| 545 |
+
{"in": "data[1,2,3,4,5,7] #データ列(リスト)<sep>NameError: name 'data' is not defined", "out": "60", "pred": "60"}
|
| 546 |
+
{"in": "S[1],S[2],S[3] = S[3],S[1],S[2]<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 547 |
+
{"in": "pd.read_csv('file.xlsx')<sep>FileNotFoundError: [Errno 2] No such file or directory: 'file.xlsx'", "out": "33", "pred": "33"}
|
| 548 |
+
{"in": "plt.scatter(df['temperature'], df['販売数'])<sep>KeyError: '販売数'", "out": "69", "pred": "69"}
|
| 549 |
+
{"in": "N,K=map(str,input().split)<sep>TypeError: 'builtin_function_or_method' object is not iterable", "out": "73", "pred": "73"}
|
| 550 |
+
{"in": "x=5<sep>IndentationError: expected an indented block (<ipython-input>, line 2)", "out": "86", "pred": "86"}
|
| 551 |
+
{"in": "train['Title'] = df['Name'].map(lambda x: x.split(', ')[1].split('. ')[0])<sep>KeyError: 'Name'", "out": "69", "pred": "69"}
|
| 552 |
+
{"in": "if p[i]==x:<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 553 |
+
{"in": "df_train[['index']]<sep>KeyError: \"None of [Index(['index'], dtype='object')] are in the [columns]\"", "out": "69", "pred": "69"}
|
| 554 |
+
{"in": "train.drop(['SibSp', 'Parch'], axis=1,inplace=True)<sep>KeyError: \"['SibSp' 'Parch'] not found in axis\"", "out": "69", "pred": "69"}
|
| 555 |
+
{"in": "fpr, tpr, thresholds = roc_curve(test_y, pred, pos_label=1)<sep>NameError: name 'roc_curve' is not defined", "out": "60", "pred": "12"}
|
| 556 |
+
{"in": "sklearn.ensemble.StackingClassifier()<sep>NameError: name 'sklearn' is not defined", "out": "12", "pred": "12"}
|
| 557 |
+
{"in": "A = list(set(list(map(int,input().split())))).sorted()<sep>AttributeError: 'list' object has no attribute 'sorted'", "out": "34", "pred": "73"}
|
| 558 |
+
{"in": "df_all = pd.merge(df_name,df,on='name')<sep>KeyError: 'name'", "out": "69", "pred": "69"}
|
| 559 |
+
{"in": "for name in df.dtypes[df.dtypes == 'object'].index:<sep>NameError: name 'df' is not defined", "out": "59", "pred": "59"}
|
| 560 |
+
{"in": "X = df['通勤','教員比']<sep>KeyError: ('通勤', '教員比')", "out": "85", "pred": "85"}
|
| 561 |
+
{"in": "df.fead()<sep>AttributeError: 'DataFrame' object has no attribute 'fead'", "out": "15", "pred": "15"}
|
| 562 |
+
{"in": "A = list(input().split,)<sep>TypeError: 'builtin_function_or_method' object is not iterable", "out": "73", "pred": "73"}
|
| 563 |
+
{"in": "if ss.isuppper():<sep>AttributeError: 'str' object has no attribute 'isuppper'", "out": "15", "pred": "15"}
|
| 564 |
+
{"in": "plt. legend([str(df[\"部屋数\"].describe())])<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)", "out": "125", "pred": "86"}
|
| 565 |
+
{"in": "ans+=S[i]<sep>IndexError: string index out of range", "out": "140", "pred": "140"}
|
| 566 |
+
{"in": "else:<sep>SyntaxError: unexpected EOF while parsing (<string>, line 7)", "out": "93", "pred": "88"}
|
| 567 |
+
{"in": "A = list(A[H])<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 568 |
+
{"in": "def clac(s:str)->:<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "86", "pred": "86"}
|
| 569 |
+
{"in": "if d=3<sep>SyntaxError: invalid syntax (<ipython-input>, line 10)", "out": "132", "pred": "115"}
|
| 570 |
+
{"in": "ans += list2[j]*int(cal_num[j])<sep>IndexError: list index out of range", "out": "139", "pred": "139"}
|
| 571 |
+
{"in": "print(A, ' ', B)<sep>IndentationError: expected an indented block (<string>, line 14)", "out": "86", "pred": "86"}
|
| 572 |
+
{"in": "for animal in animals:<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 1)", "out": "93", "pred": "88"}
|
| 573 |
+
{"in": "h = int(input(\"身長は?(cm)\"))<sep>KeyboardInterrupt: Interrupted by user", "out": "47", "pred": "47"}
|
| 574 |
+
{"in": "im = Image.open(\"3.png\")<sep>FileNotFoundError: [Errno 2] No such file or directory: '3.png'", "out": "33", "pred": "33"}
|
| 575 |
+
{"in": "A_lower.append(S)<sep>NameError: name 'A_lower' is not defined", "out": "61", "pred": "61"}
|
| 576 |
+
{"in": "print('身長 : ' + str(self.height()) + 'cm')<sep>TypeError: 'float' object is not callable", "out": "51", "pred": "51"}
|
| 577 |
+
{"in": "print (Ratio(2/4))<sep>TypeError: __init__() missing 1 required positional argument: 'bottom'", "out": "30", "pred": "30"}
|
| 578 |
+
{"in": "print(f'正解率(訓練)', model.score(X_train, y_train))<sep>NameError: name 'X_train' is not defined", "out": "60", "pred": "60"}
|
| 579 |
+
{"in": "best_model = clf.best_estimator_<sep>NameError: name 'clf' is not defined", "out": "60", "pred": "60"}
|
| 580 |
+
{"in": "A,B=map(input())<sep>TypeError: map() must have at least two arguments.", "out": "29", "pred": "29"}
|
| 581 |
+
{"in": "df=pd.read_csv('/content/sample_data/california_housing_train.csv'<sep>SyntaxError: unexpected EOF while parsing (<ipython-input>, line 1)", "out": "88", "pred": "88"}
|
| 582 |
+
{"in": "df,head(5)<sep>NameError: name 'head' is not defined", "out": "76", "pred": "76"}
|
| 583 |
+
{"in": "if i%2 != 0 and S[i].isupper() and S[i+1].islower():<sep>IndexError: string index out of range", "out": "140", "pred": "140"}
|
| 584 |
+
{"in": "df['GENDER_num'] = df['GENDER'].map({'M': 0, 'F': 1})<sep>KeyError: 'GENDER'", "out": "69", "pred": "69"}
|
| 585 |
+
{"in": "コギ―君<sep>SyntaxError: invalid character in identifier (<ipython-input>, line 1)", "out": "122", "pred": "122"}
|
| 586 |
+
{"in": "model.fit(X,y)<sep>NameError: name 'model' is not defined", "out": "60", "pred": "60"}
|
| 587 |
+
{"in": "for key, df_name in df.groupby('カレー'):<sep>KeyError: 'カレー'", "out": "69", "pred": "69"}
|
| 588 |
+
{"in": "return lives<sep>SyntaxError: 'return' outside function (<ipython-input>, line 14)", "out": "137", "pred": "137"}
|
| 589 |
+
{"in": "le = preprocessing.LabelEncoder()<sep>NameError: name 'preprocessing' is not defined", "out": "60", "pred": "12"}
|
| 590 |
+
{"in": "df.drop(\"黒人\",axis=1,inplace=True)<sep>KeyError: \"['黒人'] not found in axis\"", "out": "69", "pred": "69"}
|
| 591 |
+
{"in": "x+=[0]*(abs(n-k+1)))<sep>SyntaxError: invalid syntax (<string>, line 7)", "out": "86", "pred": "86"}
|
| 592 |
+
{"in": "for column in df.columns:<sep>NameError: name 'df' is not defined", "out": "59", "pred": "59"}
|
| 593 |
+
{"in": "pred = result.predict(X)<sep>NameError: name 'result' is not defined", "out": "60", "pred": "60"}
|
| 594 |
+
{"in": "con+= a-1<sep>NameError: name 'a' is not defined", "out": "60", "pred": "63"}
|
| 595 |
+
{"in": "rho, ? = pearsonr(df['降水量'],df['スギ花粉飛散量'])<sep>SyntaxError: invalid syntax (<ipython-input>, line 3)", "out": "86", "pred": "86"}
|
| 596 |
+
{"in": "def __init__(self.start,end):<sep>SyntaxError: invalid syntax (<ipython-input>, line 2)", "out": "86", "pred": "86"}
|
| 597 |
+
{"in": "print(name)<sep>NameError: name 'name' is not defined", "out": "60", "pred": "60"}
|
| 598 |
+
{"in": "print(n.translate('1','9'))<sep>TypeError: translate() takes exactly one argument (2 given)", "out": "23", "pred": "24"}
|
| 599 |
+
{"in": "plt.plot(range(40, 100, 5),H):<sep>SyntaxError: invalid syntax (<ipython-input>, line 6)", "out": "86", "pred": "86"}
|
| 600 |
+
{"in": "animals = [Chikin(), Sheep(), Dog()]<sep>TypeError: __init__() missing 1 required positional argument: 'name'", "out": "30", "pred": "30"}
|
| 601 |
+
{"in": "h =math.sqrt(w / 22)<sep>NameError: name 'math' is not defined", "out": "12", "pred": "12"}
|
| 602 |
+
{"in": "plt.hist(df['住宅価格'], bin=15)<sep>AttributeError: 'Rectangle' object has no property 'bin'", "out": "15", "pred": "15"}
|
| 603 |
+
{"in": "if d ==11 or d ==22 d == 33 d == 44:<sep>SyntaxError: invalid syntax (<ipython-input>, line 8)", "out": "86", "pred": "86"}
|
| 604 |
+
{"in": "\"1+10\":1+10<sep>SyntaxError: illegal target for annotation (<ipython-input>, line 2)", "out": "10", "pred": "86"}
|
| 605 |
+
{"in": "a = n<sep>NameError: name 'n' is not defined", "out": "60", "pred": "60"}
|
| 606 |
+
{"in": "df['住宅価格']<sep>NameError: name 'df' is not defined", "out": "59", "pred": "59"}
|
| 607 |
+
{"in": "plt.boxplot(df['父親の職業'])<sep>KeyError: '父親の職業'", "out": "69", "pred": "69"}
|
| 608 |
+
{"in": "N=NN % 10<sep>NameError: name 'NN' is not defined", "out": "60", "pred": "60"}
|
| 609 |
+
{"in": "a, b, c, d = map(int, input(), split())<sep>NameError: name 'split' is not defined", "out": "76", "pred": "76"}
|
| 610 |
+
{"in": "c=a+b:<sep>SyntaxError: invalid syntax (<string>, line 4)", "out": "86", "pred": "125"}
|
| 611 |
+
{"in": "h=math.sqrt(w/22)*100<sep>NameError: name 'math' is not defined", "out": "12", "pred": "12"}
|
| 612 |
+
{"in": "A,B=map()(int,input().split))<sep>SyntaxError: invalid syntax (<ipython-input>, line 1)", "out": "86", "pred": "86"}
|
| 613 |
+
{"in": "lives[y, x]<sep>NameError: name 'y' is not defined", "out": "60", "pred": "60"}
|
| 614 |
+
{"in": "df.read_csv('file.csv', sep=',')<sep>NameError: name 'df' is not defined", "out": "11", "pred": "11"}
|
| 615 |
+
{"in": "print(len(ABCDE.set()))<sep>AttributeError: 'list' object has no attribute 'set'", "out": "2", "pred": "2"}
|
| 616 |
+
{"in": "slack_key='T03A9DB4086/B03TC9FLKS4/1M0s6DYyjVl4zjithpoAvj87',<sep>KeyboardInterrupt:", "out": "47", "pred": "54"}
|
| 617 |
+
{"in": "print(x[3],end='')<sep>IndexError: string index out of range", "out": "140", "pred": "140"}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"decoder_start_token_id": 0,
|
| 4 |
+
"eos_token_id": 1,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.28.1"
|
| 7 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27b6b365d35f4a0dfea971b1dedf1847c2a19ba023de275a02b5fa4532d2551d
|
| 3 |
+
size 1200769797
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token": "</s>",
|
| 3 |
+
"pad_token": "<pad>",
|
| 4 |
+
"unk_token": "<unk>"
|
| 5 |
+
}
|
spiece.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2fea3b4cc1b5c049581e7612bc7a9c1dc0b50bdc170751df757eacc24cdc082a
|
| 3 |
+
size 4348048
|
t5marulog.jsonl
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"log": "trained", "date": "2023-08-25T17:15:59", "elapsed": "00:04:12", "model": "Roy029/mpyt5_e20", "max_length": 128, "target_max_length": 128, "batch_size": 32, "gradient_accumulation_steps": 1, "train_steps": 2700, "accelerator": "gpu", "devices": "auto", "precision": 32, "strategy": "auto", "gradient_clip_val": 1.0, "compile": true, "solver": "adamw", "lr": 0.0003, "warmup_steps": 1, "training_steps": 100000, "adam_epsilon": 1e-08, "weight_decay": 0.0, "epoch": 11, "step": 990, "saved": "error_label_mPyT5"}
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": null,
|
| 3 |
+
"clean_up_tokenization_spaces": true,
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"extra_ids": 0,
|
| 6 |
+
"is_fast": true,
|
| 7 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 8 |
+
"pad_token": "<pad>",
|
| 9 |
+
"sp_model_kwargs": {},
|
| 10 |
+
"tokenizer_class": "T5Tokenizer",
|
| 11 |
+
"unk_token": "<unk>"
|
| 12 |
+
}
|