Johnesss commited on
Commit
2fc280f
·
verified ·
1 Parent(s): 0e43283

Push Keras model using huggingface_hub.

Browse files
Files changed (3) hide show
  1. README.md +2 -16
  2. fingerprint.pb +1 -1
  3. saved_model.pb +1 -1
README.md CHANGED
@@ -1,29 +1,15 @@
1
  ---
2
  library_name: keras
3
- language:
4
- - en
5
- pipeline_tag: text-classification
6
- tags:
7
- - toxic
8
- - comment
9
- - toxic comment
10
  ---
11
 
12
  ## Model description
13
 
14
- This model used for text classification with toxic and non-toxic labels.
15
 
16
  ## Intended uses & limitations
17
 
18
- If you want to reuse model, try copy this
19
- ```
20
- from huggingface_hub import from_pretrained_keras
21
- reloaded_model = from_pretrained_keras('Johnesss/Toxic-Comment-Classification')
22
 
23
- y_testing=reloaded_model.predict(x_testing,verbose=1,batch_size=32)
24
- test_df['Toxic']=['Not Toxic' if x<0.5 else 'Toxic' for x in y_testing]
25
- test_df[['comment_text','Toxic']].head(20)
26
- ```
27
  ## Training and evaluation data
28
 
29
  More information needed
 
1
  ---
2
  library_name: keras
 
 
 
 
 
 
 
3
  ---
4
 
5
  ## Model description
6
 
7
+ More information needed
8
 
9
  ## Intended uses & limitations
10
 
11
+ More information needed
 
 
 
12
 
 
 
 
 
13
  ## Training and evaluation data
14
 
15
  More information needed
fingerprint.pb CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:75bfc290ace81c057c9b7b265021de305dd62f6bd7445ff6bd6f0567530f4a5f
3
  size 57
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:785dfcc75e83e4431f017e13ee14be78490d4388c885f424686b8641348469c6
3
  size 57
saved_model.pb CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8387575efdf7ac545760e44943a3fc37d755255fb0c0f57bb199c2d42b1d389b
3
  size 158326
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67e20c8ccbca42b59ed7955ddca6a54738f97f2715c0fbb92f4ab5ce28d469f1
3
  size 158326