CrossEncoder based on BAAI/bge-reranker-v2-m3
This is a Cross Encoder model finetuned from BAAI/bge-reranker-v2-m3 using the sentence-transformers library. It computes scores for pairs of texts, which can be used for text reranking and semantic search.
Model Details
Model Description
- Model Type: Cross Encoder
- Base model: BAAI/bge-reranker-v2-m3
- Maximum Sequence Length: 512 tokens
- Number of Output Labels: 1 label
- Supported Modality: Text
Model Sources
- Documentation: Sentence Transformers Documentation
- Documentation: Cross Encoder Documentation
- Repository: Sentence Transformers on GitHub
- Hugging Face: Cross Encoders on Hugging Face
Full Model Architecture
CrossEncoder(
(0): Transformer({'transformer_task': 'sequence-classification', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'logits'}}, 'module_output_name': 'scores', 'architecture': 'XLMRobertaForSequenceClassification'})
)
Usage
Direct Usage (Sentence Transformers)
First install the Sentence Transformers library:
pip install -U sentence-transformers
Then you can load this model and run inference.
from sentence_transformers import CrossEncoder
# Download from the 🤗 Hub
model = CrossEncoder("cross_encoder_model_id")
# Get scores for pairs of inputs
pairs = [
['ก่อนขนส่งสารกำจัดศัตรูพืชต้องตรวจสอบเรื่องหีบห่อและสภาพอากาศอย่างไร', '4. อันตรายของสารป้องกันกำจัดศัตรูพืช\n\n อันตรายหมายถึงการเจ็บป่วยที่เกิดขึ้นเมื่อได้รับสารป้องกันกำจัดศัตรูพืช อันตรายที่เกิดขึ้นนั้นจะรุนแรงมากน้อย\nระดับใดขึ้นกับปัจจัยหลายประการด้วยกัน ได้แก่ หนทางที่สารพิษเข้าสู่ร่างกาย (ทางการหายใจ ทางผิวหนัง และทางปาก)\nอัตราการใช้ ความถี่ในการใช้ ระยะเวลาที่ใช้ และสูตรสำเร็จของสารป้องกันกำจัดศัตรูพืช\n\n สำหรับการจัดแบ่งความเป็นพิษของสารป้องกันกำจัดศัตรูพืช องค์การอนามัยโลกได้กำหนดระบบการจัดระดับ\nความเป็นพิษของสารเคมีที่ใช้ทางการเกษตรไว้เพื่อให้เป็นมาตรฐานเดียวกัน โดยอาศัยข้อมูลจากอันตรายที่เกิดขึ้นต่อคนหรือ\nสัตว์ทดลองเมื่อได้รับหรือสัมผัสกับสารป้องกันกำจัดศัตรูพืช องค์การอนามัยโลกได้แบ่งระดับความเป็นพิษออกเป็น 4 กลุ่ม\n(ตารางที่ 1)\n\nตารางที่ 1 ระดับความเป็นพิษของสารป้องกันกำจัดศัตรูพืชแบ่งตามองค์การอนามัยโลก\n\n\nจากข้อมูลในตาราง สรุปได้ว่า ถ้า LD50 มีค่าสูง ความเป็นพิษของสารเคมีชนิดนั้นจะต่ำ เช่น สารเทฟลูเบนซูรอน มีค่า\nLD50 = 5,000 สารเคมีชนิดนี้มีความเป็นพิษต่อคนและสัตว์ทดลองต่ำมาก ในทางตรงกันข้าม ถ้า LD50 มีค่าต่ำ สารเคมีชนิด\nนั้นจะมีความเป็นพิษต่อคนหรือสัตว์ทดลองสูงมาก เช่น สารไตรอะโซฟอส มีค่า LD50 = 82 ซึ่งเป็นสารเคมีที่มีความเป็นพิษต่อ\nคนและสัตว์ทดลองสูง\n\n5. ฉลากสารป้องกันกำจัดศัตรูพืช\n\n ข้อความที่ปรากฏบนฉลากเป็นคำแนะนำในรายละเอียดต่าง ๆ ด้านประสิทธิภาพการป้องกันกำจัด วิธีการใช้ และ\nการป้องกันอันตราย รวมทั้งข้อแนะนำอื่น ๆ ด้วย ข้อมูลทั้งหมดนั้นได้ผลมาจากการทดลองทั้งในห้องปฏิบัติการและในสภาพไร่\nดังนั้น ถ้าผู้ที่เกี่ยวข้องทำความเข้าใจข้อมูลต่าง ๆ เหล่านั้น การใช้สารป้องกันกำจัดศัตรูพืชก็จะได้ประโยชน์สูงสุด\n\n 5.1 วัตถุประสงค์ ฉลากสารป้องกันกำจัดศัตรูพืช เป็นข้อกำหนดทางกฎหมาย เพื่อต้องการให้บุคคลที่เกี่ยวข้องได้\nทราบข้อมูลต่าง ๆ เหล่านี้\n\n 5.1.1 ชนิดของสารป้องกันกำจัดศัตรูพืชในภาชนะบรรจุนั้น เป็นสารกำจัดวัชพืช เช่น พาราควอต อาทราซีน\nหรือสารป้องกันกำจัดแมลง เช่น เฟนิโตรไธออน หรืออิมิดาโคลพริด เป็นต้น'],
['เมทิลโบรไมด์จัดอยู่ในกลุ่มย่อยใดของสารยับยั้งหลายจุด และใช้ในงานอะไร', '|M 02 multi-site contact activity กลุ่ม Inorganic ชื่อสามัญ : sulphur|M 02|ต่ำ||\n|---|---|---|---|\n|M 03 multi-site contact activity กลุ่ม dithio-carbamates and relatives ชื่อสามัญ : amobam ferbam mancozeb maneb metiram propineb thiram zinc thiazole zineb ziram|M 03|ต่ำ||\n|M 04 multi-site contact activity กลุ่ม phthalimides ชื่อสามัญ : captan captafol folpet|M 04|ต่ำ||\n|M 05 multi-site contact activity กลุ่ม chloronitriles (phthalonitriles) ชื่อสามัญ : chlorothalonil|M 05|ต่ำ||\n|M 06 multi-site contact activity กลุ่ม sulfamides ชื่อสามัญ : dichlofluanid tolylfluanid|M 06|ต่ำ||\n|M 07 multi-site contact activity กลุ่ม bis-guanidines ชื่อสามัญ : guazatine iminoctadine|M 07|ต่ำ||\n|M 08 multi-site contact activity กลุ่ม triazines ชื่อสามัญ : anilazine|M 08|ต่ำ||\n|M 09 multi-site contact activity กลุ่ม quinones (anthraquinones) ชื่อสามัญ : dithianon|M 09|ต่ำ||\n|M 10 multi-site contact activity กลุ่ม quinoxalines ชื่อสามัญ : chinomethionat quinomethionate|M 10|ต่ำ||\n|M 11 multi-site contact activity กลุ่ม maleimide ชื่อสามัญ : fluoroimide|M 11|ต่ำ||\n|M 12 multi-site contact activity กลุ่ม thiocarbamate ชื่อสามัญ : methasulfocarb|M 12|ต่ำ จำแนกใหม่ในปี 2018 เป็น U 42||\n|กลุ่ม BM สารชีวภาพที่มีกลไกการทำงานได้หลายแบบ (สารสกัดจากพืช)|เลขกลุ่ม||ความเสี่ยงต่อความ|\n||||ต้านทาน|\n|Multiple effects on ion membrane transporter; chelating effects กลุ่ม polypeptide (lectin) ชื่อสามัญ : สกัดจากใบเลี้ยงของ lupine plantlets (“BLAD”)|BM 01|ไม่มีข้อมูลความ ต้านทาน||\n|Affects fungal spores germ tubes, induced plant defense กลุ่ม phenols, sesquiterpenes, triterpenoids, coumarins ชื่อสามัญ : สกัดจาก Swinglea glutinosa||ไม่มีข้อมูลความ ต้านทาน||'],
['พ่นสารในนาข้าวควรเลือกรองเท้าบู๊ทแบบใด และสวมขากางเกงอย่างไร', 'กระเจี๊ยบเขียว (Okra)\nการพ่นสารกำจัดแมลงด้วยเครื่องพ่นสารแบบสูบโยกสะพายหลัง (knapsack sprayer) ใช้น้ำไร่ละ 120 ลิตร'],
['ไซฟลูฟีนาไมด์ (cyflufenamid) พบความต้านทานในเชื้อราชนิดไหน', '|ศัตรูพืช||สารป้องกันกำจัดศัตรูพืช||||||วิธีการใช้|หมายเหตุ|\n|---|---|---|---|---|---|---|---|---|---|\n||ชื่อสามัญ||% สารออกฤทธิ์ และสูตร|กลุ่ม กลไกการ ออกฤทธิ์|พ|ระดับ|อัตรา การใช้|||\n|||||||ความเป็น||||\n|||||||พิษ-WHO||||\n|||||||(LD50)||||\n|โรคราสนิม เชื้อราสาเหตุ Phakopsora pachyrhizi|ทีบูโคนาโซล (tebuconazole)||25% EW|3|ปาน กลาง (1,700)||10 มล. ต่อน้ำ20 ลิตร|พ่นเมื่อพบการระบาดของ โรค พ่นซ้ำทุก 7 วัน||\n||ไซโปรโคนาโซล (cyproconazole)||10% SL|3|ปาน กลาง (<350)||80 มล. ต่อน้ำ20 ลิตร|||'],
['แมนโคเซบ ไทแรม ซิแนบ อยู่กลุ่ม M เลขอะไร และเสี่ยงดื้อยาระดับไหน', '|F8 ergosterol binding กลุ่ม amphoteric macrolide antifungal antibiotic from Streptomyces natalensis or S.chattanoogensis ชื่อสามัญ : natamycin (pimaricin)|48|ไม่มีข้อมูลความ ต้านทาน||\n|---|---|---|---|\n|F9 lipid homeostasis and transfer/storage กลุ่ม piperidinyl-thiazole-isoxazolines ชื่อสามัญ : oxathiapiprolin fluoxapiprolin|49|คาดว่า กลาง-สูง||\n|F10 interaction with lipid fraction of the cell membrane, with multiple effects on cell membrane integrity กลุ่ม polypeptide ชื่อสามัญ : polypeptide ASFBIOF01-02|51|ไม่มีข้อมูลความ ต้านทาน||\n|กลุ่ม G กลไกที่มีผลต่อการสังเคราะห์สเตอรอลในเยื่อหุ้มเซลล์|เลขกลุ่ม||ความเสี่ยงต่อความ|\n||||ต้านทาน|\n|G1 C14- demethylase in sterol biosynthesis (erg11/cyp51) กลุ่ม piperazines และ pyridines และ pyrimidines และ imidazoles และ triazoles และ triazolinthiones ชื่อสามัญ : triforine pyrifenox pyrisoxazole imazalil oxpoconazole pefurazoate prochloraz triflumizole azaconazole bitertanol bromuconazole cyproconazole difenoconazole diniconazole epoxiconazole fenbuconazole fluquinconazole flusilazole flutriafol hexaconazole imibenconazole ipconazole metconazole myclobutanil penconazole propiconazole prothioconazole simeconazole tebuconazole tetraconazole triadimefon triadimenol triticonazole prothioconazole|3|ปานกลาง||\n|G2 \uf07214-reductase and \uf0728 \uf022\uf0727- isomerase in sterol biosynthesis (erg24, erg2) กลุ่ม morpholines และ piperidines และ spiroketal-amines ชื่อสามัญ : aldimorph dodemorph fenpropimorph tridemorph fenpropidin piperalin spiroxamine|5|ต่ำ-ปานกลาง||\n|G3 3-keto reductase, C4- de-methylation (erg27) กลุ่ม hydroxyanilides และ amino-pyrazolinone ชื่อสามัญ : fenhexamid fenpyrazamine|17|ต่ำ-ปานกลาง||'],
]
scores = model.predict(pairs)
print(scores)
# [0.0013 0.0047 0.0003 0.0003 0.0047]
# Or rank different texts based on similarity to a single text
ranks = model.rank(
'ก่อนขนส่งสารกำจัดศัตรูพืชต้องตรวจสอบเรื่องหีบห่อและสภาพอากาศอย่างไร',
[
'4. อันตรายของสารป้องกันกำจัดศัตรูพืช\n\n อันตรายหมายถึงการเจ็บป่วยที่เกิดขึ้นเมื่อได้รับสารป้องกันกำจัดศัตรูพืช อันตรายที่เกิดขึ้นนั้นจะรุนแรงมากน้อย\nระดับใดขึ้นกับปัจจัยหลายประการด้วยกัน ได้แก่ หนทางที่สารพิษเข้าสู่ร่างกาย (ทางการหายใจ ทางผิวหนัง และทางปาก)\nอัตราการใช้ ความถี่ในการใช้ ระยะเวลาที่ใช้ และสูตรสำเร็จของสารป้องกันกำจัดศัตรูพืช\n\n สำหรับการจัดแบ่งความเป็นพิษของสารป้องกันกำจัดศัตรูพืช องค์การอนามัยโลกได้กำหนดระบบการจัดระดับ\nความเป็นพิษของสารเคมีที่ใช้ทางการเกษตรไว้เพื่อให้เป็นมาตรฐานเดียวกัน โดยอาศัยข้อมูลจากอันตรายที่เกิดขึ้นต่อคนหรือ\nสัตว์ทดลองเมื่อได้รับหรือสัมผัสกับสารป้องกันกำจัดศัตรูพืช องค์การอนามัยโลกได้แบ่งระดับความเป็นพิษออกเป็น 4 กลุ่ม\n(ตารางที่ 1)\n\nตารางที่ 1 ระดับความเป็นพิษของสารป้องกันกำจัดศัตรูพืชแบ่งตามองค์การอนามัยโลก\n\n\nจากข้อมูลในตาราง สรุปได้ว่า ถ้า LD50 มีค่าสูง ความเป็นพิษของสารเคมีชนิดนั้นจะต่ำ เช่น สารเทฟลูเบนซูรอน มีค่า\nLD50 = 5,000 สารเคมีชนิดนี้มีความเป็นพิษต่อคนและสัตว์ทดลองต่ำมาก ในทางตรงกันข้าม ถ้า LD50 มีค่าต่ำ สารเคมีชนิด\nนั้นจะมีความเป็นพิษต่อคนหรือสัตว์ทดลองสูงมาก เช่น สารไตรอะโซฟอส มีค่า LD50 = 82 ซึ่งเป็นสารเคมีที่มีความเป็นพิษต่อ\nคนและสัตว์ทดลองสูง\n\n5. ฉลากสารป้องกันกำจัดศัตรูพืช\n\n ข้อความที่ปรากฏบนฉลากเป็นคำแนะนำในรายละเอียดต่าง ๆ ด้านประสิทธิภาพการป้องกันกำจัด วิธีการใช้ และ\nการป้องกันอันตราย รวมทั้งข้อแนะนำอื่น ๆ ด้วย ข้อมูลทั้งหมดนั้นได้ผลมาจากการทดลองทั้งในห้องปฏิบัติการและในสภาพไร่\nดังนั้น ถ้าผู้ที่เกี่ยวข้องทำความเข้าใจข้อมูลต่าง ๆ เหล่านั้น การใช้สารป้องกันกำจัดศัตรูพืชก็จะได้ประโยชน์สูงสุด\n\n 5.1 วัตถุประสงค์ ฉลากสารป้องกันกำจัดศัตรูพืช เป็นข้อกำหนดทางกฎหมาย เพื่อต้องการให้บุคคลที่เกี่ยวข้องได้\nทราบข้อมูลต่าง ๆ เหล่านี้\n\n 5.1.1 ชนิดของสารป้องกันกำจัดศัตรูพืชในภาชนะบรรจุนั้น เป็นสารกำจัดวัชพืช เช่น พาราควอต อาทราซีน\nหรือสารป้องกันกำจัดแมลง เช่น เฟนิโตรไธออน หรืออิมิดาโคลพริด เป็นต้น',
'|M 02 multi-site contact activity กลุ่ม Inorganic ชื่อสามัญ : sulphur|M 02|ต่ำ||\n|---|---|---|---|\n|M 03 multi-site contact activity กลุ่ม dithio-carbamates and relatives ชื่อสามัญ : amobam ferbam mancozeb maneb metiram propineb thiram zinc thiazole zineb ziram|M 03|ต่ำ||\n|M 04 multi-site contact activity กลุ่ม phthalimides ชื่อสามัญ : captan captafol folpet|M 04|ต่ำ||\n|M 05 multi-site contact activity กลุ่ม chloronitriles (phthalonitriles) ชื่อสามัญ : chlorothalonil|M 05|ต่ำ||\n|M 06 multi-site contact activity กลุ่ม sulfamides ชื่อสามัญ : dichlofluanid tolylfluanid|M 06|ต่ำ||\n|M 07 multi-site contact activity กลุ่ม bis-guanidines ชื่อสามัญ : guazatine iminoctadine|M 07|ต่ำ||\n|M 08 multi-site contact activity กลุ่ม triazines ชื่อสามัญ : anilazine|M 08|ต่ำ||\n|M 09 multi-site contact activity กลุ่ม quinones (anthraquinones) ชื่อสามัญ : dithianon|M 09|ต่ำ||\n|M 10 multi-site contact activity กลุ่ม quinoxalines ชื่อสามัญ : chinomethionat quinomethionate|M 10|ต่ำ||\n|M 11 multi-site contact activity กลุ่ม maleimide ชื่อสามัญ : fluoroimide|M 11|ต่ำ||\n|M 12 multi-site contact activity กลุ่ม thiocarbamate ชื่อสามัญ : methasulfocarb|M 12|ต่ำ จำแนกใหม่ในปี 2018 เป็น U 42||\n|กลุ่ม BM สารชีวภาพที่มีกลไกการทำงานได้หลายแบบ (สารสกัดจากพืช)|เลขกลุ่ม||ความเสี่ยงต่อความ|\n||||ต้านทาน|\n|Multiple effects on ion membrane transporter; chelating effects กลุ่ม polypeptide (lectin) ชื่อสามัญ : สกัดจากใบเลี้ยงของ lupine plantlets (“BLAD”)|BM 01|ไม่มีข้อมูลความ ต้านทาน||\n|Affects fungal spores germ tubes, induced plant defense กลุ่ม phenols, sesquiterpenes, triterpenoids, coumarins ชื่อสามัญ : สกัดจาก Swinglea glutinosa||ไม่มีข้อมูลความ ต้านทาน||',
'กระเจี๊ยบเขียว (Okra)\nการพ่นสารกำจัดแมลงด้วยเครื่องพ่นสารแบบสูบโยกสะพายหลัง (knapsack sprayer) ใช้น้ำไร่ละ 120 ลิตร',
'|ศัตรูพืช||สารป้องกันกำจัดศัตรูพืช||||||วิธีการใช้|หมายเหตุ|\n|---|---|---|---|---|---|---|---|---|---|\n||ชื่อสามัญ||% สารออกฤทธิ์ และสูตร|กลุ่ม กลไกการ ออกฤทธิ์|พ|ระดับ|อัตรา การใช้|||\n|||||||ความเป็น||||\n|||||||พิษ-WHO||||\n|||||||(LD50)||||\n|โรคราสนิม เชื้อราสาเหตุ Phakopsora pachyrhizi|ทีบูโคนาโซล (tebuconazole)||25% EW|3|ปาน กลาง (1,700)||10 มล. ต่อน้ำ20 ลิตร|พ่นเมื่อพบการระบาดของ โรค พ่นซ้ำทุก 7 วัน||\n||ไซโปรโคนาโซล (cyproconazole)||10% SL|3|ปาน กลาง (<350)||80 มล. ต่อน้ำ20 ลิตร|||',
'|F8 ergosterol binding กลุ่ม amphoteric macrolide antifungal antibiotic from Streptomyces natalensis or S.chattanoogensis ชื่อสามัญ : natamycin (pimaricin)|48|ไม่มีข้อมูลความ ต้านทาน||\n|---|---|---|---|\n|F9 lipid homeostasis and transfer/storage กลุ่ม piperidinyl-thiazole-isoxazolines ชื่อสามัญ : oxathiapiprolin fluoxapiprolin|49|คาดว่า กลาง-สูง||\n|F10 interaction with lipid fraction of the cell membrane, with multiple effects on cell membrane integrity กลุ่ม polypeptide ชื่อสามัญ : polypeptide ASFBIOF01-02|51|ไม่มีข้อมูลความ ต้านทาน||\n|กลุ่ม G กลไกที่มีผลต่อการสังเคราะห์สเตอรอลในเยื่อหุ้มเซลล์|เลขกลุ่ม||ความเสี่ยงต่อความ|\n||||ต้านทาน|\n|G1 C14- demethylase in sterol biosynthesis (erg11/cyp51) กลุ่ม piperazines และ pyridines และ pyrimidines และ imidazoles และ triazoles และ triazolinthiones ชื่อสามัญ : triforine pyrifenox pyrisoxazole imazalil oxpoconazole pefurazoate prochloraz triflumizole azaconazole bitertanol bromuconazole cyproconazole difenoconazole diniconazole epoxiconazole fenbuconazole fluquinconazole flusilazole flutriafol hexaconazole imibenconazole ipconazole metconazole myclobutanil penconazole propiconazole prothioconazole simeconazole tebuconazole tetraconazole triadimefon triadimenol triticonazole prothioconazole|3|ปานกลาง||\n|G2 \uf07214-reductase and \uf0728 \uf022\uf0727- isomerase in sterol biosynthesis (erg24, erg2) กลุ่ม morpholines และ piperidines และ spiroketal-amines ชื่อสามัญ : aldimorph dodemorph fenpropimorph tridemorph fenpropidin piperalin spiroxamine|5|ต่ำ-ปานกลาง||\n|G3 3-keto reductase, C4- de-methylation (erg27) กลุ่ม hydroxyanilides และ amino-pyrazolinone ชื่อสามัญ : fenhexamid fenpyrazamine|17|ต่ำ-ปานกลาง||',
]
)
# [{'corpus_id': ..., 'score': ...}, {'corpus_id': ..., 'score': ...}, ...]
Evaluation
Metrics
Cross Encoder Reranking
- Dataset:
val - Evaluated with CrossEncoderRerankingEvaluator with these parameters:
{ "at_k": 10 }
| Metric | Value |
|---|---|
| map | 0.8657 |
| mrr@10 | 0.8657 |
| ndcg@10 | 0.8985 |
Training Details
Training Dataset
Unnamed Dataset
- Size: 1,964 training samples
- Columns: sentence_0, sentence_1, and label
- Approximate statistics based on the first 100 samples:
sentence_0 sentence_1 label type string string float modality text text details min: 14 tokensmean: 23.87 tokensmax: 47 tokens min: 11 tokensmean: 311.36 tokensmax: 512 tokens min: 0.0mean: 0.04max: 1.0 - Samples:
sentence_0 sentence_1 label ก่อนขนส่งสารกำจัดศัตรูพืชต้องตรวจสอบเรื่องหีบห่อและสภาพอากาศอย่างไร 4. อันตรายของสารป้องกันกำจัดศัตรูพืช อันตรายหมายถึงการเจ็บป่วยที่เกิดขึ้นเมื่อได้รับสารป้องกันกำจัดศัตรูพืช อันตรายที่เกิดขึ้นนั้นจะรุนแรงมากน้อยระดับใดขึ้นกับปัจจัยหลายประการด้วยกัน ได้แก่ หนทางที่สารพิษเข้าสู่ร่างกาย (ทางการหายใจ ทางผิวหนัง และทางปาก)อัตราการใช้ ความถี่ในการใช้ ระยะเวลาที่ใช้ และสูตรสำเร็จของสารป้องกันกำจัดศัตรูพืช สำหรับการจัดแบ่งความเป็นพิษของสารป้องกันกำจัดศัตรูพืช องค์การอนามัยโลกได้กำหนดระบบการจัดระดับความเป็นพิษของสารเคมีที่ใช้ทางการเกษตรไว้เพื่อให้เป็นมาตรฐานเดียวกัน โดยอาศัยข้อมูลจากอันตรายที่เกิดขึ้นต่อคนหรือสัตว์ทดลองเมื่อได้รับหรือสัมผัสกับสารป้องกันกำจัดศัตรูพืช องค์การอนามัยโลกได้แบ่งระดับความเป็นพิษออกเป็น 4 กลุ่ม(ตารางที่ 1)ตารางที่ 1 ระดับความเป็นพิษของสารป้องกันกำจัดศัตรูพืชแบ่งตามองค์การอนามัยโลกจากข้อมูลในตาราง สรุปได้ว่า ถ้า LD50 มีค่าสูง ความเป็นพิษของสารเคมีชนิดนั้นจะต่ำ เช่น สารเทฟลูเบนซูรอน มีค่าLD50 = 5,000 สารเคมีชนิดนี้มีความเป็นพิษต่อคนและสัตว์ทดลองต่ำมาก ในทางตรงกันข้าม ถ้า LD50 มีค่าต่ำ สารเคมีชนิดนั้นจะมีความเป็นพิษต่อคน... 0.0 เมทิลโบรไมด์จัดอยู่ในกลุ่มย่อยใดของสารยับยั้งหลายจุด และใช้ในงานอะไร |M 02 multi-site contact activity กลุ่ม Inorganic ชื่อสามัญ : sulphur|M 02|ต่ำ|||---|---|---|---||M 03 multi-site contact activity กลุ่ม dithio-carbamates and relatives ชื่อสามัญ : amobam ferbam mancozeb maneb metiram propineb thiram zinc thiazole zineb ziram|M 03|ต่ำ|||M 04 multi-site contact activity กลุ่ม phthalimides ชื่อสามัญ : captan captafol folpet|M 04|ต่ำ|||M 05 multi-site contact activity กลุ่ม chloronitriles (phthalonitriles) ชื่อสามัญ : chlorothalonil|M 05|ต่ำ|||M 06 multi-site contact activity กลุ่ม sulfamides ชื่อสามัญ : dichlofluanid tolylfluanid|M 06|ต่ำ|||M 07 multi-site contact activity กลุ่ม bis-guanidines ชื่อสามัญ : guazatine iminoctadine|M 07|ต่ำ|||M 08 multi-site contact activity กลุ่ม triazines ชื่อสามัญ : anilazine|M 08|ต่ำ|||M 09 multi-site contact activity กลุ่ม quinones (anthraquinones) ชื่อสามัญ : dithianon|M 09|ต่ำ|||M 10 multi-site contact activity กลุ่ม quinoxalines ชื่อสามัญ : chinomethionat quinomethionate|M 10|ต่ำ|||M 11 multi-site contact a... 0.0 พ่นสารในนาข้าวควรเลือกรองเท้าบู๊ทแบบใด และสวมขากางเกงอย่างไร กระเจี๊ยบเขียว (Okra)การพ่นสารกำจัดแมลงด้วยเครื่องพ่นสารแบบสูบโยกสะพายหลัง (knapsack sprayer) ใช้น้ำไร่ละ 120 ลิตร 0.0 - Loss: BinaryCrossEntropyLoss with these parameters:
{ "activation_fn": "torch.nn.modules.linear.Identity", "pos_weight": null }
Training Hyperparameters
Non-Default Hyperparameters
per_device_train_batch_size: 4fp16: Trueper_device_eval_batch_size: 4
All Hyperparameters
per_device_train_batch_size: 4num_train_epochs: 3max_steps: -1learning_rate: 5e-05lr_scheduler_type: linearlr_scheduler_kwargs: Nonewarmup_steps: 0optim: adamw_torch_fusedoptim_args: Noneweight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08optim_target_modules: Nonegradient_accumulation_steps: 1average_tokens_across_devices: Truemax_grad_norm: 1label_smoothing_factor: 0.0bf16: Falsefp16: Truebf16_full_eval: Falsefp16_full_eval: Falsetf32: Nonegradient_checkpointing: Falsegradient_checkpointing_kwargs: Nonetorch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Noneuse_liger_kernel: Falseliger_kernel_config: Noneuse_cache: Falseneftune_noise_alpha: Nonetorch_empty_cache_steps: Noneauto_find_batch_size: Falselog_on_each_node: Truelogging_nan_inf_filter: Trueinclude_num_input_tokens_seen: nolog_level: passivelog_level_replica: warningdisable_tqdm: Falseproject: huggingfacetrackio_space_id: Nonetrackio_bucket_id: Nonetrackio_static_space_id: Noneper_device_eval_batch_size: 4prediction_loss_only: Trueeval_on_start: Falseeval_do_concat_batches: Trueeval_use_gather_object: Falseeval_accumulation_steps: Noneinclude_for_metrics: []batch_eval_metrics: Falsesave_only_model: Falsesave_on_each_node: Falseenable_jit_checkpoint: Falsepush_to_hub: Falsehub_private_repo: Nonehub_model_id: Nonehub_strategy: every_savehub_always_push: Falsehub_revision: Noneload_best_model_at_end: Falseignore_data_skip: Falserestore_callback_states_from_checkpoint: Falsefull_determinism: Falseseed: 42data_seed: Noneuse_cpu: Falseaccelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}parallelism_config: Nonedataloader_drop_last: Falsedataloader_num_workers: 0dataloader_pin_memory: Truedataloader_persistent_workers: Falsedataloader_prefetch_factor: Nonedataloader_multiprocessing_context: Nonedataloader_in_order: Trueremove_unused_columns: Truelabel_names: Nonetrain_sampling_strategy: randomlength_column_name: lengthddp_find_unused_parameters: Noneddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falseddp_static_graph: Noneddp_backend: Noneddp_timeout: 1800fsdp: Nonefsdp_config: Nonedeepspeed: Nonedebug: []skip_memory_metrics: Truedo_predict: Falseresume_from_checkpoint: Nonelocal_rank: -1prompts: Nonebatch_sampler: batch_samplermulti_dataset_batch_sampler: proportionalrouter_mapping: {}learning_rate_mapping: {}warmup_ratio: None
Training Logs
| Epoch | Step | Training Loss | val_ndcg@10 |
|---|---|---|---|
| -1 | -1 | - | 0.8080 |
| 0.0509 | 25 | - | 0.8290 |
| 0.1018 | 50 | - | 0.8539 |
| 0.1527 | 75 | - | 0.8444 |
| 0.2037 | 100 | - | 0.8480 |
| 0.2546 | 125 | - | 0.8674 |
| 0.3055 | 150 | - | 0.8676 |
| 0.3564 | 175 | - | 0.8574 |
| 0.4073 | 200 | - | 0.8581 |
| 0.4582 | 225 | - | 0.8470 |
| 0.5092 | 250 | - | 0.8270 |
| 0.5601 | 275 | - | 0.8414 |
| 0.6110 | 300 | - | 0.8437 |
| 0.6619 | 325 | - | 0.8373 |
| 0.7128 | 350 | - | 0.8705 |
| 0.7637 | 375 | - | 0.8497 |
| 0.8147 | 400 | - | 0.8442 |
| 0.8656 | 425 | - | 0.8497 |
| 0.9165 | 450 | - | 0.8705 |
| 0.9674 | 475 | - | 0.8651 |
| 1.0 | 491 | - | 0.8985 |
| 1.0183 | 500 | 0.1768 | 0.8985 |
Training Time
- Training: 13.3 minutes
Framework Versions
- Python: 3.13.15
- Sentence Transformers: 6.1.0
- Transformers: 5.20.1
- PyTorch: 2.11.0+cu130
- Accelerate: 1.15.0
- Datasets: 5.1.0
- Tokenizers: 0.23.3
Additional Resources
- Training and Finetuning Reranker Models with Sentence Transformers: the end-to-end guide for training or finetuning Cross Encoder (reranker) models.
- Multimodal Embedding & Reranker Models with Sentence Transformers: use text, image, audio, and video reranker models through the same API.
- Training and Finetuning Multimodal Embedding & Reranker Models with Sentence Transformers: training multimodal Cross Encoders.
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",
}