Update README.md
Browse files
README.md
CHANGED
|
@@ -49,7 +49,7 @@ class DualEncoderThesisModel(nn.Module, PyTorchModelHubMixin):
|
|
| 49 |
|
| 50 |
return emb_a, emb_b
|
| 51 |
|
| 52 |
-
model_name = "
|
| 53 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 54 |
|
| 55 |
model = DualEncoderThesisModel.from_pretrained(model_name)
|
|
@@ -58,7 +58,7 @@ model.eval()
|
|
| 58 |
device = "cpu"
|
| 59 |
|
| 60 |
embeddings_path = hf_hub_download(
|
| 61 |
-
repo_id="
|
| 62 |
filename="retrieval_data_random_negatives_10_train_data.pkl"
|
| 63 |
)
|
| 64 |
|
|
|
|
| 49 |
|
| 50 |
return emb_a, emb_b
|
| 51 |
|
| 52 |
+
model_name = "azza1625/target-identification"
|
| 53 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 54 |
|
| 55 |
model = DualEncoderThesisModel.from_pretrained(model_name)
|
|
|
|
| 58 |
device = "cpu"
|
| 59 |
|
| 60 |
embeddings_path = hf_hub_download(
|
| 61 |
+
repo_id="azza1625/target-identification",
|
| 62 |
filename="retrieval_data_random_negatives_10_train_data.pkl"
|
| 63 |
)
|
| 64 |
|