You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+58-2Lines changed: 58 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,62 @@
1
1
# daTrin 👋
2
2
3
-
What is daTrin?
3
+
is a learning material for AI beginners that focuses on training and inference. It is built on top of JAX and Flax, and is designed to be easily extensible and customizable to facilitate a better understanding of AI concepts:
4
+
5
+
collect data -> clean -> dataset -> vectorize -> train -> some magic -> save tensors -> inference
6
+
7
+
in this project, we will focus on the following:
8
+
- Loading dataset and creating training and testing samples
9
+
- Converting samples to vectors using a tokenizer
10
+
- Training on vectors, measuring loss & accuracy
11
+
- Saving/loading the model and tokenizer data
12
+
- Inference on the trained model
13
+
14
+
**!!! Warning: This project is not production-ready and is not intended to be used in production. It is a learning material for AI beginners.!!!**
15
+
16
+
## Directory structure
17
+
18
+
-`datrin` - The root directory of the project
19
+
-`data` - Contains the datasets **ag_news.csv** and **botchain.txt**
20
+
-`dataset` - Contains a class for loading the data and splitting it into training and testing samples
21
+
-`inference` - Contains the inference for the classification model and tokenizer
22
+
-`model` - Contains the classification model class, save and load config and tensors
23
+
-`out` - Contains the saved config, tensors and tokenizer
24
+
-`tokenizer` - Contains the tokenizer class
25
+
-`train` - Contains the training for the classification model and tokenizer
0 commit comments