Skip to content

Commit

Permalink
Merge branch 'main' into psi/dpofakepairs
Browse files Browse the repository at this point in the history
  • Loading branch information
psinger authored Feb 5, 2024
2 parents 5c44e9d + 015c752 commit 33a4ccd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion llm_studio/app_utils/db.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Optional

import pandas as pd
from pandas.core.frame import DataFrame
from sqlalchemy import Integer, String, create_engine
Expand All @@ -18,7 +20,9 @@ class Dataset(Base):
path: Mapped[str] = mapped_column("path", String)
config_file: Mapped[str] = mapped_column("config_file", String)
train_rows: Mapped[int] = mapped_column("train_rows", Integer)
validation_rows: Mapped[int] = mapped_column("validation_rows", Integer)
validation_rows: Mapped[Optional[int]] = mapped_column(
"validation_rows", Integer, nullable=True
)


class Experiment(Base):
Expand Down

0 comments on commit 33a4ccd

Please sign in to comment.