File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v5 .0.0 # Use the ref you want to point at
3+ rev : v6 .0.0 # Use the ref you want to point at
44 hooks :
55 - id : trailing-whitespace
66 - id : check-ast
1616 - id : check-toml
1717
1818 - repo : https://github.com/astral-sh/ruff-pre-commit
19- rev : ' v0.11.7 '
19+ rev : ' v0.13.0 '
2020 hooks :
2121 - id : ruff
2222 args : [--fix, --exit-non-zero-on-fix]
2525 types_or : [python, jupyter]
2626
2727 - repo : https://github.com/pre-commit/mirrors-mypy
28- rev : v1.15.0
28+ rev : v1.18.1
2929 hooks :
3030 - id : mypy
3131 entry : python3 -m mypy --config-file pyproject.toml
Original file line number Diff line number Diff line change 77import numpy as np
88import pandas as pd
99import torch
10+ from odyssey .models .cehr_big_bird .embeddings import Embeddings
1011from sklearn .metrics import (
1112 balanced_accuracy_score ,
1213)
1920
2021from odyssey .data .dataset import FinetuneDataset
2122from odyssey .data .tokenizer import HuggingFaceConceptTokenizer
22- from odyssey .models .cehr_big_bird .embeddings import Embeddings
2323
2424
2525ROOT = "/fs01/home/afallah/odyssey/odyssey"
You can’t perform that action at this time.
0 commit comments