Add your description here
Project description
ylem
Minimal package scaffold with a public Cleaner API.
Usage
import ylem
cleaner = ylem.Cleaner("nano") # or "large" or an HF repo id
text = "some content from the internet"
markdown = cleaner(text) # returns generated text
Notes
- Backend: This uses
transformersfor a text-generation pipeline. Install a backend like PyTorch. - Models: Aliases map to Hugging Face IDs:
- "nano" ->
google/gemma-3-270m-it - "large" ->
google/gemma-3-270m-it(override via envYLEM_MODEL_LARGE)
- "nano" ->
- Env overrides: Set
YLEM_MODEL_NANOorYLEM_MODEL_LARGEto point to a different repo id. - Chat template: If the tokenizer provides one, it’s applied with a simple system+user message; otherwise the raw text is used directly.
- Default generation:
max_new_tokens=2048, and we request only generated continuation (not prompt) from the pipeline. - Python: Requires Python 3.12+.
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
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 ylem-0.2.0.tar.gz.
File metadata
- Download URL: ylem-0.2.0.tar.gz
- Upload date:
- Size: 32.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8c416c5966e327ca890d51e90ad8c9d59a15ca8888aa950a4698b561116eb3e
|
|
| MD5 |
3cd4872ab8b79d564394bb22adbd90f7
|
|
| BLAKE2b-256 |
c782ef981087423df2bcf068bb02ef4fcd9c8732e9fe9ad733976a6f234a6070
|
Provenance
The following attestation bundles were made for ylem-0.2.0.tar.gz:
Publisher:
python-publish.yaml on sumukshashidhar/ylem
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ylem-0.2.0.tar.gz -
Subject digest:
c8c416c5966e327ca890d51e90ad8c9d59a15ca8888aa950a4698b561116eb3e - Sigstore transparency entry: 474586742
- Sigstore integration time:
-
Permalink:
sumukshashidhar/ylem@eec2745c46b28268e5f9e421a767bb68ed1548f4 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/sumukshashidhar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yaml@eec2745c46b28268e5f9e421a767bb68ed1548f4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ylem-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ylem-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79a7b1fb62efc5aaba7fc8a4a05b7a65fd915f1a706f80a45383edb1797f909e
|
|
| MD5 |
dc9d1bab420817e627ba002dcb06202d
|
|
| BLAKE2b-256 |
9915076f7c50f394e36e205e60d34fa023659a640fd8a4e0157767d83b119314
|
Provenance
The following attestation bundles were made for ylem-0.2.0-py3-none-any.whl:
Publisher:
python-publish.yaml on sumukshashidhar/ylem
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ylem-0.2.0-py3-none-any.whl -
Subject digest:
79a7b1fb62efc5aaba7fc8a4a05b7a65fd915f1a706f80a45383edb1797f909e - Sigstore transparency entry: 474586759
- Sigstore integration time:
-
Permalink:
sumukshashidhar/ylem@eec2745c46b28268e5f9e421a767bb68ed1548f4 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/sumukshashidhar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yaml@eec2745c46b28268e5f9e421a767bb68ed1548f4 -
Trigger Event:
release
-
Statement type: