renpas22 commited on
Commit ·
83e0535
1
Parent(s): 27b06f0
Fix imports to work with sys.path
Browse files- train_qwen_cot_dual.py +4 -4
train_qwen_cot_dual.py
CHANGED
|
@@ -28,10 +28,10 @@ repo_root = Path(__file__).parent.absolute()
|
|
| 28 |
sys.path.insert(0, str(repo_root))
|
| 29 |
sys.path.insert(0, str(repo_root / "src"))
|
| 30 |
|
| 31 |
-
from
|
| 32 |
-
from
|
| 33 |
-
from
|
| 34 |
-
from
|
| 35 |
from utils.add_special_tokens import add_special_tokens_to_model
|
| 36 |
|
| 37 |
# Set up logging
|
|
|
|
| 28 |
sys.path.insert(0, str(repo_root))
|
| 29 |
sys.path.insert(0, str(repo_root / "src"))
|
| 30 |
|
| 31 |
+
from reasoning.step_level_cot import StepLevelCoTTrainer
|
| 32 |
+
from reasoning.flux_reason_dataset import FLUXReasonDataset, create_flux_reason_dataloader
|
| 33 |
+
from reasoning.finevision_dataset import FineVisionDataset, create_finevision_dataloader
|
| 34 |
+
from reasoning.step_data import ReasoningChain
|
| 35 |
from utils.add_special_tokens import add_special_tokens_to_model
|
| 36 |
|
| 37 |
# Set up logging
|