From 23a80d711b5c80d494a2b1aa4bc370cafd1c61d5 Mon Sep 17 00:00:00 2001 From: arxyzan Date: Wed, 23 Aug 2023 18:13:30 +0330 Subject: [PATCH] Add docs/models_in_depth_overview.md --- docs/guide/hezar_architecture.md | 3 +-- docs/guide/index.md | 1 + docs/guide/models_in_depth_overview.md | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 docs/guide/models_in_depth_overview.md diff --git a/docs/guide/hezar_architecture.md b/docs/guide/hezar_architecture.md index ab36907b..b2cede2b 100644 --- a/docs/guide/hezar_architecture.md +++ b/docs/guide/hezar_architecture.md @@ -94,10 +94,9 @@ word2vec = Embedding.load("hezarai/word2vec-skipgram-fa-wikipedia") # A Word2Ve ... ``` - -**Registry System**
So, what's going on under the hood that handles module loading and initiation? +**Registry System**
Well, there are ways to tackle this challenge, but Hezar manages this by using _a global registry_ for every module type. These registries are simple Python dictionaries that hold the properties for every module class, module config, etc. diff --git a/docs/guide/index.md b/docs/guide/index.md index 25250cc9..11fe539b 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -6,5 +6,6 @@ Welcome to the developer guide section where you can take a deeper dive into the :maxdepth: 2 hezar_architecture.md +models_in_depth_overview.md train_custom_models.md ``` \ No newline at end of file diff --git a/docs/guide/models_in_depth_overview.md b/docs/guide/models_in_depth_overview.md new file mode 100644 index 00000000..1fc2a791 --- /dev/null +++ b/docs/guide/models_in_depth_overview.md @@ -0,0 +1 @@ +# Models In-depth Overview \ No newline at end of file