Text Classification
Hebrew
neurlang commited on
Commit
4391a50
·
verified ·
1 Parent(s): 10366a1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +44 -3
README.md CHANGED
@@ -1,3 +1,44 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ pipeline_tag: text-classification
4
+ ---
5
+
6
+ # Goruut Extra Models
7
+
8
+ ## Hebrew3
9
+
10
+ ### Instructions
11
+
12
+ 1. Clone `https://github.com/neurlang/goruut/` master branch
13
+ 2. Compile goruut: `cd cmd/goruut` ; `go build`
14
+ 3. Clone this repo (copy model zip to /tmp/)
15
+ 4. Create a config file for goruut:
16
+ ```json
17
+ {
18
+ "Port": "18080",
19
+ "AdminPort": "28080",
20
+ "PolicyMaxWords": 999999999,
21
+ "Logging": {"Level": "debug"},
22
+ "LoadModels": [
23
+ {"Lang": "Hebrew", "File": "/tmp/hebrew3.zip"}
24
+ ]
25
+ }
26
+ ```
27
+ 5. Run goruut: `./goruut --configfile my_config.json`
28
+ 6. Should see:
29
+ ```
30
+ INFO[0000] Loaded language Hebrew as /tmp/hebrew3.zip
31
+ ```
32
+ 7. Go to http://localhost:18080/
33
+ 8. Infer using language Hebrew (the cloud modul is now in use)
34
+ 9. Should see:
35
+ ```
36
+ INFO[0002] Loader used file: Hebrew /tmp/hebrew3.zip language.json
37
+ INFO[0002] Loader used file: Hebrew /tmp/hebrew3.zip language.json
38
+ INFO[0002] Loader used file: Hebrew /tmp/hebrew3.zip language.json
39
+ INFO[0002] Loader used file: Hebrew /tmp/hebrew3.zip weights4.json.zlib
40
+ INFO[0002] Loader used file: Hebrew /tmp/hebrew3.zip missing.all.zlib
41
+ INFO[0003] Loader used file: Hebrew /tmp/hebrew3.zip weights5.json.zlib
42
+ ```
43
+
44
+