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
Browse files- README.md +8 -10
- pytorch_model.bin +1 -1
- tokenizer.json +16 -2
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -18,10 +18,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 0.
|
| 22 |
-
- F1: 0.
|
| 23 |
-
- Roc Auc: 0.
|
| 24 |
-
- Accuracy: 0.
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
@@ -46,15 +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
|
| 54 |
-
|:-------------:|:-----:|:----:|:---------------:|:---
|
| 55 |
-
| No log | 1.0 | 258 | 0.
|
| 56 |
-
| 0.6342 | 2.0 | 516 | 0.6364 | 0.0472 | 0.5038 | 0.025 |
|
| 57 |
-
| 0.6342 | 3.0 | 774 | 0.6302 | 0.0569 | 0.5088 | 0.03 |
|
| 58 |
|
| 59 |
|
| 60 |
### Framework versions
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.6180
|
| 22 |
+
- F1: 0.0
|
| 23 |
+
- Roc Auc: 0.5
|
| 24 |
+
- Accuracy: 0.0
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
|
|
| 46 |
- seed: 42
|
| 47 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 48 |
- lr_scheduler_type: linear
|
| 49 |
+
- num_epochs: 1
|
| 50 |
|
| 51 |
### Training results
|
| 52 |
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
|
| 54 |
+
|:-------------:|:-----:|:----:|:---------------:|:---:|:-------:|:--------:|
|
| 55 |
+
| No log | 1.0 | 258 | 0.6180 | 0.0 | 0.5 | 0.0 |
|
|
|
|
|
|
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
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:12a9546ef53a9b236a6a962322314cea306ecae47a5a9c78504b6dcb71abcefb
|
| 3 |
size 438006577
|
tokenizer.json
CHANGED
|
@@ -1,7 +1,21 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
| 7 |
"id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": {
|
| 4 |
+
"direction": "Right",
|
| 5 |
+
"max_length": 512,
|
| 6 |
+
"strategy": "LongestFirst",
|
| 7 |
+
"stride": 0
|
| 8 |
+
},
|
| 9 |
+
"padding": {
|
| 10 |
+
"strategy": {
|
| 11 |
+
"Fixed": 512
|
| 12 |
+
},
|
| 13 |
+
"direction": "Right",
|
| 14 |
+
"pad_to_multiple_of": null,
|
| 15 |
+
"pad_id": 0,
|
| 16 |
+
"pad_type_id": 0,
|
| 17 |
+
"pad_token": "[PAD]"
|
| 18 |
+
},
|
| 19 |
"added_tokens": [
|
| 20 |
{
|
| 21 |
"id": 0,
|
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:921aaf1f567af14c881a65782c1c61b5241b1588cca4c50fe299c7d79f31c2f9
|
| 3 |
size 4027
|