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.12
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.12.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gensimllms-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.5 kB
Release files / gensimllms-0.0.12.tar.gz
| Download URL | gensimllms-0.0.12.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e26a98008a0d499ebdf57f893ab72d4dec30d4b5d0b18beca6d0e80c14b725d0
|
|
BLAKE2b-256 checksum How to use checksums |
05612ea8eddd8f4be9b4036a3ce9da5edb088ccc3172ad178f6267f3a6c6ad85
|
| 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.12-py3-none-any.whl
| Download URL | gensimllms-0.0.12-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6aa08ec34773860cab93b99413c41f93d52ed493a3e9310d57af00dffe22e1a7
|
|
BLAKE2b-256 checksum How to use checksums |
e1b0b9bbeeb01cf2c268845cdd8c6279440914302524b074d1bdad7b8bd4e2bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|