Memician is a state of the art Memelord
Project description
Memician
Memician is the state of the art Memelord
$ pip install zf-memician
Design
- Memician finds relevant memes by executing semantic search over the memes library
- Memician uses Rewriter to convert the user's prompt into a MemeLibrary search query
- Memician uses Structurer to convert the user's prompt into inputs for MemeTemplate
graph TD
User --> |Prompt| M[Memician]
M --> |Query| L[Library]
L --> T1[Template 1]
L --> T2[Template 2]
L --> T3[Template n]
M --> |Template, Inputs| G[Generator]
G --> |Output| Meme
M1[Memician] --> |Prompt, Template| S1(Structurer)
S1 --> |Inputs| M1
M2[Memician] --> |Prompt| R(Rewriter)
R --> |Query| M2
Notes
- You can generate a concise description of a meme by using an LLM model
✨ Explain this given meme in 15 words or less: distracted boyfriend meme
Guy ignores his girlfriend, captivated by another woman representing a new interest or trend.
Usage
memician <path> <template> <*args> <*options>
- path is where on your computer you want to save the meme.
- template is the underlying template to use for the meme (not case sensitive).
- *args are all arguments to be placed onto the template.
- Multi-word arguments must be surrounded by "" quotation marks
- Arguments can be images, pasted onto the template. Image-links should be given in '<>' angle brackets.
- *options are the options that modify behavior of the generation.
- Options are passed with '{}' curly braces.
- Currently supported options: "stretch".
License
All rights reserved.
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
zf-memician-0.1.1.tar.gz
(4.7 MB
view details)
Built Distribution
File details
Details for the file zf-memician-0.1.1.tar.gz
.
File metadata
- Download URL: zf-memician-0.1.1.tar.gz
- Upload date:
- Size: 4.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94fed6d7854d2b2ece5bf035c8e29d383c248f979c37e54c590a282688f72118 |
|
MD5 | 85964bf299d285a67f222615b0b2b5cc |
|
BLAKE2b-256 | f83269a98405917d745f68f412989387401538021fd0b9cca674732cd4d1f465 |
File details
Details for the file zf_memician-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: zf_memician-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f5c8ad314602710cd150fb5eaf6c0e6068b22b5eea195b1bc5083aacb76f85b |
|
MD5 | d043c8d219e832a68650afa0c7fc970a |
|
BLAKE2b-256 | d56d4940ed3e67916d38e7c7b3ab9646b72a9f792e117bedbf9afb8ccc233f46 |