sentence-transformers How to use FareedKhan/intfloat_multilingual-e5-large-instruct_FareedKhan_prime_synthetic_data_2k_2_4 with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("FareedKhan/intfloat_multilingual-e5-large-instruct_FareedKhan_prime_synthetic_data_2k_2_4")
sentences = [
"\n\nThe gene in question appears to be involved in multiple cellular processes, many of which are central to neuronal function and health, especially in the context of neurodegenerative diseases. Here's a brief overview of its functions and context:\n\n### Key Functions:\n1. **Transcription Regulation**: Involved in RNA polymerase II transcription and regulation of gene expression.\n2. **Protein Processing**: Positive regulation of proteasomal ubiquitin-dependent protein catabolic process, indicating it might play a role in the degradation and recycling of proteins.\n3. **Cellular Stress Response**: Regulation of positive transcription by p53 (a known DNA damage response gene), positive regulation of I-kappaB kinase/NF-kappaB signaling (involved in inflammatory response), and negative regulation of cell death under oxidative stress.\n4. **Cellular Repair and Maintenance**: Autophagy of mitochondria (self-eating of organelles to clear damaged components), regulated the negative regulation of intrinsic apoptotic signaling pathways, facilitating cell survival rather than death.\n5. **Neurotransmitter and Ion Handling**: Involvement in dopamine secretion, response to manganese ion, and within synaptic transmission processes.\n6. **Metabolic Activities**: Influences glucose metabolism by regulation of glucokinase activity.\n\n### Context Specific:\n- **Manganese Exposure**: This gene's role in transcriptional regulation is particularly implicated in the context of manganese exposure. Manganese can be neurotoxic, particularly affecting the nervous system. Its regulation might help in the cellular response to manganese toxicity, including signaling pathways that",
"Identify genes or proteins that interact with CLDN11 and are also implicated in the same medical condition.",
"Search for ailments that have no drugs indicated for treatment and have a connection to Dermatographic urticaria.",
"Is there an interaction between the parkin RBR E3 ubiquitin protein ligase and the DNA-damage-inducible transcript 4 (DDIT4), and if so, what biological effects or phenotypes have been associated with this interaction?"
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]