Upload folder using huggingface_hub
Browse files- README.md +3 -0
- config.json +19 -0
- pytorch_model.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Simple PyTorch Text Classifier (Legacy)
|
| 2 |
+
|
| 3 |
+
Binary sentiment classification model.
|
config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"SimplePyTorchTextClassifier"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "text_classification",
|
| 6 |
+
"framework": "pytorch",
|
| 7 |
+
"vocab_size": 1000,
|
| 8 |
+
"max_position_embeddings": 128,
|
| 9 |
+
"embedding_dim": 64,
|
| 10 |
+
"num_labels": 2,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "negative",
|
| 13 |
+
"1": "positive"
|
| 14 |
+
},
|
| 15 |
+
"label2id": {
|
| 16 |
+
"negative": 0,
|
| 17 |
+
"positive": 1
|
| 18 |
+
}
|
| 19 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55ce2dc713052b387dd1c6b39dea983e324cbe098c16b85b8afaca9adbce7085
|
| 3 |
+
size 267419
|