Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
9f92979
small cleanups
willxxy Sep 2, 2025
045bdde
dir ensurer bug
willxxy Sep 2, 2025
47ae4d1
del pngs and plots
willxxy Sep 2, 2025
572b149
update dir func
willxxy Sep 2, 2025
ed7f549
del test dir
willxxy Sep 2, 2025
f0aef9c
another tip
willxxy Sep 3, 2025
457690c
better padding for second
willxxy Sep 3, 2025
c803b7f
unnecessary function
willxxy Sep 3, 2025
da6c5f6
update'
willxxy Sep 3, 2025
92930a5
2 to 1 liner
willxxy Sep 3, 2025
ef14dd8
condenser
willxxy Sep 3, 2025
c2f160d
cleanups
willxxy Sep 3, 2025
9ff6111
delete interpret for now
willxxy Sep 3, 2025
24406b4
get rid of instance norm cond in datalodaer
willxxy Sep 3, 2025
df0906d
get rid of instance normalize in track encoding
willxxy Sep 3, 2025
0636233
get rid of inst norm in ecg tokenizer
willxxy Sep 3, 2025
fe53803
make instance default, still in configs
willxxy Sep 3, 2025
2ee367e
more cleanups
willxxy Sep 3, 2025
baaff90
tidy get item
willxxy Sep 3, 2025
33a9e1f
one line
willxxy Sep 3, 2025
651f27a
one liners
willxxy Sep 3, 2025
5c048ac
more cleanups
willxxy Sep 3, 2025
eeee750
create model bug
willxxy Sep 4, 2025
9d0b854
only save for training
willxxy Sep 4, 2025
b62caec
cleanup requirements
willxxy Sep 4, 2025
b3443f3
update
willxxy Sep 5, 2025
a337d52
update readme
willxxy Sep 11, 2025
f8ede0a
update
willxxy Sep 14, 2025
f886718
update
willxxy Sep 14, 2025
e3bc8a7
update TODO
willxxy Sep 17, 2025
2e5027a
update TODO
willxxy Sep 17, 2025
0841d34
update TODO
willxxy Sep 17, 2025
bb66039
Add system prompt
willxxy Sep 17, 2025
c1d773a
update readme
willxxy Sep 17, 2025
b02f897
update readme
willxxy Sep 17, 2025
9c9a0b5
update readme
willxxy Sep 17, 2025
6f69c02
update readme
willxxy Oct 4, 2025
1f065f4
refactor
willxxy Oct 17, 2025
a5afedf
remove pic
willxxy Oct 17, 2025
1b212d6
update readme
willxxy Oct 17, 2025
ea29dad
make main methods header
willxxy Oct 17, 2025
e04539d
update readme
willxxy Oct 18, 2025
3191619
add read permissions
willxxy Oct 18, 2025
2782a62
lets delete unused files
willxxy Oct 18, 2025
ff3c523
fix fuyu and signal2vec
willxxy Oct 20, 2025
18cdb89
some progress on signal2vec
willxxy Oct 26, 2025
4524770
some progress on signal2vec
willxxy Oct 26, 2025
38eb749
del pic
willxxy Oct 26, 2025
4afc264
signal2vec more difficult than i thought
willxxy Oct 27, 2025
53a611b
ecg signal transform
willxxy Oct 29, 2025
bd9b015
add plat rep
willxxy Oct 31, 2025
68dc98f
add plat rep
willxxy Oct 31, 2025
48f43cc
more progress on plat rep
willxxy Nov 2, 2025
b964ba9
more in and out
willxxy Nov 2, 2025
1e02e28
plat rep hyp done?
willxxy Nov 2, 2025
c22873c
2 ways plat rep
willxxy Nov 2, 2025
d7b4e42
get_proj
willxxy Nov 3, 2025
9854113
train set for plat rep
willxxy Nov 3, 2025
61b9a78
add ecg token indices for signal2vec
willxxy Nov 3, 2025
b06eea1
also add truncated padded ecg tokens
willxxy Nov 3, 2025
a242b20
ok but not padded
willxxy Nov 3, 2025
f8a1d92
ok padding for ecg token indices too
willxxy Nov 3, 2025
e650daf
getting there but needs more work
willxxy Nov 3, 2025
953d4de
finally good?
willxxy Nov 3, 2025
5d8eca9
del image
willxxy Nov 3, 2025
874e826
consider trunc pad tokens in eval
willxxy Nov 3, 2025
dea08e5
limit threads
willxxy Nov 5, 2025
89d3a0a
lets see how opentslm does on our data
willxxy Nov 5, 2025
06673aa
opentslm sp test done
willxxy Nov 5, 2025
1d2a0ce
opentslm evaluation on ours
willxxy Nov 6, 2025
ac6b05e
update
willxxy Nov 7, 2025
20796c4
Add training script for signal2vec model
willxxy Nov 7, 2025
fefe726
update readme
willxxy Nov 7, 2025
d2d063f
Add script for Platonic Representation Hypothesis Analysis
willxxy Nov 7, 2025
063d7e4
collapse news
willxxy Nov 7, 2025
7ed2f1a
add ecg-qa-cot dataset
nbbb24 Nov 11, 2025
b83c6ff
update ecgqacot
nbbb24 Nov 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
push:
branches: [ main, master ]
pull_request:

