Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

constants.py 349 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
  1. from pathlib import Path
  2. from deadtrees.checkpoint import CHECKPOINT
  3. # local directories
  4. PACKAGE_DIR = Path(__file__).parent.absolute()
  5. ARTIFACTS_DIR = PACKAGE_DIR / "artifacts"
  6. DATA_DIR = ARTIFACTS_DIR / "data"
  7. MODELS_DIR = ARTIFACTS_DIR / "models"
  8. HOME_HTML = PACKAGE_DIR / "api" / "index.html"
  9. MODEL_CHECKPOINT_PATH = MODELS_DIR / CHECKPOINT
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...