Johnlockejrr main patch 26995
Proposed solution for testing a trained/finetuned personal model not hosted on huggingface.io/Teklia
:
-
in hugging_face/config.yaml set the
model_name
variable as normal HuggingFace model syntaxmodel_name: Teklia/doc-ufcn-generic-historical-line
. -
in
doc_ufcn/models.py
set the global variableHUGGING_FACE_REPO_PREFIX = ""
and comment the linename = name.replace("doc-ufcn-", "")