permissions:
contents: read

jobs:
all-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install uv
run: pip install --upgrade pip && pip install uv

- name: Install package (editable) with judge extras
run: uv pip install --system -e ".[judge]"

- name: Smoke test import
run: |
python - << 'PY'
import importlib
import torch
# Ensure core package imports
importlib.import_module("ecg_bench")
print("ecg_bench import OK; torch=", torch.__version__)
PY
150 changes: 0 additions & 150 deletions .github/workflows/github-actions-demo.yml

This file was deleted.

70 changes: 51 additions & 19 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*.py[codz]
*$py.class

# C extensions
*.so

# Distribution / packaging
.vscode/
.Python
build/
develop-eggs/
Expand Down Expand Up @@ -47,7 +46,7 @@ htmlcov/
nosetests.xml
coverage.xml
*.cover
*.py,cover
*.py.cover
.hypothesis/
.pytest_cache/
cover/
Expand Down Expand Up @@ -107,17 +106,24 @@ ipython_config.py
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock
#poetry.toml

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
.pdm.toml
#pdm.toml
.pdm-python
.pdm-build/

# pixi
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
#pixi.lock
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
# in the .venv directory. It is recommended not to include this directory in version control.
.pixi

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

Expand All @@ -130,6 +136,7 @@ celerybeat.pid

# Environments
.env
.envrc
.venv
env/
venv/
Expand Down Expand Up @@ -168,21 +175,46 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# Abstra
# Abstra is an AI-powered process automation framework.
# Ignore directories containing user credentials, local state, and settings.
# Learn more at https://abstra.io/docs
.abstra/

# Visual Studio Code
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
# and can be added to the global gitignore or merged into this file. However, if you prefer,
# you could uncomment the following to ignore the entire vscode folder
# .vscode/

# Ruff stuff:
.ruff_cache/

# PyPI configuration file
.pypirc

# Cursor
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
# refer to https://docs.cursor.com/context/ignore-files
.cursorignore
.cursorindexingignore

# Extra
ecg_bench/data
ecg_bench/runs
ecg_bench/wandb
ecg_bench/pngs
.huggingface/
ecg_bench/atharva_demo/data
ecg_bench/atharva_demo/dump/testchat

.gradio/
# Marimo
marimo/_static/
marimo/_lsp/
__marimo__/

*.sh
# Hugging Face
.huggingface/

ecg_bench/scripts_dev
### ecg_bench ignores
ecg_bench/runs/
ecg_bench/data/
ecg_bench/logs/
wandb/
scripts/
*.pt
tests/OpenTSLM
pngs/
6 changes: 0 additions & 6 deletions .gitmodules

This file was deleted.

15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
repos:
- repo: local
hooks:
- id: ruff-format
name: ruff (format)
entry: python3 -m ruff format
language: system
types_or: [python] # only run on changed .py files

- id: ruff
name: ruff (lint)
entry: python3 -m ruff
language: system
types_or: [python]
args: ["check", "--fix", "--show-fixes"]
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"files.watcherExclude": {
"**/data/**": true,
"**/target/**": true,
"**/transformers/**": true,
"**/wandb/**": true
}
}
Loading