Upload TFDistilBertForSequenceClassification
Browse files- README.md +0 -6
- config.json +8 -0
- 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8eb4e6c7626231c640ef794f0e4c902c376a47d8c22160aae81d756c722e486a
|
| 3 |
+
size 267955144
|