Skip to content

Commit

Permalink
added botiverse/Theorizer to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kariiem committed Jul 24, 2023
1 parent 21f966a commit 05b7b4f
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
47 changes: 47 additions & 0 deletions examples/Theorizer/example.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from botiverse.Theorizer import generate\n",
"import json"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"context = \"Bob is eating a delicious cake in Vancouver.\"\n",
"qa_dict = generate(context)\n",
"print(json.dumps(qa_dict,indent=4))"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.3"
},
"orig_nbformat": 4
},
"nbformat": 4,
"nbformat_minor": 2
}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent"
],
packages=["botiverse", "botiverse.bots", "botiverse.models", "botiverse.preprocessors"],
packages=["botiverse", "botiverse.bots", "botiverse.models", "botiverse.preprocessors","botiverse.Theorizer"],
include_package_data=True,
install_requires=["numpy", "torch"] # just as was in requirements.txt
)
Expand Down

0 comments on commit 05b7b4f

Please sign in to comment.