Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use heavyhelium/roberta-large-touche-enhanced-binary with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use heavyhelium/roberta-large-touche-enhanced-binary with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="heavyhelium/roberta-large-touche-enhanced-binary")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("heavyhelium/roberta-large-touche-enhanced-binary") model = AutoModelForSequenceClassification.from_pretrained("heavyhelium/roberta-large-touche-enhanced-binary", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1, checkpoint
Browse files- checkpoint-93/config.json +37 -0
- checkpoint-93/model.safetensors +3 -0
- checkpoint-93/optimizer.pt +3 -0
- checkpoint-93/rng_state.pth +3 -0
- checkpoint-93/scaler.pt +3 -0
- checkpoint-93/scheduler.pt +3 -0
- checkpoint-93/tokenizer.json +0 -0
- checkpoint-93/tokenizer_config.json +17 -0
- checkpoint-93/trainer_state.json +108 -0
- checkpoint-93/training_args.bin +3 -0
checkpoint-93/config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_cross_attention": false,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"RobertaForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"dtype": "float32",
|
| 10 |
+
"eos_token_id": 2,
|
| 11 |
+
"hidden_act": "gelu",
|
| 12 |
+
"hidden_dropout_prob": 0.1,
|
| 13 |
+
"hidden_size": 1024,
|
| 14 |
+
"id2label": {
|
| 15 |
+
"0": "valid",
|
| 16 |
+
"1": "fallacy"
|
| 17 |
+
},
|
| 18 |
+
"initializer_range": 0.02,
|
| 19 |
+
"intermediate_size": 4096,
|
| 20 |
+
"is_decoder": false,
|
| 21 |
+
"label2id": {
|
| 22 |
+
"fallacy": 1,
|
| 23 |
+
"valid": 0
|
| 24 |
+
},
|
| 25 |
+
"layer_norm_eps": 1e-05,
|
| 26 |
+
"max_position_embeddings": 514,
|
| 27 |
+
"model_type": "roberta",
|
| 28 |
+
"num_attention_heads": 16,
|
| 29 |
+
"num_hidden_layers": 24,
|
| 30 |
+
"pad_token_id": 1,
|
| 31 |
+
"problem_type": "single_label_classification",
|
| 32 |
+
"tie_word_embeddings": true,
|
| 33 |
+
"transformers_version": "5.9.0",
|
| 34 |
+
"type_vocab_size": 1,
|
| 35 |
+
"use_cache": false,
|
| 36 |
+
"vocab_size": 50265
|
| 37 |
+
}
|
checkpoint-93/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce9417637f220f7d7e9131faaafe8afadfd176e605a3fae55f974c77abbe1006
|
| 3 |
+
size 1421495416
|
checkpoint-93/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a127003bf1811532c61e82d4030d89bc637db5966a849fbbda333b248301e6ee
|
| 3 |
+
size 2843229182
|
checkpoint-93/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b203ea65fc89cb813eab0e94850c884f421255fe06426c04648c2135dfa5385f
|
| 3 |
+
size 14645
|
checkpoint-93/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:924e9b9a07012819b7c3130d69619c81a2b4d9fc6a0af9970f7883eff3ed23f7
|
| 3 |
+
size 1383
|
checkpoint-93/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1509f821eeec3d1883e4c8feb1c9a82904e7b01ad278fdb204cbc4aebc86cbb0
|
| 3 |
+
size 1465
|
checkpoint-93/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-93/tokenizer_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"cls_token": "<s>",
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"is_local": false,
|
| 9 |
+
"local_files_only": false,
|
| 10 |
+
"mask_token": "<mask>",
|
| 11 |
+
"model_max_length": 512,
|
| 12 |
+
"pad_token": "<pad>",
|
| 13 |
+
"sep_token": "</s>",
|
| 14 |
+
"tokenizer_class": "RobertaTokenizer",
|
| 15 |
+
"trim_offsets": true,
|
| 16 |
+
"unk_token": "<unk>"
|
| 17 |
+
}
|
checkpoint-93/trainer_state.json
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": 93,
|
| 3 |
+
"best_metric": 0.7275834596900619,
|
| 4 |
+
"best_model_checkpoint": "models/roberta-large-touche-enhanced-binary/trainer/checkpoint-93",
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 93,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.10810810810810811,
|
| 14 |
+
"grad_norm": 16.532739639282227,
|
| 15 |
+
"learning_rate": 6.4285714285714295e-06,
|
| 16 |
+
"loss": 1.553863525390625,
|
| 17 |
+
"step": 10
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.21621621621621623,
|
| 21 |
+
"grad_norm": 24.55632209777832,
|
| 22 |
+
"learning_rate": 1.3571428571428574e-05,
|
| 23 |
+
"loss": 1.414971923828125,
|
| 24 |
+
"step": 20
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.32432432432432434,
|
| 28 |
+
"grad_norm": 7.70368766784668,
|
| 29 |
+
"learning_rate": 1.9920318725099602e-05,
|
| 30 |
+
"loss": 1.493170166015625,
|
| 31 |
+
"step": 30
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.43243243243243246,
|
| 35 |
+
"grad_norm": 9.611059188842773,
|
| 36 |
+
"learning_rate": 1.912350597609562e-05,
|
| 37 |
+
"loss": 1.4590301513671875,
|
| 38 |
+
"step": 40
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.5405405405405406,
|
| 42 |
+
"grad_norm": 12.690634727478027,
|
| 43 |
+
"learning_rate": 1.8326693227091633e-05,
|
| 44 |
+
"loss": 1.412310791015625,
|
| 45 |
+
"step": 50
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.6486486486486487,
|
| 49 |
+
"grad_norm": 13.649928092956543,
|
| 50 |
+
"learning_rate": 1.752988047808765e-05,
|
| 51 |
+
"loss": 1.3273170471191407,
|
| 52 |
+
"step": 60
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.7567567567567568,
|
| 56 |
+
"grad_norm": 22.00589942932129,
|
| 57 |
+
"learning_rate": 1.6733067729083667e-05,
|
| 58 |
+
"loss": 1.3404205322265625,
|
| 59 |
+
"step": 70
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.8648648648648649,
|
| 63 |
+
"grad_norm": 29.264972686767578,
|
| 64 |
+
"learning_rate": 1.593625498007968e-05,
|
| 65 |
+
"loss": 1.4568191528320313,
|
| 66 |
+
"step": 80
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.972972972972973,
|
| 70 |
+
"grad_norm": 22.74860954284668,
|
| 71 |
+
"learning_rate": 1.5139442231075698e-05,
|
| 72 |
+
"loss": 1.1942962646484374,
|
| 73 |
+
"step": 90
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 1.0,
|
| 77 |
+
"eval_accuracy": 0.735,
|
| 78 |
+
"eval_fallacy_f1": 0.7725321888412017,
|
| 79 |
+
"eval_loss": 0.543099045753479,
|
| 80 |
+
"eval_macro_f1": 0.7275834596900619,
|
| 81 |
+
"eval_runtime": 2.291,
|
| 82 |
+
"eval_samples_per_second": 87.297,
|
| 83 |
+
"eval_steps_per_second": 5.674,
|
| 84 |
+
"step": 93
|
| 85 |
+
}
|
| 86 |
+
],
|
| 87 |
+
"logging_steps": 10,
|
| 88 |
+
"max_steps": 279,
|
| 89 |
+
"num_input_tokens_seen": 0,
|
| 90 |
+
"num_train_epochs": 3,
|
| 91 |
+
"save_steps": 500,
|
| 92 |
+
"stateful_callbacks": {
|
| 93 |
+
"TrainerControl": {
|
| 94 |
+
"args": {
|
| 95 |
+
"should_epoch_stop": false,
|
| 96 |
+
"should_evaluate": false,
|
| 97 |
+
"should_log": false,
|
| 98 |
+
"should_save": true,
|
| 99 |
+
"should_training_stop": false
|
| 100 |
+
},
|
| 101 |
+
"attributes": {}
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
"total_flos": 265021621803288.0,
|
| 105 |
+
"train_batch_size": 4,
|
| 106 |
+
"trial_name": null,
|
| 107 |
+
"trial_params": null
|
| 108 |
+
}
|
checkpoint-93/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:289286e71a74df77914c3392f4d411e1b3deb53c0130d083ae87d9aa1cdd507f
|
| 3 |
+
size 5457
|