naivas-grns / config.py
waceke's picture
Updated the config.py
b54dcd8 verified
raw
history blame contribute delete
634 Bytes
from pydantic import BaseSettings
class Settings(BaseSettings):
huggingface_key: str = "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"
processor: str = "senga-ml/naivas_grns"
model: str = "senga-ml/naivas_grns"
dataset: str = "senga-ml/dnotes-data-v6"
base_config: str = "naver-clova-ix/donut-base"
base_processor: str = "naver-clova-ix/donut-base"
base_model: str = "naver-clova-ix/donut-base"
inference_stats_file: str = "data/donut_inference_stats.json"
training_stats_file: str = "data/donut_training_stats.json"
evaluate_stats_file: str = "data/donut_evaluate_stats.json"
settings = Settings()