Sentence Similarity
sentence-transformers
TensorBoard
Safetensors
xlm-roberta
feature-extraction
Generated from Trainer
dataset_size:54755
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run thang1943/multilingual-e5-large-v2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/thang1943/multilingual-e5-large-v2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/thang1943/multilingual-e5-large-v2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use thang1943/multilingual-e5-large-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use thang1943/multilingual-e5-large-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("thang1943/multilingual-e5-large-v2") sentences = [ "Mô tả ngắn:\nThuốc Bactamox 375 được sản xuất bởi công ty Cổ phần Dược phẩm Imexpharm, thành phần chính là amoxicilin và sulbactam dùng để điều trị trong trường hợp nhiễm khuẩn. \n Thuốc Bactamox được bào chế dưới dạng thuốc cốm pha hỗn dịch uống. Quy cách đóng gói gồm hộp 12 gói x 1,2 g.\nThành phần:\nAmoxicillin: 250mg\nSulbactam: 125mg\nChỉ định:\nThuốc bactamox 375 được chỉ định dùng điều trị nhiễm khuẩn do các vi khuẩn nhạy cảm gây ra, bao gồm:\nNhiễm khuẩn tai mũi họng: Viêm amidan, viêm xoang , viêm tai giữa . Nhiễm khuẩn đường hô hấp dưới: Viêm phế quản cấp và mạn, viêm phổi - phế quản. Nhiễm khuẩn đường tiết niệu - sinh dục: Viêm bàng quang , viêm niệu đạo, viêm bể thận, nhiễm khuẩn đường sinh dục nữ. Nhiễm khuẩn da và mô mềm: Mụn nhọt, áp xe, nhiễm khuẩn vết thương. Nhiễm khuẩn xương và khớp. Nhiễm khuẩn nha khoa: Áp xe ổ răng. Nhiễm khuẩn khác: Nhiễm khuẩn do nạo thai, nhiễm khuẩn máu trong giai đoạn hậu sản, nhiễm khuẩn trong ổ bụng.", "BS ơi cho cháu hỏi,\r\n\r\nCháu mới sử dụng ma túy đá và ma túy ngựa 3 ngày nay, ngày đầu là 1 lần, ngày thứ 2 và 3 nhiều hơn, tổng khoảng 10 lần, nhưng cháu không có cảm giác thèm. Nếu cháu muốn chấm dứt thì nên làm thế nào ạ?", "Bác sĩ ơi, cháu bị gãy kín xương mác 1/3 không bị di lệch nhưng bó bột được 1 tháng rồi mà vẫn đau chỗ gãy ạ. Phần ngón chân cái nhiều lúc thử cụp xuống mà sao lại đau ngay cổ bàn chân ạ.", "Thuốc cốm Bactamox 375 Imexpharm điều trị nhiễm khuẩn (12 gói)" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
c293e7d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:883b037111086fd4dfebbbc9b7cee11e1517b5e0c0514879478661440f137085
size 17082987
|