('search_llm_actions provides a simple template to collect action trajectories from local (e.g. vllm servers) or remote (e.g. togetherai api) llms by search.',)
Project description
search_llm_actions
search_llm_actions provides a simple template to collect action trajectories from local (vllm servers on multi-gpus are supported) or remote (togetherai api is supported) llms by search.
Installation
pip install search_llm_actions
Customization
- You could find an minimal example in
search_llm_actions/main.py. - You need to override
init_root_node,take_parallel_actions,simulate&detect_endfunctions insearch_llm_actions/search.pyto adapt to your own task. - You need to override
deploy_vllm_multi.sh&test_vllm_multi.shinsearch_llm_actions/scriptsto adapt to your own llm server. - You need to implement a new subclass of
Callerinsearch_llm_actions/llm_caller.pyto adapt to your own llm server.
enjoy:) 🤯
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file search_llm_actions-0.0.1.tar.gz.
File metadata
- Download URL: search_llm_actions-0.0.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a9c5c070ae55f8578e28a0560a0e304a6b555b5d7cb8e2eae54e52051e04d44
|
|
| MD5 |
bc4e88471882e95da9598206228be126
|
|
| BLAKE2b-256 |
5314a98da0cc8f33d4517f56424650ba7be58922a5723e583f560fa2019ac2f0
|
File details
Details for the file search_llm_actions-0.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: search_llm_actions-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a151b1364484460dda911ff18c844366bbfd7c214442e51b61bfbb55174ff25d
|
|
| MD5 |
791a307b37147740eb72972e6588c650
|
|
| BLAKE2b-256 |
0f01cb4c5609d33e46292b6d8aac15575c1a7628fb1f5ec6c97237dde80a3a01
|