Python library to support LLM testing.
Project description
gensimllms
gensimllms Python library for testing LLMs.
Status: Experimental research and teaching tool.
Installation
pip install gensimllms
Running within Python code.
import gensimllms
Using the template
First install
pip install gensimllms
Next
gensimllms init my_simulation
Then to run
python my_simulation/user_simulation.py
| File | Use |
|---|---|
| simulator.py | Contains the main GeneralSimulator class |
| models.py | Contains the api calls for the LLMs, currently only contains GPT |
| user_template.py | Contains the UserTemplate class which tells user what needs to be included for the mina GeneralSimulator class to work |
| user_example.py | A very basic example of how you would implement and fill in the UserTemplate class |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gensimllms-0.0.7.tar.gz
(8.8 kB
view details)
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 gensimllms-0.0.7.tar.gz.
File metadata
- Download URL: gensimllms-0.0.7.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46d6fc6fea1f07cd4b212f1f74d976dac47193a6f59011fa2818c63027d7177c
|
|
| MD5 |
646f82ac8a3f01b9819dbc9708e4246a
|
|
| BLAKE2b-256 |
5b4deb88cf789e1ab29681886520ffd9869fda6dbb11befce54678378c32c77b
|
File details
Details for the file gensimllms-0.0.7-py3-none-any.whl.
File metadata
- Download URL: gensimllms-0.0.7-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a8cce06aaea06bec126b8fa31b8e56c1125f3080c6dd3649cdf37d275eec9c5
|
|
| MD5 |
935addc4eb28cb658a8ff5b2fc6fc0a1
|
|
| BLAKE2b-256 |
bc7a446a9681866c440de28f40a274ffdb27b516cbb708c278ab471ab29f5529
|