├── .gitignore ├── README.md ├── examples ├── beans.py ├── blind.py ├── circles.py ├── hotpot.py ├── humaneval.py ├── image_datasets.py ├── image_multiple_choice.py └── simple.py ├── fewshot ├── __init__.py ├── experimental │ ├── __init__.py │ ├── grad.py │ ├── opt.py │ ├── optimizers_experimental.py │ └── tinytextgrad.py ├── optimizers.py ├── predict.py ├── templates.py ├── utils.py └── wrap.py ├── pyproject.toml ├── static └── circles.png └── tests ├── example.py ├── test_circles.py ├── test_code.py ├── test_image.py ├── test_pred.py ├── test_qa.py ├── test_sig.py ├── test_tinytextgrad.py └── test_types.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/README.md -------------------------------------------------------------------------------- /examples/beans.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/examples/beans.py -------------------------------------------------------------------------------- /examples/blind.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/examples/blind.py -------------------------------------------------------------------------------- /examples/circles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/examples/circles.py -------------------------------------------------------------------------------- /examples/hotpot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/examples/hotpot.py -------------------------------------------------------------------------------- /examples/humaneval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/examples/humaneval.py -------------------------------------------------------------------------------- /examples/image_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/examples/image_datasets.py -------------------------------------------------------------------------------- /examples/image_multiple_choice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/examples/image_multiple_choice.py -------------------------------------------------------------------------------- /examples/simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/examples/simple.py -------------------------------------------------------------------------------- /fewshot/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/fewshot/__init__.py -------------------------------------------------------------------------------- /fewshot/experimental/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fewshot/experimental/grad.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/fewshot/experimental/grad.py -------------------------------------------------------------------------------- /fewshot/experimental/opt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/fewshot/experimental/opt.py -------------------------------------------------------------------------------- /fewshot/experimental/optimizers_experimental.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/fewshot/experimental/optimizers_experimental.py -------------------------------------------------------------------------------- /fewshot/experimental/tinytextgrad.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/fewshot/experimental/tinytextgrad.py -------------------------------------------------------------------------------- /fewshot/optimizers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/fewshot/optimizers.py -------------------------------------------------------------------------------- /fewshot/predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/fewshot/predict.py -------------------------------------------------------------------------------- /fewshot/templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/fewshot/templates.py -------------------------------------------------------------------------------- /fewshot/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/fewshot/utils.py -------------------------------------------------------------------------------- /fewshot/wrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/fewshot/wrap.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/pyproject.toml -------------------------------------------------------------------------------- /static/circles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/static/circles.png -------------------------------------------------------------------------------- /tests/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/tests/example.py -------------------------------------------------------------------------------- /tests/test_circles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/tests/test_circles.py -------------------------------------------------------------------------------- /tests/test_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/tests/test_code.py -------------------------------------------------------------------------------- /tests/test_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/tests/test_image.py -------------------------------------------------------------------------------- /tests/test_pred.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/tests/test_pred.py -------------------------------------------------------------------------------- /tests/test_qa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/tests/test_qa.py -------------------------------------------------------------------------------- /tests/test_sig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/tests/test_sig.py -------------------------------------------------------------------------------- /tests/test_tinytextgrad.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/tests/test_tinytextgrad.py -------------------------------------------------------------------------------- /tests/test_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomasnormal/fewshot/HEAD/tests/test_types.py --------------------------------------------------------------------------------