Update modeling_CustomLEDForResultsId.py
Browse files
modeling_CustomLEDForResultsId.py
CHANGED
|
@@ -5,7 +5,7 @@ from transformers.modeling_outputs import TokenClassifierOutput
|
|
| 5 |
import torch.nn as nn
|
| 6 |
|
| 7 |
class CustomLEDForResultsIdModel(LEDPreTrainedModel):
|
| 8 |
-
def __init__(self, config: LEDConfig, checkpoint):
|
| 9 |
super().__init__(config)
|
| 10 |
self.num_labels = config.num_labels
|
| 11 |
print("Configs")
|
|
|
|
| 5 |
import torch.nn as nn
|
| 6 |
|
| 7 |
class CustomLEDForResultsIdModel(LEDPreTrainedModel):
|
| 8 |
+
def __init__(self, config: LEDConfig, checkpoint=None):
|
| 9 |
super().__init__(config)
|
| 10 |
self.num_labels = config.num_labels
|
| 11 |
print("Configs")
|