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.11
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.11.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gensimllms-0.0.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.6 kB
Release files / gensimllms-0.0.11.tar.gz
| Download URL | gensimllms-0.0.11.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abbbcba8f43f30b337526f368e1e18eb253012f97a7a5ff1107e3cde22137ae6
|
|
BLAKE2b-256 checksum How to use checksums |
50e94c87c57f981ef13e7269f9f8ee07d8081711e669348b68fa289065fda7d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / gensimllms-0.0.11-py3-none-any.whl
| Download URL | gensimllms-0.0.11-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b70d3d80372fac73c54e7eec64d79400ccb418c2338b712338c51fc599d48de
|
|
BLAKE2b-256 checksum How to use checksums |
e61fc5ad1b7408b189749d23f98dc4353064a276e3bd5c59a81e880253ba16fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|