Ray2333 commited on
Commit
a707073
1 Parent(s): e7b0d27

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +0 -3
model.py CHANGED
@@ -2,11 +2,8 @@
2
  # Enabling better customization for generalizable reward modeling
3
  import torch
4
  import torch.nn as nn
5
- import os
6
  from transformers import AutoModelForCausalLM
7
  from trl import PreTrainedModelWrapper
8
- from peft import PeftModel, PeftConfig
9
- from safetensors import safe_open
10
 
11
 
12
  class ValueHead(nn.Module):
 
2
  # Enabling better customization for generalizable reward modeling
3
  import torch
4
  import torch.nn as nn
 
5
  from transformers import AutoModelForCausalLM
6
  from trl import PreTrainedModelWrapper
 
 
7
 
8
 
9
  class ValueHead(nn.Module):