dineth554 commited on
Commit
7366501
·
verified ·
1 Parent(s): 5027283

Upload 7 files

Browse files
evaluation_metrics_v2.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accuracy": 1.0,
3
+ "precision": 1.0,
4
+ "recall": 1.0,
5
+ "f1_score": 1.0,
6
+ "confusion_matrix": [
7
+ [
8
+ 2298
9
+ ]
10
+ ]
11
+ }
export_summary_v2.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "export_status": "success",
3
+ "parameter_count": 202049,
4
+ "parameter_target": 100000,
5
+ "parameter_difference_pct": 102.04899999999999,
6
+ "file_size_bytes": 816588,
7
+ "file_size_mb": 0.7787590026855469,
8
+ "target_file_size_mb": 20,
9
+ "validation_max_diff": 0.0,
10
+ "validation_passed": true,
11
+ "recommendation": "Model size is appropriate for dataset. 20 MB target would require excessive parameters."
12
+ }
model_config_v2.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "LargeSinhalaClassifier",
3
+ "architecture": {
4
+ "input_dim": 240,
5
+ "hidden_dims": [
6
+ 320,
7
+ 256,
8
+ 128,
9
+ 64
10
+ ],
11
+ "dropout": [
12
+ 0.35,
13
+ 0.35,
14
+ 0.3,
15
+ 0.3
16
+ ],
17
+ "batch_norm": true,
18
+ "num_classes": 1
19
+ },
20
+ "total_parameters": 202049,
21
+ "performance_metrics": {
22
+ "accuracy": 1.0,
23
+ "precision": 1.0,
24
+ "recall": 1.0,
25
+ "f1_score": 1.0,
26
+ "confusion_matrix": [
27
+ [
28
+ 2298
29
+ ]
30
+ ]
31
+ },
32
+ "training_config": {
33
+ "batch_size": 64,
34
+ "optimizer": "Adam",
35
+ "learning_rate": 0.001,
36
+ "weight_decay": 0.0001,
37
+ "scheduler": "ReduceLROnPlateau",
38
+ "epochs_trained": 50
39
+ },
40
+ "safetensor_file": "sinhala_language_model_v2.safetensors",
41
+ "input_features": "MFCC_statistics",
42
+ "feature_dimension": 240
43
+ }
model_documentation.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sinhala Language Classifier Model Documentation
2
+
3
+ ## Overview
4
+ This document provides comprehensive information about the trained Sinhala language classification model exported as a safetensor file.
5
+
6
+ **Model Type**: Binary Classification (Sinhala Language Detection)
7
+ **Framework**: PyTorch
8
+ **Export Format**: Safetensors
9
+ **Model File**: `sinhala_language_model.safetensors`
10
+ **Configuration File**: `model_config.json`
11
+
12
+ ## Model Architecture
13
+
14
+ ### Network Structure
15
+ Lightweight feedforward neural network optimized for CPU inference:
model_documentation_v2.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cat << 'EOF' > /app/sinhala_language_classifier_0532/model_documentation_v2.md
2
+ # Sinhala Language Classifier - Large Model (v2)
3
+
4
+ ## Model Overview
5
+ This document describes the larger variant of the Sinhala language classifier trained on MFCC audio features extracted from 11,486 Sinhala language audio samples.
6
+
7
+ ## Architecture Details
8
+
9
+ ### Model Type
10
+ **LargeSinhalaClassifier** - Deep feedforward neural network with batch normalization
11
+
12
+ ### Network Architecture
sinhala_language_model (1).safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e47d302f551d1caad7b5b89b506e4f83d547ec15fd9faffde449ba6fdc9186e
3
+ size 165508
sinhala_language_model_v2.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6fcf51fd476325898a1f804e5a1b7eb63f3f594485ac1a46597f39a89f2b115
3
+ size 816588