meandyou200175/pB-query-sql
SentenceTransformer based on vinai/phobert-base-v2
This is a sentence-transformers model finetuned from vinai/phobert-base-v2. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
Model Details
Model Description
- Model Type: Sentence Transformer
- Base model: vinai/phobert-base-v2 <!-- at revision e2375d266bdf39c6e8e9a87af16a5da3190b0cc8 -->
- Maximum Sequence Length: 256 tokens
- Output Dimensionality: 768 dimensions
- Similarity Function: Cosine Similarity <!-- - Training Dataset: Unknown --> <!-- - Language: Unknown --> <!-- - License: Unknown -->
Model Sources
- Documentation: Sentence Transformers Documentation
- Repository: Sentence Transformers on GitHub
- Hugging Face: Sentence Transformers on Hugging Face
Full Model Architecture
SentenceTransformer(
(0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: RobertaModel
(1): Pooling({'word_embedding_dimension': 768, '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})
)Usage
Direct Usage (Sentence Transformers)
First install the Sentence Transformers library:
pip install -U sentence-transformersThen you can load this model and run inference.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("meandyou200175/pB-query-sql")
# Run inference
sentences = [
'mình cần robot hút bụi pin lớn hơn 3120mAh',
'Robot hút bụi Ecovacs Deebot T10, Pin 5200mAh, Hút 5000Pa, Giá: 12.900.000',
'Robot hút bụi Ecovacs Deebot T10, Pin 2076mAh, Hút 5000Pa, Giá: 12.900.000',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]<!--
Direct Usage (Transformers)
<details><summary>Click to see the direct usage in Transformers</summary>
</details> -->
<!--
Downstream Usage (Sentence Transformers)
You can finetune this model on your own dataset.
<details><summary>Click to expand</summary>
</details> -->
<!--
Out-of-Scope Use
List how the model may foreseeably be misused and address what users ought not to do with the model. -->
Evaluation
Metrics
Information Retrieval
- Evaluated with <code>InformationRetrievalEvaluator</code>
<!--
Bias, Risks and Limitations
What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model. -->
<!--
Recommendations
What are recommendations with respect to the foreseeable issues? For example, filtering explicit content. -->
Training Details
Training Dataset
Unnamed Dataset
- Size: 12,085 training samples
- Columns: <code>query</code>, <code>positive</code>, <code>negative1</code>, <code>negative2</code>, <code>negative3</code>, <code>negative4</code>, <code>negative5</code>, <code>negative6</code>, <code>negative7</code>, <code>negative8</code>, <code>negative9</code>, <code>negative10</code>, <code>negative11</code>, <code>negative12</code>, <code>negative13</code>, <code>negative14</code>, and <code>negative_15</code>
- Approximate statistics based on the first 1000 samples: | | query | positive | negative1 | negative2 | negative3 | negative4 | negative5 | negative6 | negative7 | negative8 | negative9 | negative10 | negative11 | negative12 | negative13 | negative14 | negative_15 | |:--------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------| | type | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | | details | <ul><li>min: 6 tokens</li><li>mean: 14.32 tokens</li><li>max: 28 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 27.93 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.05 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.21 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.28 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.36 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 28.3 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.31 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.42 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 28.57 tokens</li><li>max: 112 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.36 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.3 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 27.7 tokens</li><li>max: 112 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 27.71 tokens</li><li>max: 112 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 27.84 tokens</li><li>max: 100 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 27.67 tokens</li><li>max: 112 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 27.88 tokens</li><li>max: 97 tokens</li></ul> |
- Samples: | query | positive | negative1 | negative2 | negative3 | negative4 | negative5 | negative6 | negative7 | negative8 | negative9 | negative10 | negative11 | negative12 | negative13 | negative14 | negative_15 | |:--------------------------------------------------------|:------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------| | <code>tôi cần máy lọc không khí giá dưới 4 triệu</code> | <code>Máy lọc không khí Xiaomi Mi Air Purifier 4, công suất 50W, lọc bụi PM2.5, Giá: 3.200.000</code> | <code>Máy lọc không khí Xiaomi Mi Air Purifier 6, công suất 50W, lọc bụi PM2.5, Giá: 3.200.000</code> | <code>Máy lọc không khí Xiaomi Mi Air Purifier 5, công suất 50W, lọc bụi PM2.5, Giá: 3.200.000</code> | <code>Bếp gas Rinnai RV-377GN, Công suất 4.2kW, 2 bếp, Giá: 2.300.000</code> | <code>Máy in HP LaserJet Pro M404dn, Tốc độ 30 trang/phút, Kết nối LAN, Giá: 6.800.000</code> | <code>Máy lọc không khí Sharp FP-J30E-A, Diện tích lọc: 23m2, Bộ lọc HEPA, Plasmacluster ion, Giá: 2,190,000</code> | <code>Bàn ủi Philips HI114, công suất 1500W, mặt đế chống dính, Giá: 950.000</code> | <code>Máy rửa bát Bosch SMS46NI05E, 12 bộ, 6 chương trình rửa, Tiết kiệm nước, Giá: 16.500.000</code> | <code>Bếp từ Sunhouse SHD6158, công suất 2300W, hẹn giờ 3h, Giá 1100000</code> | <code>Tai nghe Sony WH-1000XM5, Chống ồn chủ động, Pin 30h, Bluetooth 5.2, Giá: 9.500.000</code> | <code>Công tắc Tuya Smart WiFi, chịu tải 16A, kết nối 2.4GHz, Giá: 420.000</code> | <code>Màn hình Samsung Odyssey Neo G9, 49 inch, 240Hz, 2K, Giá: 42.000.000</code> | <code>Router TP-Link Archer C6, băng tần 2.4/5GHz, tốc độ 1200Mbps, Giá 950000</code> | <code>Máy pha cà phê DeLonghi ECAM22.110B, Bình 2.2L, Tự động, Giá: 14.000.000</code> | <code>Máy lọc không khí Philips AC1214, diện tích 30 mét vuông, công suất 35W, Giá 1350000</code> | <code>Tủ lạnh Sharp Inverter SJ-X196E, Cao 1m65, Dung tích 196L, Giá: 5.500.000</code> | | <code>Máy sấy dung tích lớn hơn 3kg</code> | <code>Máy sấy Electrolux EDV7052, dung tích 7kg, công suất 1600W, Giá 5250000</code> | <code>Máy sấy Electrolux EDV7052, dung tích 3kg, công suất 1600W, Giá 5250000</code> | <code>Máy sấy Electrolux EDV7052, dung tích 2kg, công suất 1600W, Giá 5250000</code> | <code>Máy lọc không khí Coway AP-1009CH, Diện tích 50m2, Giá: 6.800.000</code> | <code>Laptop Asus Vivobook 15, màn hình 15.6 inch (~39.6cm), trọng lượng 2.4kg (2400g), RAM 16GB, SSD 512GB, Giá: 18.500.000</code> | <code>Loa JBL Charge 5, Phát nhạc 20h, Chống nước IP67, Giá: 3.900.000</code> | <code>Máy tính xách tay ASUS Zenbook 14 OLED UX3402, Trọng lượng: 1.4kg, CPU: i5-1240P, RAM 16GB, SSD 512GB, Màn OLED 2.8K, Giá: 23,990,000</code> | <code>Máy pha cà phê Delonghi EC685, Công suất 1450W, Áp suất 15 bar, Giá: 9.800.000</code> | <code>Xe côn tay Yamaha R15 V4, Động cơ 155cc, Công nghệ VVA, Giá: 74.000.000</code> | <code>Đèn bàn LED Xiaomi Mi, công suất 12W, điều chỉnh độ sáng + nhiệt màu, Giá: 580.000</code> | <code>Tablet iPad 9th Gen, Màn 10.2 inch Retina, Chip A13, Giá: 10.900.000</code> | <code>Ghế sofa chữ L, Dài 2m7, Da PU, 5 chỗ ngồi, Giá: 12.000.000</code> | <code>Máy ảnh Canon EOS R10, Nặng 429g, Cảm biến APS-C 24MP, Giá: 24.500.000</code> | <code>Máy giặt sấy LG Inverter 10kg, AI DD, TurboWash, Giá: 19.500.000</code> | <code>Bàn là hơi nước Philips GC4880, công suất 1500W, Giá 700000</code> | <code>Máy hút ẩm FujiE HM-920EC, Công suất 20L/ngày, Giá: 5.900.000</code> | | <code>tôi cần điện thoại giá nhỏ hơn 8 triệu</code> | <code>Smartphone Xiaomi Redmi Note 12, Màn AMOLED 6.67", Pin 5000mAh, Giá: 5.890.000</code> | <code>Smartphone Xiaomi Redmi Note 9, Màn AMOLED 6.67", Pin 5000mAh, Giá: 5.890.000</code> | <code>Smartphone Xiaomi Redmi Note 11, Màn AMOLED 6.67", Pin 5000mAh, Giá: 5.890.000</code> | <code>Smartphone Xiaomi Redmi Note 10, Màn AMOLED 6.67", Pin 5000mAh, Giá: 5.890.000</code> | <code>Máy quét phim Plustek OpticFilm 8200, 16MP, Giá: 2.650.000</code> | <code>Máy xay Philips HR2115, công suất 500W, cối 1.5L, Giá: 1.200.000</code> | <code>Bàn phím Logitech K380, Kết nối Bluetooth, Nhỏ gọn, Giá: 1.200.000</code> | <code>Máy xay cà phê cầm tay Hario, dung tích 50g, tay quay, Giá: 480.000</code> | <code>Ghế xoay Ergohuman Plus, Tải trọng 120kg, Lưng lưới, Giá: 8.900.000</code> | <code>Điện thoại Xiaomi Redmi A1, RAM 2GB, Pin 5000mAh, Giá: 2.100.000</code> | <code>Quạt điều hòa Sunhouse SHD7725, Bình 45L, Công suất 200W, Giá: 3.600.000</code> | <code>Smartphone iPhone 13 Mini, Trọng lượng: 140g, Màn hình 5.4 inch Super Retina XDR, Chip A15 Bionic, RAM 4GB, ROM 128GB, Giá: 17,990,000</code> | <code>Xe máy điện VinFast Theon S, Tốc độ tối đa 90km/h, Pin 3500W, Giá: 63.000.000</code> | <code>Tivi Samsung Neo QLED 65", 4K UHD, HDR10+, Giá: 25.500.000</code> | <code>Tủ đông Aqua AQF-C300, Công suất 280W, Dung tích 295L, Giá: 8.600.000</code> | <code>Máy lọc nước Karofi 12000ml, 8 lõi lọc, công suất 95W, Giá: 7.000.000</code> |
- Loss: <code>MultipleNegativesRankingLoss</code> with these parameters:
{
"scale": 20.0,
"similarity_fct": "cos_sim"
}Evaluation Dataset
Unnamed Dataset
- Size: 1,343 evaluation samples
- Columns: <code>query</code>, <code>positive</code>, <code>negative1</code>, <code>negative2</code>, <code>negative3</code>, <code>negative4</code>, <code>negative5</code>, <code>negative6</code>, <code>negative7</code>, <code>negative8</code>, <code>negative9</code>, <code>negative10</code>, <code>negative11</code>, <code>negative12</code>, <code>negative13</code>, <code>negative14</code>, and <code>negative_15</code>
- Approximate statistics based on the first 1000 samples: | | query | positive | negative1 | negative2 | negative3 | negative4 | negative5 | negative6 | negative7 | negative8 | negative9 | negative10 | negative11 | negative12 | negative13 | negative14 | negative_15 | |:--------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------| | type | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | | details | <ul><li>min: 6 tokens</li><li>mean: 14.19 tokens</li><li>max: 27 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 27.94 tokens</li><li>max: 82 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.02 tokens</li><li>max: 82 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 28.1 tokens</li><li>max: 82 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.23 tokens</li><li>max: 83 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.1 tokens</li><li>max: 82 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.26 tokens</li><li>max: 82 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.35 tokens</li><li>max: 82 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 28.33 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.28 tokens</li><li>max: 112 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 28.14 tokens</li><li>max: 82 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 28.31 tokens</li><li>max: 112 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 27.77 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 18 tokens</li><li>mean: 27.87 tokens</li><li>max: 112 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 27.67 tokens</li><li>max: 112 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 27.52 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 28.0 tokens</li><li>max: 112 tokens</li></ul> |
- Samples: | query | positive | negative1 | negative2 | negative3 | negative4 | negative5 | negative6 | negative7 | negative8 | negative9 | negative10 | negative11 | negative12 | negative13 | negative14 | negative_15 | |:---------------------------------------------------------------|:---------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------| | <code>mình cần nồi áp suất điện công suất lớn hơn 1040W</code> | <code>Nồi áp suất Philips HD2137, Công suất 1300W, 14 chức năng, Giá: 2.900.000</code> | <code>Nồi áp suất Philips HD2137, Công suất 700W, 14 chức năng, Giá: 2.900.000</code> | <code>Nồi áp suất Philips HD2137, Công suất 751W, 14 chức năng, Giá: 2.900.000</code> | <code>Nồi áp suất Philips HD2137, Công suất 653W, 14 chức năng, Giá: 2.900.000</code> | <code>Nồi áp suất Philips HD2137, Công suất 770W, 14 chức năng, Giá: 2.900.000</code> | <code>Nồi áp suất Philips HD2137, Công suất 958W, 14 chức năng, Giá: 2.900.000</code> | <code>Nồi áp suất Philips HD2137, Công suất 699W, 14 chức năng, Giá: 2.900.000</code> | <code>Nồi áp suất Philips HD2137, Công suất 797W, 14 chức năng, Giá: 2.900.000</code> | <code>Nồi áp suất Philips HD2137, Công suất 679W, 14 chức năng, Giá: 2.900.000</code> | <code>Nồi áp suất Philips HD2137, Công suất 893W, 14 chức năng, Giá: 2.900.000</code> | <code>Nồi áp suất Philips HD2137, Công suất 897W, 14 chức năng, Giá: 2.900.000</code> | <code>Công tắc Tuya Smart, điều khiển qua App, chịu tải 16A, Giá: 420.000</code> | <code>Ghế văn phòng Noble WB-204, xoay 360°, chịu lực 160kg, Giá: 2.450.000</code> | <code>Máy in Canon LBP6230DN, In 2 mặt, Tốc độ 28 trang/phút, Giá: 4.600.000</code> | <code>Tablet Lenovo Tab M10 Gen 3, màn 10.1", RAM 4GB, ROM 64GB, Giá: 5.900.000</code> | <code>Bình đun Kangaroo 1800W, dung tích 1.7L, tự ngắt khi sôi, Giá: 500.000</code> | | <code>tôi muốn mua loa công suất nhỏ hơn 240W</code> | <code>Loa Bluetooth Sony SRS-XB33, Công suất 150W, Chống nước, Giá: 3.200.000</code> | <code>Loa Bluetooth Sony SRS-XB33, Công suất 281W, Chống nước, Giá: 3.200.000</code> | <code>Loa Bluetooth Sony SRS-XB33, Công suất 253W, Chống nước, Giá: 3.200.000</code> | <code>Loa Bluetooth Sony SRS-XB33, Công suất 282W, Chống nước, Giá: 3.200.000</code> | <code>Loa Bluetooth Sony SRS-XB33, Công suất 352W, Chống nước, Giá: 3.200.000</code> | <code>Loa Bluetooth Sony SRS-XB33, Công suất 319W, Chống nước, Giá: 3.200.000</code> | <code>Loa Bluetooth Sony SRS-XB33, Công suất 293W, Chống nước, Giá: 3.200.000</code> | <code>Loa Bluetooth Sony SRS-XB33, Công suất 295W, Chống nước, Giá: 3.200.000</code> | <code>Loa Bluetooth Sony SRS-XB33, Công suất 301W, Chống nước, Giá: 3.200.000</code> | <code>Loa Bluetooth Sony SRS-XB33, Công suất 320W, Chống nước, Giá: 3.200.000</code> | <code>Loa Bluetooth Sony SRS-XB33, Công suất 356W, Chống nước, Giá: 3.200.000</code> | <code>Smart Tivi LG QNED 75, Màn hình 75 inch 4K, Dolby Vision, Giá: 29.000.000</code> | <code>Quạt đứng Asia D16018, 3 tốc độ, chiều cao 1.2m, Giá: 580.000</code> | <code>Loa kéo JBL PartyBox 1000, công suất 1000W, trọng lượng 15kg, Bluetooth, Giá: 22.500.000</code> | <code>Vali du lịch Sakos, Size 22 inch, Khóa TSA, Nhựa ABS, Giá: 1.850.000</code> | <code>Bình nóng lạnh Ariston Andris2 20L, công suất 2500W, chống giật ELCB, Giá 2390000</code> | | <code>Tai nghe không dây chống ồn ANC và pin trên 20h</code> | <code>Tai nghe Bose QuietComfort 45, ANC, pin 24h, Bluetooth 5.1, Giá 7490000</code> | <code>Máy pha cà phê Delonghi EC685, Công suất 1350W, Áp suất 15 bar, Giá: 6.200.000</code> | <code>Máy lọc nước Karofi KAQ-U95, Công suất 25L/h, 10 lõi lọc, Giá: 9.500.000</code> | <code>Máy lọc Kangaroo KG111, công suất 25L/h, 9 lõi lọc, vòi nhựa ABS, Giá 7550000</code> | <code>Đèn năng lượng mặt trời Sunhouse 20W, pin lithium, chiếu sáng 10h, Giá: 460.000</code> | <code>Ghế massage Daikiosan DK-150, công suất 120W, nhiều chế độ, Giá: 3.850.000</code> | <code>Máy hút bụi Hitachi CV-SE230V, Công suất 2300W, Lọc HEPA, Giá: 4.500.000</code> | <code>Tủ giày gỗ công nghiệp, Rộng 70cm, 3 tầng, Giá: 1.200.000</code> | <code>Thiết bị lọc Sharp FP-J30E-A, Diện tích lọc: 23m2, Bộ lọc HEPA, Plasmacluster ion, Giá: 2,190,000</code> | <code>Bàn ủi Philips GC2990, công suất 1800W, đế chống dính, Giá: 680.000</code> | <code>Bàn là hơi nước Philips GC4880, công suất 1500W, Giá 700000</code> | <code>Máy lọc không khí Xiaomi Mi Air Purifier 4, công suất 50W, lọc bụi PM2.5, Giá: 3.200.000</code> | <code>Smartphone Xiaomi Redmi Note 12, Màn AMOLED 6.67", Pin 5000mAh, Giá: 5.890.000</code> | <code>Tủ lạnh Hitachi R-WB640VGV0, Dung tích 569L, Inverter, Giá: 25.000.000</code> | <code>Máy cưa bàn Makita MLT100, Công suất 1650W, Bàn cắt 690mm, Giá: 9.200.000</code> | <code>Loa Bluetooth Anker Soundcore, Pin 12h, Công suất 10W, Giá: 1.200.000</code> |
- Loss: <code>MultipleNegativesRankingLoss</code> with these parameters:
{
"scale": 20.0,
"similarity_fct": "cos_sim"
}Training Hyperparameters
Non-Default Hyperparameters
eval_strategy: stepsper_device_train_batch_size: 4per_device_eval_batch_size: 4learning_rate: 2e-05num_train_epochs: 10warmup_ratio: 0.1fp16: Truebatch_sampler: no_duplicates
All Hyperparameters
<details><summary>Click to expand</summary>
overwrite_output_dir: Falsedo_predict: Falseeval_strategy: stepsprediction_loss_only: Trueper_device_train_batch_size: 4per_device_eval_batch_size: 4per_gpu_train_batch_size: Noneper_gpu_eval_batch_size: Nonegradient_accumulation_steps: 1eval_accumulation_steps: Nonetorch_empty_cache_steps: Nonelearning_rate: 2e-05weight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08max_grad_norm: 1.0num_train_epochs: 10max_steps: -1lr_scheduler_type: linearlr_scheduler_kwargs: {}warmup_ratio: 0.1warmup_steps: 0log_level: passivelog_level_replica: warninglog_on_each_node: Truelogging_nan_inf_filter: Truesave_safetensors: Truesave_on_each_node: Falsesave_only_model: Falserestore_callback_states_from_checkpoint: Falseno_cuda: Falseuse_cpu: Falseuse_mps_device: Falseseed: 42data_seed: Nonejit_mode_eval: Falseuse_ipex: Falsebf16: Falsefp16: Truefp16_opt_level: O1half_precision_backend: autobf16_full_eval: Falsefp16_full_eval: Falsetf32: Nonelocal_rank: 0ddp_backend: Nonetpu_num_cores: Nonetpu_metrics_debug: Falsedebug: []dataloader_drop_last: Falsedataloader_num_workers: 0dataloader_prefetch_factor: Nonepast_index: -1disable_tqdm: Falseremove_unused_columns: Truelabel_names: Noneload_best_model_at_end: Falseignore_data_skip: Falsefsdp: []fsdp_min_num_params: 0fsdp_config: {'minnumparams': 0, 'xla': False, 'xlafsdpv2': False, 'xlafsdpgrad_ckpt': False}fsdp_transformer_layer_cls_to_wrap: Noneaccelerator_config: {'splitbatches': False, 'dispatchbatches': None, 'evenbatches': True, 'useseedablesampler': True, 'nonblocking': False, 'gradientaccumulationkwargs': None}deepspeed: Nonelabel_smoothing_factor: 0.0optim: adamw_torchoptim_args: Noneadafactor: Falsegroup_by_length: Falselength_column_name: lengthddp_find_unused_parameters: Noneddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falsedataloader_pin_memory: Truedataloader_persistent_workers: Falseskip_memory_metrics: Trueuse_legacy_prediction_loop: Falsepush_to_hub: Falseresume_from_checkpoint: Nonehub_model_id: Nonehub_strategy: every_savehub_private_repo: Nonehub_always_push: Falsegradient_checkpointing: Falsegradient_checkpointing_kwargs: Noneinclude_inputs_for_metrics: Falseinclude_for_metrics: []eval_do_concat_batches: Truefp16_backend: autopush_to_hub_model_id: Nonepush_to_hub_organization: Nonemp_parameters:auto_find_batch_size: Falsefull_determinism: Falsetorchdynamo: Noneray_scope: lastddp_timeout: 1800torch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Noneinclude_tokens_per_second: Falseinclude_num_input_tokens_seen: Falseneftune_noise_alpha: Noneoptim_target_modules: Nonebatch_eval_metrics: Falseeval_on_start: Falseuse_liger_kernel: Falseeval_use_gather_object: Falseaverage_tokens_across_devices: Falseprompts: Nonebatch_sampler: no_duplicatesmulti_dataset_batch_sampler: proportional
</details>
Training Logs
<details><summary>Click to expand</summary>
</details>
Framework Versions
- Python: 3.11.13
- Sentence Transformers: 4.1.0
- Transformers: 4.52.4
- PyTorch: 2.6.0+cu124
- Accelerate: 1.8.1
- Datasets: 3.6.0
- Tokenizers: 0.21.2
Citation
BibTeX
Sentence Transformers
@inproceedings{reimers-2019-sentence-bert,
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
author = "Reimers, Nils and Gurevych, Iryna",
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
month = "11",
year = "2019",
publisher = "Association for Computational Linguistics",
url = "https://arxiv.org/abs/1908.10084",
}MultipleNegativesRankingLoss
@misc{henderson2017efficient,
title={Efficient Natural Language Response Suggestion for Smart Reply},
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
year={2017},
eprint={1705.00652},
archivePrefix={arXiv},
primaryClass={cs.CL}
}<!--
Glossary
Clearly define terms in order to be accessible across audiences. -->
<!--
Model Card Authors
Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction. -->
<!--
Model Card Contact
Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors. -->
