Upload folder using huggingface_hub
Browse files- README.md +3 -0
- config.json +14 -0
- model.pt +3 -0
README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Simple PyTorch Text Classifier (TorchScript)
|
| 2 |
+
|
| 3 |
+
Binary sentiment classification.
|
config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"SimplePyTorchTextClassifier"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "torchscript",
|
| 6 |
+
"framework": "pytorch",
|
| 7 |
+
"vocab_size": 1000,
|
| 8 |
+
"max_position_embeddings": 128,
|
| 9 |
+
"num_labels": 2,
|
| 10 |
+
"id2label": {
|
| 11 |
+
"0": "negative",
|
| 12 |
+
"1": "positive"
|
| 13 |
+
}
|
| 14 |
+
}
|
model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:57de1d969066d0fb30a8569d1f267427d6977a36f30b41abd74e45bba694fc91
|
| 3 |
+
size 273171
|