jupyterjazz
commited on
Commit
•
f9962ee
1
Parent(s):
3830381
chore: remove model weights
Browse filesSigned-off-by: jupyterjazz <saba.sturua@jina.ai>
- modeling_lora.py +3 -0
- pytorch_model.bin +0 -3
modeling_lora.py
CHANGED
@@ -238,6 +238,9 @@ class LoRAParametrization(nn.Module):
|
|
238 |
|
239 |
|
240 |
class XLMRobertaLoRA(XLMRobertaPreTrainedModel):
|
|
|
|
|
|
|
241 |
def __init__(
|
242 |
self, config: XLMRobertaFlashConfig, roberta: Optional[XLMRobertaModel] = None
|
243 |
):
|
|
|
238 |
|
239 |
|
240 |
class XLMRobertaLoRA(XLMRobertaPreTrainedModel):
|
241 |
+
"""
|
242 |
+
A wrapper class around the Jina XLM-RoBERTa model that integrates LoRA (Low-Rank Adaptation) adapters.
|
243 |
+
"""
|
244 |
def __init__(
|
245 |
self, config: XLMRobertaFlashConfig, roberta: Optional[XLMRobertaModel] = None
|
246 |
):
|
pytorch_model.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:cfa8fa7c7e120199548fe7149512c0adfe58f6bc13ce19f09b895aa25e8af910
|
3 |
-
size 1113232188
|
|
|
|
|
|
|
|