Text Classification
Transformers
TensorBoard
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use GeorgeCU/students_scores_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GeorgeCU/students_scores_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="GeorgeCU/students_scores_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("GeorgeCU/students_scores_model") model = AutoModelForSequenceClassification.from_pretrained("GeorgeCU/students_scores_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +65 -0
- config.json +27 -0
- model.safetensors +3 -0
- runs/Nov27_12-37-54_a653c522d5ee/events.out.tfevents.1732711077.a653c522d5ee.22434.0 +3 -0
- runs/Nov27_12-39-25_a653c522d5ee/events.out.tfevents.1732711167.a653c522d5ee.22434.1 +3 -0
- runs/Nov27_12-43-18_a653c522d5ee/events.out.tfevents.1732711400.a653c522d5ee.22434.2 +3 -0
- runs/Nov27_12-43-32_a653c522d5ee/events.out.tfevents.1732711415.a653c522d5ee.22434.3 +3 -0
- runs/Nov27_12-43-49_a653c522d5ee/events.out.tfevents.1732711431.a653c522d5ee.22434.4 +3 -0
- runs/Nov27_12-44-28_a653c522d5ee/events.out.tfevents.1732711471.a653c522d5ee.22434.5 +3 -0
- runs/Nov27_12-44-44_a653c522d5ee/events.out.tfevents.1732711487.a653c522d5ee.22434.6 +3 -0
- runs/Nov27_12-45-05_a653c522d5ee/events.out.tfevents.1732711506.a653c522d5ee.22434.7 +3 -0
- runs/Nov27_12-47-19_a653c522d5ee/events.out.tfevents.1732711640.a653c522d5ee.22434.8 +3 -0
- runs/Nov27_12-49-59_a653c522d5ee/events.out.tfevents.1732711800.a653c522d5ee.22434.9 +3 -0
- runs/Nov27_12-51-15_a653c522d5ee/events.out.tfevents.1732711876.a653c522d5ee.22434.10 +3 -0
- runs/Nov27_12-57-24_a653c522d5ee/events.out.tfevents.1732712245.a653c522d5ee.22434.11 +3 -0
- runs/Nov27_13-00-50_a653c522d5ee/events.out.tfevents.1732712451.a653c522d5ee.22434.12 +3 -0
- runs/Nov27_13-01-49_a653c522d5ee/events.out.tfevents.1732712510.a653c522d5ee.22434.13 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: google-bert/bert-base-cased
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- f1
|
| 9 |
+
- accuracy
|
| 10 |
+
model-index:
|
| 11 |
+
- name: students_scores_model
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
# students_scores_model
|
| 19 |
+
|
| 20 |
+
This model is a fine-tuned version of [google-bert/bert-base-cased](https://huggingface.co/google-bert/bert-base-cased) on an unknown dataset.
|
| 21 |
+
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 0.2023
|
| 23 |
+
- F1: 0.6979
|
| 24 |
+
- Accuracy: 0.9555
|
| 25 |
+
|
| 26 |
+
## Model description
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Intended uses & limitations
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training and evaluation data
|
| 35 |
+
|
| 36 |
+
More information needed
|
| 37 |
+
|
| 38 |
+
## Training procedure
|
| 39 |
+
|
| 40 |
+
### Training hyperparameters
|
| 41 |
+
|
| 42 |
+
The following hyperparameters were used during training:
|
| 43 |
+
- learning_rate: 2e-05
|
| 44 |
+
- train_batch_size: 16
|
| 45 |
+
- eval_batch_size: 16
|
| 46 |
+
- seed: 42
|
| 47 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
+
- lr_scheduler_type: linear
|
| 49 |
+
- num_epochs: 3
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 | Accuracy |
|
| 54 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:--------:|
|
| 55 |
+
| No log | 1.0 | 239 | 0.1448 | 0.6592 | 0.9579 |
|
| 56 |
+
| No log | 2.0 | 478 | 0.1630 | 0.7057 | 0.9575 |
|
| 57 |
+
| 0.1087 | 3.0 | 717 | 0.2023 | 0.6979 | 0.9555 |
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
### Framework versions
|
| 61 |
+
|
| 62 |
+
- Transformers 4.46.2
|
| 63 |
+
- Pytorch 2.5.1+cu121
|
| 64 |
+
- Datasets 3.1.0
|
| 65 |
+
- Tokenizers 0.20.3
|
config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "google-bert/bert-base-cased",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"gradient_checkpointing": false,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 3072,
|
| 14 |
+
"layer_norm_eps": 1e-12,
|
| 15 |
+
"max_position_embeddings": 512,
|
| 16 |
+
"model_type": "bert",
|
| 17 |
+
"num_attention_heads": 12,
|
| 18 |
+
"num_hidden_layers": 12,
|
| 19 |
+
"pad_token_id": 0,
|
| 20 |
+
"position_embedding_type": "absolute",
|
| 21 |
+
"problem_type": "single_label_classification",
|
| 22 |
+
"torch_dtype": "float32",
|
| 23 |
+
"transformers_version": "4.46.2",
|
| 24 |
+
"type_vocab_size": 2,
|
| 25 |
+
"use_cache": true,
|
| 26 |
+
"vocab_size": 28996
|
| 27 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8626066e9ecef153ec45abd90d40fc1ce9be3e85e1401d78b90780bab5b68c6e
|
| 3 |
+
size 433270768
|
runs/Nov27_12-37-54_a653c522d5ee/events.out.tfevents.1732711077.a653c522d5ee.22434.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df8066c7daa0da08fba65471db658919cb4b9cb859072234a93e7b090b2adb2b
|
| 3 |
+
size 5074
|
runs/Nov27_12-39-25_a653c522d5ee/events.out.tfevents.1732711167.a653c522d5ee.22434.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71cbe439d94537e813ea75e43b59ac36ac4f5412cf400eb916d6dcb728d0a68f
|
| 3 |
+
size 5123
|
runs/Nov27_12-43-18_a653c522d5ee/events.out.tfevents.1732711400.a653c522d5ee.22434.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7013765522357af68f185b765beb332bf83d1e334c987f0fd42ae64a3163b6ca
|
| 3 |
+
size 5121
|
runs/Nov27_12-43-32_a653c522d5ee/events.out.tfevents.1732711415.a653c522d5ee.22434.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6542de7c8cf1f0c506c5e4ea4accef38e9bc46ebec79085eb02fd0f8dafe30ac
|
| 3 |
+
size 5121
|
runs/Nov27_12-43-49_a653c522d5ee/events.out.tfevents.1732711431.a653c522d5ee.22434.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51eae06008af55a4f77f73e39becaba969872e56fca1e9bbb965e362e9f8f06a
|
| 3 |
+
size 5121
|
runs/Nov27_12-44-28_a653c522d5ee/events.out.tfevents.1732711471.a653c522d5ee.22434.5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00e481721e2f0d4370137267d55eed1b4fd842f75050c020416f64e84f5fb96a
|
| 3 |
+
size 5121
|
runs/Nov27_12-44-44_a653c522d5ee/events.out.tfevents.1732711487.a653c522d5ee.22434.6
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96ef1f31df71bba5fdd88ec7a6f849817156bbcdcdfa23653a7e7ab2f18f3b46
|
| 3 |
+
size 5123
|
runs/Nov27_12-45-05_a653c522d5ee/events.out.tfevents.1732711506.a653c522d5ee.22434.7
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce786e2b70c0583a174015a71793f87c956f07ac4e7c994d759c592b4ed68007
|
| 3 |
+
size 5121
|
runs/Nov27_12-47-19_a653c522d5ee/events.out.tfevents.1732711640.a653c522d5ee.22434.8
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1113ed2586b450af612dacb910989a075aa82d0a7858aea6c9a1f05b9a8321fc
|
| 3 |
+
size 5121
|
runs/Nov27_12-49-59_a653c522d5ee/events.out.tfevents.1732711800.a653c522d5ee.22434.9
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfe00db4782e080bdc13dfbe7492ebf8938006ea0208010cdec7fb09835d809a
|
| 3 |
+
size 5122
|
runs/Nov27_12-51-15_a653c522d5ee/events.out.tfevents.1732711876.a653c522d5ee.22434.10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2069cc80e6817be09d8c047300b2c319ccfddd6649749a2f17642284944bc2f3
|
| 3 |
+
size 5073
|
runs/Nov27_12-57-24_a653c522d5ee/events.out.tfevents.1732712245.a653c522d5ee.22434.11
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:deb45b80aea94ea5ff3d1ed36a1250d85d1d7d14bda795eff3cfbe59d3ecf64f
|
| 3 |
+
size 5917
|
runs/Nov27_13-00-50_a653c522d5ee/events.out.tfevents.1732712451.a653c522d5ee.22434.12
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:662055649d774e8d37d8038cf60235c6ce313302b1b806e28a1be5a2a14c93af
|
| 3 |
+
size 5122
|
runs/Nov27_13-01-49_a653c522d5ee/events.out.tfevents.1732712510.a653c522d5ee.22434.13
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7cfb4d42b36e1a40dd94a4e4520326a62bc82539cf96e77ae03a904a01e98a88
|
| 3 |
+
size 6796
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": "[CLS]",
|
| 3 |
+
"mask_token": "[MASK]",
|
| 4 |
+
"pad_token": "[PAD]",
|
| 5 |
+
"sep_token": "[SEP]",
|
| 6 |
+
"unk_token": "[UNK]"
|
| 7 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "[PAD]",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"100": {
|
| 12 |
+
"content": "[UNK]",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"101": {
|
| 20 |
+
"content": "[CLS]",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"102": {
|
| 28 |
+
"content": "[SEP]",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"103": {
|
| 36 |
+
"content": "[MASK]",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"clean_up_tokenization_spaces": false,
|
| 45 |
+
"cls_token": "[CLS]",
|
| 46 |
+
"do_lower_case": false,
|
| 47 |
+
"mask_token": "[MASK]",
|
| 48 |
+
"model_max_length": 512,
|
| 49 |
+
"pad_token": "[PAD]",
|
| 50 |
+
"sep_token": "[SEP]",
|
| 51 |
+
"strip_accents": null,
|
| 52 |
+
"tokenize_chinese_chars": true,
|
| 53 |
+
"tokenizer_class": "BertTokenizer",
|
| 54 |
+
"unk_token": "[UNK]"
|
| 55 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6133464f7e72ac3afa486bf60251198d78d05f06e671ac70626657cad866c8fb
|
| 3 |
+
size 5304
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|