XiaYuanOwO/ascend-deberta-v3-small-model
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

#+NPU

DeBERTa-v3-small Ascend NPU Model

Model Info

  • Model: microsoft/deberta-v3-small
  • Task: Text Classification
  • Hardware: Ascend NPU

Environment

  • PyTorch 2.9.0
  • torch_npu 2.9.0
  • transformers 4.57.6
  • CANN 8.5.1

Weight Download

Weights are downloaded automatically via transformers.AutoModelForSequenceClassification.from_pretrained().

NPU Inference

python inference.py

CPU/NPU Comparison

See logs/accuracy_compare.log and logs/summary.json for detailed comparison results.

Adaptation Conclusion

Model successfully adapted to Ascend NPU with pretrained weights. CPU and NPU outputs match within tolerance.