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 main GeneralSimulator class to work |
| user_example.py | A very basic example of how you would implement and fill in the UserTemplate class |
This is a link to the Github repo where the files and code can be viewed: gensimllms
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.8.tar.gz
(9.4 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.8.tar.gz.
File metadata
- Download URL: gensimllms-0.0.8.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e851795935b8cee4ae2687dff8fb3e375cf7c0e726c22395d862791e0724029
|
|
| MD5 |
5880dc429759c37cd68f62e0c7585aac
|
|
| BLAKE2b-256 |
94e630022145baee48233184d47b32f58229929650b5ab2c00757ca2c43f0cfd
|
File details
Details for the file gensimllms-0.0.8-py3-none-any.whl.
File metadata
- Download URL: gensimllms-0.0.8-py3-none-any.whl
- Upload date:
- Size: 12.6 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 |
875e634acf1187632916dfb463ee0e26d0b134c9922ec104e453e7ae139e435e
|
|
| MD5 |
3e6eecc570e8863dc13e1edd11ef7060
|
|
| BLAKE2b-256 |
19d18c822fe25e2d9d473e199e64c49809d5a2b17680b714bc0ff55a5674a5c3
|