Metadata-Version: 2.4
Name: ylem
Version: 0.3.0
Summary: Add your description here
Author-email: Sumuk Shashidhar <sumukuuu@gmail.com>
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: hf-transfer>=0.1.9
Requires-Dist: loguru<1,>=0.7.0
Requires-Dist: torch>=2.8.0
Requires-Dist: transformers<5,>=4.40.0
Description-Content-Type: text/markdown

## ylem

Turn messy text into Markdown with a tiny, friendly `Cleaner`.

### Install
```bash
uv pip install ylem
```

### Quick start
```python
import ylem

cleaner = ylem.Cleaner("nano")  # Qwen/Qwen3-0.6B
text = "some content from the internet"
markdown = cleaner(text)
```

### What you get
- **Default behavior**: remove irrelevant bits and convert to Markdown.
- **Strength**: `low` (default), `medium`, `high`.

### Tweak as needed
```python
# Choose strength or switch models per call
markdown = cleaner(text, strength="medium", max_new_tokens=256)

# Or set on init
cleaner = ylem.Cleaner(model="medium", strength="high")
```
