Update README.md
Browse files
README.md
CHANGED
|
@@ -62,6 +62,7 @@ sentences = [
|
|
| 62 |
"The plaintiff filed a motion for summary judgment.",
|
| 63 |
"The court granted the motion based on lack of genuine dispute of material fact."
|
| 64 |
]
|
|
|
|
| 65 |
# No specific prompt is required for this version
|
| 66 |
embeddings = model.encode(
|
| 67 |
sentences,
|
|
@@ -92,6 +93,7 @@ with torch.no_grad():
|
|
| 92 |
# Normalize embeddings
|
| 93 |
embeddings = torch.nn.functional.normalize(embeddings, p=2, dim=1)
|
| 94 |
print(embeddings)
|
|
|
|
| 95 |
Training Details
|
| 96 |
The model was fine-tuned using LoRA (Low-Rank Adaptation) via the Swift framework.
|
| 97 |
|
|
|
|
| 62 |
"The plaintiff filed a motion for summary judgment.",
|
| 63 |
"The court granted the motion based on lack of genuine dispute of material fact."
|
| 64 |
]
|
| 65 |
+
|
| 66 |
# No specific prompt is required for this version
|
| 67 |
embeddings = model.encode(
|
| 68 |
sentences,
|
|
|
|
| 93 |
# Normalize embeddings
|
| 94 |
embeddings = torch.nn.functional.normalize(embeddings, p=2, dim=1)
|
| 95 |
print(embeddings)
|
| 96 |
+
|
| 97 |
Training Details
|
| 98 |
The model was fine-tuned using LoRA (Low-Rank Adaptation) via the Swift framework.
|
| 99 |
|