Instructions to use EdisonScientific/MarkushGlyph with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use EdisonScientific/MarkushGlyph with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-2B-Base") model = PeftModel.from_pretrained(base_model, "EdisonScientific/MarkushGlyph") - Notebooks
- Google Colab
- Kaggle
Card: drop release-process meta ('private, public on release' / 'on release')
Browse files
README.md
CHANGED
|
@@ -8,12 +8,12 @@ tags: [chemistry, markush, lora, image-to-cxsmiles]
|
|
| 8 |
|
| 9 |
## Installing the code
|
| 10 |
|
| 11 |
-
The commands below use the **`glyph`** package. Install it from the code repository
|
| 12 |
|
| 13 |
```bash
|
| 14 |
git clone https://github.com/EdisonScientific/glyph
|
| 15 |
cd glyph
|
| 16 |
-
uv venv && uv sync --extra markush
|
| 17 |
```
|
| 18 |
|
| 19 |
See the repo's `README.md` (quickstart + inference) and `REPRODUCE.md` (frozen eval contract).
|
|
@@ -33,8 +33,8 @@ Markush chemical structure recognition: image -> CXSMILES. A LoRA adapter (r=128
|
|
| 33 |
## Usage
|
| 34 |
```bash
|
| 35 |
python -m glyph.markush.eval.fast_eval \
|
| 36 |
-
|
| 37 |
```
|
| 38 |
Scored with the pinned DS4SD `get_scores` (official contract). See the code repository's `REPRODUCE.md`.
|
| 39 |
|
| 40 |
-
**License:** pending.
|
|
|
|
| 8 |
|
| 9 |
## Installing the code
|
| 10 |
|
| 11 |
+
The commands below use the **`glyph`** package. Install it from the code repository:
|
| 12 |
|
| 13 |
```bash
|
| 14 |
git clone https://github.com/EdisonScientific/glyph
|
| 15 |
cd glyph
|
| 16 |
+
uv venv && uv sync --extra markush # or: pip install -e ".[markush]"
|
| 17 |
```
|
| 18 |
|
| 19 |
See the repo's `README.md` (quickstart + inference) and `REPRODUCE.md` (frozen eval contract).
|
|
|
|
| 33 |
## Usage
|
| 34 |
```bash
|
| 35 |
python -m glyph.markush.eval.fast_eval \
|
| 36 |
+
--checkpoint EdisonScientific/MarkushGlyph --base-model Qwen/Qwen3.5-2B --eval-data <eval_ip5m.jsonl> ...
|
| 37 |
```
|
| 38 |
Scored with the pinned DS4SD `get_scores` (official contract). See the code repository's `REPRODUCE.md`.
|
| 39 |
|
| 40 |
+
**License:** pending. **Citation:** to be added on publication.
|