mirror of
https://github.com/onestardao/WFGY.git
synced 2026-05-01 21:11:11 +00:00
60 lines
1.8 KiB
Text
60 lines
1.8 KiB
Text
{
|
|
"cells": [
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"# WFGY one-click Colab demo\n",
|
|
"Clone → install wheels → run six examples (02 skipped)."
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"%%bash\n",
|
|
"set -e\n",
|
|
"echo \"📦 install wheels (quiet)\"\n",
|
|
"python -m pip install -q --progress-bar off \"numpy<2.0\" torch==2.2.2 transformers==4.41.2 matplotlib sentence-transformers==4.1.0 tabulate\n",
|
|
"\n",
|
|
"echo \"📥 clone repo\"\n",
|
|
"rm -rf WFGY\n",
|
|
"git clone -q --depth 1 https://github.com/onestardao/WFGY.git\n",
|
|
"\n",
|
|
"echo \"🔧 install sdk (editable)\"\n",
|
|
"python -m pip install -q --progress-bar off -e WFGY --no-deps\n",
|
|
"\n",
|
|
"echo \"🚀 run examples\"\n",
|
|
"python WFGY/examples/example_01_basic_run.py\n",
|
|
"# example_02_self_reflection.py skipped (obsolete field)\n",
|
|
"python WFGY/examples/example_03_chaos_mode.py\n",
|
|
"python WFGY/examples/example_04_remote_inference.py\n",
|
|
"python WFGY/examples/example_05_universe_test.py\n",
|
|
"python WFGY/examples/example_06_compare.py\n",
|
|
"python WFGY/examples/example_07_flash_show.py"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"🌟 **Star Reminder** → [Star the repo](https://github.com/onestardao/WFGY) \n",
|
|
"_10 k ⭐ before 2025-08-01 unlocks WFGY 2.0._"
|
|
]
|
|
}
|
|
],
|
|
"metadata": {
|
|
"kernelspec": {
|
|
"display_name": "Python 3",
|
|
"language": "python",
|
|
"name": "python3"
|
|
},
|
|
"language_info": {
|
|
"name": "python"
|
|
}
|
|
},
|
|
"nbformat": 4,
|
|
"nbformat_minor": 0
|
|
}
|