Update README.md
Browse files
README.md
CHANGED
@@ -45,7 +45,7 @@ Mimic human preference given a query and 2 different answers.
|
|
45 |
import torch
|
46 |
from torch import nn
|
47 |
from torch.nn import CrossEntropyLoss, MSELoss, BCEWithLogitsLoss
|
48 |
-
from transformers import Gemma2PreTrainedModel,Gemma2Model
|
49 |
from transformers.modeling_outputs import SequenceClassifierOutputWithPast
|
50 |
from typing import Optional, List, Union, Tuple
|
51 |
from dataclasses import dataclass
|
|
|
45 |
import torch
|
46 |
from torch import nn
|
47 |
from torch.nn import CrossEntropyLoss, MSELoss, BCEWithLogitsLoss
|
48 |
+
from transformers import Gemma2PreTrainedModel,Gemma2Model, Cache, AutoTokenizer
|
49 |
from transformers.modeling_outputs import SequenceClassifierOutputWithPast
|
50 |
from typing import Optional, List, Union, Tuple
|
51 |
from dataclasses import dataclass
|