@masteryhub-its/speakout-local-client-model 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "@masteryhub-its/speakout-local-client-model",
3
+ "version": "0.0.1",
4
+ "description": "Local text moderation library using an Arabic MiniBERT model with ONNX Runtime (Web/Browser)",
5
+ "type": "module",
6
+ "main": "./index.js",
7
+ "module": "./index.js",
8
+ "sideEffects": false,
9
+ "exports": {
10
+ ".": "./index.js"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "files": [
16
+ "index.js",
17
+ "lib/**/*",
18
+ "models/**/*",
19
+ "README.md",
20
+ "LICENSE"
21
+ ],
22
+ "scripts": {
23
+ "build": "tsc",
24
+ "prepublishOnly": "npm run build",
25
+ "ml:train": "python src/training/trainer.py",
26
+ "ml:preprocess": "python src/data_processing/pipeline.py",
27
+ "ml:optimize": "python src/worker/run.py",
28
+ "test": "node --test"
29
+ },
30
+ "keywords": [
31
+ "moderation",
32
+ "text-moderation",
33
+ "content-moderation",
34
+ "bert",
35
+ "onnx",
36
+ "nlp",
37
+ "ai"
38
+ ],
39
+ "author": "MasteryHub ITS",
40
+ "license": "MIT",
41
+ "dependencies": {
42
+ "onnxruntime-web": "^1.19.0"
43
+ },
44
+ "devDependencies": {
45
+ "@types/node": "^20.10.0",
46
+ "typescript": "^5.3.3",
47
+ "ts-node": "^10.9.2"
48
+ },
49
+ "repository": {
50
+ "type": "git",
51
+ "url": "https://gitlab.masteryhub-its.com/masteryhub-its/speakout-platform-local-model.git"
52
+ }
53
+ }