xujiashuai/timm-nlp_corom_passage-ranking_chinese-tiny
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

CoROM Passage Ranking (nlp_corom_passage-ranking_chinese-tiny)

CoROM model for Chinese passage ranking, trained on general domain data.

  • Model ID: iic/nlp_corom_passage-ranking_chinese-tiny
  • Task: Text Ranking
  • Framework: PyTorch
  • Hidden Size: 256
  • Num Layers: 4

Verification Environment

ItemValue
NPUAscend910B4
CANN8.5.1
PyTorch2.9.0+cpu
torch_npu2.9.0.post1
Python3.11.14

Accuracy Evaluation

CPU vs NPU cosine similarity:

MetricValue
Cosine Similarity1.000000

Inference Output

Result: {'scores': [0.994, 0.015, 0.957]}
SUCCESS

Reproduction

python3 inference.py
python3 evaluate.py

Materials

  • inference.py - NPU inference script
  • evaluate.py - CPU vs NPU cosine similarity evaluation