aav-ds commited on
Commit
5dff9a2
·
1 Parent(s): 3b384eb

Upload TFDistilBertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +0 -6
  2. config.json +8 -0
  3. tf_model.h5 +2 -2
README.md CHANGED
@@ -6,12 +6,6 @@ tags:
6
  model-index:
7
  - name: news_sentiment_model
8
  results: []
9
- widget:
10
- - text: "At least 100000 civilians, mostly children, were killed in the Gaza Strip this morning as Israeli warplanes bombed."
11
- example_title: "Anti-Israel example"
12
- - text: "Several thousand people demonstrate against antisemitism in Berlin as Germany grapples with a large increase in anti-Jewish incidents following Hamas’s assault on Israel two months ago."
13
- example_title: "Pro-Israel example"
14
-
15
  ---
16
 
17
  <!-- This model card has been generated automatically according to the information Keras had access to. You should
 
6
  model-index:
7
  - name: news_sentiment_model
8
  results: []
 
 
 
 
 
 
9
  ---
10
 
11
  <!-- This model card has been generated automatically according to the information Keras had access to. You should
config.json CHANGED
@@ -8,7 +8,15 @@
8
  "dim": 768,
9
  "dropout": 0.1,
10
  "hidden_dim": 3072,
 
 
 
 
11
  "initializer_range": 0.02,
 
 
 
 
12
  "max_position_embeddings": 512,
13
  "model_type": "distilbert",
14
  "n_heads": 12,
 
8
  "dim": 768,
9
  "dropout": 0.1,
10
  "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "Anti-Israel",
13
+ "1": "Pro-Israel"
14
+ },
15
  "initializer_range": 0.02,
16
+ "label2id": {
17
+ "Anti-Israel": 0,
18
+ "Pro-Israel": 1
19
+ },
20
  "max_position_embeddings": 512,
21
  "model_type": "distilbert",
22
  "n_heads": 12,
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0c6a43c77497b86ee7ab2e8312b173018158083e36d1bd10bfe3e5c7ee0ef22d
3
- size 267951808
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8eb4e6c7626231c640ef794f0e4c902c376a47d8c22160aae81d756c722e486a
3
+ size 267955144