Instructions to use RajuEEE/RewardModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RajuEEE/RewardModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="RajuEEE/RewardModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("RajuEEE/RewardModel") model = AutoModelForSequenceClassification.from_pretrained("RajuEEE/RewardModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
RajuEEE/RewardModel_2
Browse files- README.md +7 -11
- config.json +1 -1
- pytorch_model.bin +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
-
base_model:
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
|
@@ -16,11 +16,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
|
| 17 |
# RewardModel
|
| 18 |
|
| 19 |
-
This model is a fine-tuned version of [
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss:
|
| 22 |
-
- F1: 0.
|
| 23 |
-
- Roc Auc: 0.
|
| 24 |
- Accuracy: 0.495
|
| 25 |
|
| 26 |
## Model description
|
|
@@ -46,17 +46,13 @@ The following hyperparameters were used during training:
|
|
| 46 |
- seed: 42
|
| 47 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 48 |
- lr_scheduler_type: linear
|
| 49 |
-
- num_epochs:
|
| 50 |
|
| 51 |
### Training results
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:--------:|
|
| 55 |
-
| 0.
|
| 56 |
-
| 0.5556 | 3.88 | 1000 | 0.6252 | 0.4703 | 0.6075 | 0.455 |
|
| 57 |
-
| 0.3224 | 5.81 | 1500 | 0.8815 | 0.5086 | 0.63 | 0.495 |
|
| 58 |
-
| 0.1332 | 7.75 | 2000 | 1.3508 | 0.4677 | 0.6 | 0.46 |
|
| 59 |
-
| 0.0555 | 9.69 | 2500 | 1.4896 | 0.48 | 0.61 | 0.48 |
|
| 60 |
|
| 61 |
|
| 62 |
### Framework versions
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
base_model: RajuEEE/RewardModel
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
|
|
|
| 16 |
|
| 17 |
# RewardModel
|
| 18 |
|
| 19 |
+
This model is a fine-tuned version of [RajuEEE/RewardModel](https://huggingface.co/RajuEEE/RewardModel) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 1.4180
|
| 22 |
+
- F1: 0.4938
|
| 23 |
+
- Roc Auc: 0.6200
|
| 24 |
- Accuracy: 0.495
|
| 25 |
|
| 26 |
## Model description
|
|
|
|
| 46 |
- seed: 42
|
| 47 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 48 |
- lr_scheduler_type: linear
|
| 49 |
+
- num_epochs: 2
|
| 50 |
|
| 51 |
### Training results
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:--------:|
|
| 55 |
+
| 0.1595 | 1.94 | 500 | 1.4180 | 0.4938 | 0.6200 | 0.495 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "RajuEEE/RewardModel",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 438006577
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74713d3633ac0405396e9b0a888393f883388c696d9136046d2f549dd0a7cd4c
|
| 3 |
size 438006577
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4027
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d2e3c2d5b48dc5b2f1b9f2150bb43ff13f5211a9d4a07158b146615db9a9f95
|
| 3 |
size 4027
|