Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
natolambert committed Oct 23, 2024
1 parent 0636d90 commit bfd9b15
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion rewardbench/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@
"custom_dialogue": False,
"model_type": "Seq. Classifier",
},

}

DPO_MODEL_CONFIG = {
Expand Down
5 changes: 1 addition & 4 deletions rewardbench/models/qrm.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
import torch.nn as nn
import torch.nn.functional as F
import torch.utils.checkpoint
from transformers import (
LlamaModel,
LlamaPreTrainedModel,
)
from transformers import LlamaModel, LlamaPreTrainedModel
from transformers.models.llama.modeling_llama import LLAMA_INPUTS_DOCSTRING
from transformers.utils import ModelOutput, add_start_docstrings_to_model_forward

Expand Down

0 comments on commit bfd9b15

Please sign in to comment.