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 a tutorial notebook: Tutorial
This is a link to the Github repo where the files and code can be viewed: gensimllms
Metadata
Release files for gensimllms 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gensimllms-0.0.9.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gensimllms-0.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.4 kB
Release files / gensimllms-0.0.9.tar.gz
| Download URL | gensimllms-0.0.9.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d675e96cb38ab1bf6c298dee0f4cc7c3fac03eabc3bf0a2e61dcec1f12c5c52
|
|
BLAKE2b-256 checksum How to use checksums |
dedd33c22f0a814d286887bed3379d016cae5acebc2cbdffa68d6de5e3e5f1a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / gensimllms-0.0.9-py3-none-any.whl
| Download URL | gensimllms-0.0.9-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe603f6aba0c76ad2bbaaa672a48169c1a4ad93cde60f1c90010f9185d256256
|
|
BLAKE2b-256 checksum How to use checksums |
e64799f2d3291cc2c28f2d5cfefa5c431f2e319049dc7775be69d46e6fc7cc3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|