mirror of
https://github.com/SakanaAI/doc-to-lora.git
synced 2026-07-23 17:01:04 +02:00
backward compat import
This commit is contained in:
parent
75fc4e5ff8
commit
21da12bdf1
1 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import json
|
||||
import os
|
||||
import sys
|
||||
from glob import glob
|
||||
|
||||
import torch
|
||||
|
|
@ -9,7 +10,9 @@ from transformers import pipeline
|
|||
|
||||
from ctx_to_lora.data.processing import tokenize_ctx_text
|
||||
from ctx_to_lora.model_loading import get_tokenizer
|
||||
from ctx_to_lora.modeling import hypernet
|
||||
|
||||
sys.modules["ctx_to_lora.modeling_utils"] = hypernet
|
||||
app = Flask(__name__)
|
||||
|
||||
TRAIN_OUTPUTS_DIR = "train_outputs/runs"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue