LoveJesus commited on
Commit
1e77043
·
verified ·
1 Parent(s): 62d08d1

Add model card

Browse files
Files changed (1) hide show
  1. README.md +40 -406
README.md CHANGED
@@ -1,431 +1,65 @@
1
  ---
 
 
2
  tags:
3
- - sentence-transformers
4
- - sentence-similarity
5
- - feature-extraction
6
- - dense
7
- - generated_from_trainer
8
- - dataset_size:275838
9
- - loss:TripletLoss
10
- base_model: sentence-transformers/all-MiniLM-L12-v2
11
- widget:
12
- - source_sentence: Thus saith the LORD of hosts, the God of Israel; As yet they shall
13
- use this speech in the land of Judah and in the cities thereof, when I shall bring
14
- again their captivity; The LORD bless thee, O habitation of justice, and mountain
15
- of holiness.
16
- sentences:
17
- - 'The LORD shall bless thee out of Zion: and thou shalt see the good of Jerusalem
18
- all the days of thy life.'
19
- - And he went out to meet Asa, and said unto him, Hear ye me, Asa, and all Judah
20
- and Benjamin; The LORD is with you, while ye be with him; and if ye seek him,
21
- he will be found of you; but if ye forsake him, he will forsake you.
22
- - And say thou unto them, Thus saith the LORD God of Israel; Cursed be the man that
23
- obeyeth not the words of this covenant,
24
- - source_sentence: Because of their wickedness which they have committed to provoke
25
- me to anger, in that they went to burn incense, and to serve other gods, whom
26
- they knew not, neither they, ye, nor your fathers.
27
- sentences:
28
- - 'Woe be unto thee, O Moab! the people of Chemosh perisheth: for thy sons are taken
29
- captives, and thy daughters captives.'
30
- - 'It repenteth me that I have set up Saul to be king: for he is turned back from
31
- following me, and hath not performed my commandments. And it grieved Samuel; and
32
- he cried unto the LORD all night.'
33
- - If thy brother, the son of thy mother, or thy son, or thy daughter, or the wife
34
- of thy bosom, or thy friend, which is as thine own soul, entice thee secretly,
35
- saying, Let us go and serve other gods, which thou hast not known, thou, nor thy
36
- fathers;
37
- - source_sentence: As the appearance of the bow that is in the cloud in the day of
38
- rain, so was the appearance of the brightness round about. This was the appearance
39
- of the likeness of the glory of the LORD. And when I saw it, I fell upon my face,
40
- and I heard a voice of one that spake.
41
- sentences:
42
- - 'A new heart also will I give you, and a new spirit will I put within you: and
43
- I will take away the stony heart out of your flesh, and I will give you an heart
44
- of flesh.'
45
- - Thus saith the Lord GOD; If the prince give a gift unto any of his sons, the inheritance
46
- thereof shall be his sons’; it shall be their possession by inheritance.
47
- - 'And when I saw him, I fell at his feet as dead. And he laid his right hand upon
48
- me, saying unto me, Fear not; I am the first and the last:'
49
- - source_sentence: Masters, give unto your servants that which is just and equal;
50
- knowing that ye also have a Master in heaven.
51
- sentences:
52
- - And not holding the Head, from which all the body by joints and bands having nourishment
53
- ministered, and knit together, increaseth with the increase of God.
54
- - And he said also unto his disciples, There was a certain rich man, which had a
55
- steward; and the same was accused unto him that he had wasted his goods.
56
- - And the keeper of the prison awaking out of his sleep, and seeing the prison doors
57
- open, he drew out his sword, and would have killed himself, supposing that the
58
- prisoners had been fled.
59
- - source_sentence: But God shall wound the head of his enemies, and the hairy scalp
60
- of such an one as goeth on still in his trespasses.
61
- sentences:
62
- - 'Then again called they the man that was blind, and said unto him, Give God the
63
- praise: we know that this man is a sinner.'
64
- - Who can utter the mighty acts of the LORD? who can shew forth all his praise?
65
- - Again, when the wicked man turneth away from his wickedness that he hath committed,
66
- and doeth that which is lawful and right, he shall save his soul alive.
67
  pipeline_tag: sentence-similarity
68
  library_name: sentence-transformers
69
- metrics:
70
- - pearson_cosine
71
- - spearman_cosine
72
- model-index:
73
- - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L12-v2
74
- results:
75
- - task:
76
- type: semantic-similarity
77
- name: Semantic Similarity
78
- dataset:
79
- name: intertextual similarity chirho
80
- type: intertextual-similarity-chirho
81
- metrics:
82
- - type: pearson_cosine
83
- value: 0.6270927412432303
84
- name: Pearson Cosine
85
- - type: spearman_cosine
86
- value: 0.6326350413656476
87
- name: Spearman Cosine
88
  ---
89
 
90
- # SentenceTransformer based on sentence-transformers/all-MiniLM-L12-v2
91
 
92
- This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2). It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
93
 
94
- ## Model Details
95
 
96
- ### Model Description
97
- - **Model Type:** Sentence Transformer
98
- - **Base model:** [sentence-transformers/all-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2) <!-- at revision 936af83a2ecce5fe87a09109ff5cbcefe073173a -->
99
- - **Maximum Sequence Length:** 128 tokens
100
- - **Output Dimensionality:** 384 dimensions
101
- - **Similarity Function:** Cosine Similarity
102
- <!-- - **Training Dataset:** Unknown -->
103
- <!-- - **Language:** Unknown -->
104
- <!-- - **License:** Unknown -->
105
 
106
- ### Model Sources
107
 
108
- - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
109
- - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
110
- - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
 
 
 
 
111
 
112
- ### Full Model Architecture
113
 
114
- ```
115
- SentenceTransformer(
116
- (0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'BertModel'})
117
- (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
118
- (2): Normalize()
119
- )
120
- ```
121
 
122
  ## Usage
123
 
124
- ### Direct Usage (Sentence Transformers)
125
-
126
- First install the Sentence Transformers library:
127
-
128
- ```bash
129
- pip install -U sentence-transformers
130
- ```
131
-
132
- Then you can load this model and run inference.
133
  ```python
134
  from sentence_transformers import SentenceTransformer
135
 
136
- # Download from the 🤗 Hub
137
- model = SentenceTransformer("sentence_transformers_model_id")
138
- # Run inference
139
- sentences = [
140
- 'But God shall wound the head of his enemies, and the hairy scalp of such an one as goeth on still in his trespasses.',
141
- 'Again, when the wicked man turneth away from his wickedness that he hath committed, and doeth that which is lawful and right, he shall save his soul alive.',
142
- 'Who can utter the mighty acts of the LORD? who can shew forth all his praise?',
143
- ]
144
- embeddings = model.encode(sentences)
145
- print(embeddings.shape)
146
- # [3, 384]
147
-
148
- # Get the similarity scores for the embeddings
149
- similarities = model.similarity(embeddings, embeddings)
150
- print(similarities)
151
- # tensor([[ 1.0000, -0.0455, -0.3163],
152
- # [-0.0455, 1.0000, -0.0269],
153
- # [-0.3163, -0.0269, 1.0000]])
154
- ```
155
-
156
- <!--
157
- ### Direct Usage (Transformers)
158
-
159
- <details><summary>Click to see the direct usage in Transformers</summary>
160
-
161
- </details>
162
- -->
163
-
164
- <!--
165
- ### Downstream Usage (Sentence Transformers)
166
-
167
- You can finetune this model on your own dataset.
168
-
169
- <details><summary>Click to expand</summary>
170
-
171
- </details>
172
- -->
173
-
174
- <!--
175
- ### Out-of-Scope Use
176
-
177
- *List how the model may foreseeably be misused and address what users ought not to do with the model.*
178
- -->
179
-
180
- ## Evaluation
181
-
182
- ### Metrics
183
-
184
- #### Semantic Similarity
185
 
186
- * Dataset: `intertextual-similarity-chirho`
187
- * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
188
-
189
- | Metric | Value |
190
- |:--------------------|:-----------|
191
- | pearson_cosine | 0.6271 |
192
- | **spearman_cosine** | **0.6326** |
193
-
194
- <!--
195
- ## Bias, Risks and Limitations
196
-
197
- *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
198
- -->
199
-
200
- <!--
201
- ### Recommendations
202
-
203
- *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
204
- -->
205
-
206
- ## Training Details
207
-
208
- ### Training Dataset
209
-
210
- #### Unnamed Dataset
211
-
212
- * Size: 275,838 training samples
213
- * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>sentence_2</code>
214
- * Approximate statistics based on the first 1000 samples:
215
- | | sentence_0 | sentence_1 | sentence_2 |
216
- |:--------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
217
- | type | string | string | string |
218
- | details | <ul><li>min: 12 tokens</li><li>mean: 37.48 tokens</li><li>max: 92 tokens</li></ul> | <ul><li>min: 10 tokens</li><li>mean: 36.65 tokens</li><li>max: 83 tokens</li></ul> | <ul><li>min: 9 tokens</li><li>mean: 33.52 tokens</li><li>max: 109 tokens</li></ul> |
219
- * Samples:
220
- | sentence_0 | sentence_1 | sentence_2 |
221
- |:------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
222
- | <code>And the LORD took me as I followed the flock, and the LORD said unto me, Go, prophesy unto my people Israel.</code> | <code>And as Jesus passed forth from thence, he saw a man, named Matthew, sitting at the receipt of custom: and he saith unto him, Follow me. And he arose, and followed him.</code> | <code>But, behold, I will raise up against you a nation, O house of Israel, saith the LORD the God of hosts; and they shall afflict you from the entering in of Hemath unto the river of the wilderness.</code> |
223
- | <code>Let the elders that rule well be counted worthy of double honour, especially they who labour in the word and doctrine.</code> | <code>We then, as workers together with him, beseech you also that ye receive not the grace of God in vain.</code> | <code>A bishop then must be blameless, the husband of one wife, vigilant, sober, of good behaviour, given to hospitality, apt to teach;</code> |
224
- | <code>And the chambers and the entries thereof were by the posts of the gates, where they washed the burnt offering.</code> | <code>He made also ten lavers, and put five on the right hand, and five on the left, to wash in them: such things as they offered for the burnt offering they washed in them; but the sea was for the priests to wash in.</code> | <code>Hath oppressed the poor and needy, hath spoiled by violence, hath not restored the pledge, and hath lifted up his eyes to the idols, hath committed abomination,</code> |
225
- * Loss: [<code>TripletLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#tripletloss) with these parameters:
226
- ```json
227
- {
228
- "distance_metric": "TripletDistanceMetric.COSINE",
229
- "triplet_margin": 0.5
230
- }
231
- ```
232
-
233
- ### Training Hyperparameters
234
- #### Non-Default Hyperparameters
235
-
236
- - `eval_strategy`: steps
237
- - `per_device_train_batch_size`: 64
238
- - `per_device_eval_batch_size`: 64
239
- - `multi_dataset_batch_sampler`: round_robin
240
-
241
- #### All Hyperparameters
242
- <details><summary>Click to expand</summary>
243
-
244
- - `do_predict`: False
245
- - `eval_strategy`: steps
246
- - `prediction_loss_only`: True
247
- - `per_device_train_batch_size`: 64
248
- - `per_device_eval_batch_size`: 64
249
- - `gradient_accumulation_steps`: 1
250
- - `eval_accumulation_steps`: None
251
- - `torch_empty_cache_steps`: None
252
- - `learning_rate`: 5e-05
253
- - `weight_decay`: 0.0
254
- - `adam_beta1`: 0.9
255
- - `adam_beta2`: 0.999
256
- - `adam_epsilon`: 1e-08
257
- - `max_grad_norm`: 1
258
- - `num_train_epochs`: 3
259
- - `max_steps`: -1
260
- - `lr_scheduler_type`: linear
261
- - `lr_scheduler_kwargs`: None
262
- - `warmup_ratio`: None
263
- - `warmup_steps`: 0
264
- - `log_level`: passive
265
- - `log_level_replica`: warning
266
- - `log_on_each_node`: True
267
- - `logging_nan_inf_filter`: True
268
- - `enable_jit_checkpoint`: False
269
- - `save_on_each_node`: False
270
- - `save_only_model`: False
271
- - `restore_callback_states_from_checkpoint`: False
272
- - `use_cpu`: False
273
- - `seed`: 42
274
- - `data_seed`: None
275
- - `bf16`: False
276
- - `fp16`: False
277
- - `bf16_full_eval`: False
278
- - `fp16_full_eval`: False
279
- - `tf32`: None
280
- - `local_rank`: -1
281
- - `ddp_backend`: None
282
- - `debug`: []
283
- - `dataloader_drop_last`: False
284
- - `dataloader_num_workers`: 0
285
- - `dataloader_prefetch_factor`: None
286
- - `disable_tqdm`: False
287
- - `remove_unused_columns`: True
288
- - `label_names`: None
289
- - `load_best_model_at_end`: False
290
- - `ignore_data_skip`: False
291
- - `fsdp`: []
292
- - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
293
- - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
294
- - `parallelism_config`: None
295
- - `deepspeed`: None
296
- - `label_smoothing_factor`: 0.0
297
- - `optim`: adamw_torch_fused
298
- - `optim_args`: None
299
- - `group_by_length`: False
300
- - `length_column_name`: length
301
- - `project`: huggingface
302
- - `trackio_space_id`: trackio
303
- - `ddp_find_unused_parameters`: None
304
- - `ddp_bucket_cap_mb`: None
305
- - `ddp_broadcast_buffers`: False
306
- - `dataloader_pin_memory`: True
307
- - `dataloader_persistent_workers`: False
308
- - `skip_memory_metrics`: True
309
- - `push_to_hub`: False
310
- - `resume_from_checkpoint`: None
311
- - `hub_model_id`: None
312
- - `hub_strategy`: every_save
313
- - `hub_private_repo`: None
314
- - `hub_always_push`: False
315
- - `hub_revision`: None
316
- - `gradient_checkpointing`: False
317
- - `gradient_checkpointing_kwargs`: None
318
- - `include_for_metrics`: []
319
- - `eval_do_concat_batches`: True
320
- - `auto_find_batch_size`: False
321
- - `full_determinism`: False
322
- - `ddp_timeout`: 1800
323
- - `torch_compile`: False
324
- - `torch_compile_backend`: None
325
- - `torch_compile_mode`: None
326
- - `include_num_input_tokens_seen`: no
327
- - `neftune_noise_alpha`: None
328
- - `optim_target_modules`: None
329
- - `batch_eval_metrics`: False
330
- - `eval_on_start`: False
331
- - `use_liger_kernel`: False
332
- - `liger_kernel_config`: None
333
- - `eval_use_gather_object`: False
334
- - `average_tokens_across_devices`: True
335
- - `use_cache`: False
336
- - `prompts`: None
337
- - `batch_sampler`: batch_sampler
338
- - `multi_dataset_batch_sampler`: round_robin
339
- - `router_mapping`: {}
340
- - `learning_rate_mapping`: {}
341
-
342
- </details>
343
-
344
- ### Training Logs
345
- | Epoch | Step | Training Loss | intertextual-similarity-chirho_spearman_cosine |
346
- |:------:|:-----:|:-------------:|:----------------------------------------------:|
347
- | 0.1160 | 500 | 0.2996 | - |
348
- | 0.2320 | 1000 | 0.2629 | 0.5336 |
349
- | 0.3480 | 1500 | 0.2529 | - |
350
- | 0.4640 | 2000 | 0.2434 | 0.5641 |
351
- | 0.5800 | 2500 | 0.2356 | - |
352
- | 0.6961 | 3000 | 0.2320 | 0.5828 |
353
- | 0.8121 | 3500 | 0.2271 | - |
354
- | 0.9281 | 4000 | 0.2222 | 0.5963 |
355
- | 1.0 | 4310 | - | 0.5989 |
356
- | 1.0441 | 4500 | 0.2153 | - |
357
- | 1.1601 | 5000 | 0.2028 | 0.6041 |
358
- | 1.2761 | 5500 | 0.2025 | - |
359
- | 1.3921 | 6000 | 0.2006 | 0.6104 |
360
- | 1.5081 | 6500 | 0.1972 | - |
361
- | 1.6241 | 7000 | 0.1964 | 0.6161 |
362
- | 1.7401 | 7500 | 0.1965 | - |
363
- | 1.8561 | 8000 | 0.1952 | 0.6213 |
364
- | 1.9722 | 8500 | 0.1935 | - |
365
- | 2.0 | 8620 | - | 0.6267 |
366
- | 2.0882 | 9000 | 0.1846 | 0.6282 |
367
- | 2.2042 | 9500 | 0.1783 | - |
368
- | 2.3202 | 10000 | 0.1797 | 0.6268 |
369
- | 2.4362 | 10500 | 0.1817 | - |
370
- | 2.5522 | 11000 | 0.1774 | 0.6317 |
371
- | 2.6682 | 11500 | 0.1776 | - |
372
- | 2.7842 | 12000 | 0.1793 | 0.6325 |
373
- | 2.9002 | 12500 | 0.1758 | - |
374
- | 3.0 | 12930 | - | 0.6326 |
375
-
376
-
377
- ### Framework Versions
378
- - Python: 3.14.2
379
- - Sentence Transformers: 5.2.2
380
- - Transformers: 5.1.0
381
- - PyTorch: 2.10.0
382
- - Accelerate: 1.12.0
383
- - Datasets: 4.5.0
384
- - Tokenizers: 0.22.2
385
-
386
- ## Citation
387
-
388
- ### BibTeX
389
-
390
- #### Sentence Transformers
391
- ```bibtex
392
- @inproceedings{reimers-2019-sentence-bert,
393
- title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
394
- author = "Reimers, Nils and Gurevych, Iryna",
395
- booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
396
- month = "11",
397
- year = "2019",
398
- publisher = "Association for Computational Linguistics",
399
- url = "https://arxiv.org/abs/1908.10084",
400
- }
401
- ```
402
 
403
- #### TripletLoss
404
- ```bibtex
405
- @misc{hermans2017defense,
406
- title={In Defense of the Triplet Loss for Person Re-Identification},
407
- author={Alexander Hermans and Lucas Beyer and Bastian Leibe},
408
- year={2017},
409
- eprint={1703.07737},
410
- archivePrefix={arXiv},
411
- primaryClass={cs.CV}
412
- }
413
  ```
414
 
415
- <!--
416
- ## Glossary
417
-
418
- *Clearly define terms in order to be accessible across audiences.*
419
- -->
420
-
421
- <!--
422
- ## Model Card Authors
423
-
424
- *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
425
- -->
426
 
427
- <!--
428
- ## Model Card Contact
 
429
 
430
- *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
431
- -->
 
1
  ---
2
+ language: en
3
+ license: mit
4
  tags:
5
+ - sentence-transformers
6
+ - bible
7
+ - cross-reference
8
+ - semantic-search
9
+ - intertextuality
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  pipeline_tag: sentence-similarity
11
  library_name: sentence-transformers
12
+ base_model: sentence-transformers/all-MiniLM-L12-v2
13
+ datasets:
14
+ - LoveJesus/intertextual-dataset-chirho
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  ---
16
 
17
+ # Intertextual Embedder (MiniLM-L12) - chirho
18
 
19
+ *For God so loved the world that he gave his only begotten Son, that whoever believes in him should not perish but have eternal life. - John 3:16*
20
 
21
+ ## Description
22
 
23
+ A sentence transformer fine-tuned for **biblical verse similarity** and **cross-reference discovery**. Given a verse text, it produces a 384-dimensional embedding that places semantically related verses close together in vector space.
 
 
 
 
 
 
 
 
24
 
25
+ ## Training
26
 
27
+ - **Base model**: sentence-transformers/all-MiniLM-L12-v2
28
+ - **Loss**: Triplet loss (cosine distance, margin=0.5)
29
+ - **Data**: 344,798 triplets from the Treasury of Scripture Knowledge (OpenBible.info)
30
+ - Anchor: verse A, Positive: cross-referenced verse B, Negative: hard negative (same-book unrelated verse)
31
+ - **Epochs**: 3
32
+ - **Batch size**: 64
33
+ - **Device**: Apple MPS (M4 Pro)
34
 
35
+ ## Evaluation
36
 
37
+ - **Triplet ranking accuracy**: 86.75% (positive cross-ref ranked higher than negative)
38
+ - **Separation gap**: 0.4213
39
+ - **Pearson cosine**: 0.6271
40
+ - **Spearman cosine**: 0.6326
 
 
 
41
 
42
  ## Usage
43
 
 
 
 
 
 
 
 
 
 
44
  ```python
45
  from sentence_transformers import SentenceTransformer
46
 
47
+ model = SentenceTransformer("LoveJesus/intertextual-embedder-chirho")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
+ verses = [
50
+ "In the beginning God created the heaven and the earth.",
51
+ "In the beginning was the Word, and the Word was with God, and the Word was God.",
52
+ "And the children of Israel went into the midst of the sea upon the dry ground.",
53
+ ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
+ embeddings = model.encode(verses)
56
+ # embeddings[0] will be closest to embeddings[1] (Gen 1:1 <-> John 1:1)
 
 
 
 
 
 
 
 
57
  ```
58
 
59
+ ## Part of models-chirho
 
 
 
 
 
 
 
 
 
 
60
 
61
+ This model is part of the [Intertextual Reference Network](https://huggingface.co/LoveJesus) pipeline, paired with:
62
+ - **Classifier**: [LoveJesus/intertextual-classifier-chirho](https://huggingface.co/LoveJesus/intertextual-classifier-chirho)
63
+ - **Dataset**: [LoveJesus/intertextual-dataset-chirho](https://huggingface.co/datasets/LoveJesus/intertextual-dataset-chirho)
64
 
65
+ Built with love for Jesus by [loveJesus](https://huggingface.co/LoveJesus).