Skip to content

Commit 00556dc

Browse files
committed
Criado usando o Colaboratory
1 parent 6ee904b commit 00556dc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

inferencia.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"metadata": {
55
"colab": {
66
"provenance": [],
7-
"authorship_tag": "ABX9TyO/C/y91/l1n1Q9EbJgcVZs",
7+
"authorship_tag": "ABX9TyNpmoMMAv3zFn4M37G2JF4s",
88
"include_colab_link": true
99
},
1010
"kernelspec": {
@@ -101,7 +101,7 @@
101101
"id": "YKV1yw4Av1zV",
102102
"cellView": "form"
103103
},
104-
"execution_count": 1,
104+
"execution_count": null,
105105
"outputs": []
106106
},
107107
{
@@ -260,7 +260,7 @@
260260
"id": "lsYZX7w9v7uJ",
261261
"cellView": "form"
262262
},
263-
"execution_count": 2,
263+
"execution_count": null,
264264
"outputs": []
265265
},
266266
{
@@ -503,8 +503,8 @@
503503
"model = BERTModule(n_classes = 3)\n",
504504
"model.load_state_dict(load(model_path))\n",
505505
"\n",
506-
"text = \"\"\"Given an integer x, return true if x is a palindrome, and false otherwise.\"\"\"\"\n",
507-
"# text = \"\"\"You are given an array of k linked-lists lists, each linked-list is sorted in ascending order. Merge all the linked-lists into one sorted linked-list and return it.\"\"\",\n",
506+
"text = \"\"\"Given an integer x, return true if x is a palindrome, and false otherwise.\"\"\"\n",
507+
"# text = \"\"\"You are given an array of k linked-lists lists, each linked-list is sorted in ascending order. Merge all the linked-lists into one sorted linked-list and return it.\"\"\"\n",
508508
"\n",
509509
"model.predict(text=text)"
510510
],

0 commit comments

Comments
 (0)