Instructions to use itshiroto/results with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use itshiroto/results with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="itshiroto/results")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("itshiroto/results") model = AutoModelForSequenceClassification.from_pretrained("itshiroto/results", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- config.json +11 -6
- model.safetensors +2 -2
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
|
|
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
| 6 |
-
"attention_probs_dropout_prob": 0.
|
| 7 |
-
"bos_token_id": 0,
|
| 8 |
"classifier_dropout": null,
|
| 9 |
-
"
|
| 10 |
"hidden_act": "gelu",
|
| 11 |
-
"hidden_dropout_prob": 0.
|
| 12 |
"hidden_size": 768,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
"intermediate_size": 3072,
|
|
@@ -19,11 +19,16 @@
|
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"output_past": true,
|
| 21 |
"pad_token_id": 0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
"position_embedding_type": "absolute",
|
| 23 |
"problem_type": "single_label_classification",
|
| 24 |
"torch_dtype": "float32",
|
| 25 |
"transformers_version": "4.44.2",
|
| 26 |
"type_vocab_size": 2,
|
| 27 |
"use_cache": true,
|
| 28 |
-
"vocab_size":
|
| 29 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "indobenchmark/indobert-base-p1",
|
| 3 |
+
"_num_labels": 5,
|
| 4 |
"architectures": [
|
| 5 |
"BertForSequenceClassification"
|
| 6 |
],
|
| 7 |
+
"attention_probs_dropout_prob": 0.3,
|
|
|
|
| 8 |
"classifier_dropout": null,
|
| 9 |
+
"directionality": "bidi",
|
| 10 |
"hidden_act": "gelu",
|
| 11 |
+
"hidden_dropout_prob": 0.3,
|
| 12 |
"hidden_size": 768,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
"intermediate_size": 3072,
|
|
|
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"output_past": true,
|
| 21 |
"pad_token_id": 0,
|
| 22 |
+
"pooler_fc_size": 768,
|
| 23 |
+
"pooler_num_attention_heads": 12,
|
| 24 |
+
"pooler_num_fc_layers": 3,
|
| 25 |
+
"pooler_size_per_head": 128,
|
| 26 |
+
"pooler_type": "first_token_transform",
|
| 27 |
"position_embedding_type": "absolute",
|
| 28 |
"problem_type": "single_label_classification",
|
| 29 |
"torch_dtype": "float32",
|
| 30 |
"transformers_version": "4.44.2",
|
| 31 |
"type_vocab_size": 2,
|
| 32 |
"use_cache": true,
|
| 33 |
+
"vocab_size": 50000
|
| 34 |
}
|
model.safetensors
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:f79a13ce4133f0e72dcc2095af1f40be40a6fde4fd17f5cb91a1a638ffda2bd1
|
| 3 |
+
size 497795072
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5176
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d722c61803215dda465ae1604a0ec6af554af824fd6e4f3a4cedfafac820c1f
|
| 3 |
size 5176
|