Downloads · 30 days
0
fxmarty/20220711-h10m00s56_example_conll2003
20220711-h10m00s56_example_conll2003 is a token classification model from fxmarty. Use it when you need labels on individual words, such as names.
task: token-classification Backend: sagemaker-training Backend args: {'instancetype': 'ml.m5.2xlarge', 'supportedinstructions': 'avx512'} Number of evaluation samples: 100
Downloads · 30 days
0
Access
Public
Updated Jul 11, 2022
Repo size
3 KB
Likes
0
Public
Click a slice to open those files.
.json22.2 KB · 74%
From the Hugging Face model README
task: token-classification
Backend: sagemaker-training
Backend args: {'instance_type': 'ml.m5.2xlarge', 'supported_instructions': 'avx512'}
Number of evaluation samples: 100
Fixed parameters:
elastic/distilbert-base-uncased-finetuned-conll03-englishconll2003validation{'primary': 'tokens'}['ner_tags']train[]Falseminmax100onnxruntime111FalseBenchmarked parameters:
dynamic, static['Add', 'MatMul'], ['Add']| quantization_approach | operators_to_quantize | precision (original) | precision (optimized) | recall (original) | recall (optimized) | f1 (original) | f1 (optimized) | accuracy (original) | accuracy (optimized) | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dynamic | ['Add', 'MatMul'] | | | 0.974 | 0.974 | | | 0.955 | 0.949 | | | 0.964 | 0.962 | | | 0.990 | 0.989 |
dynamic | ['Add'] | | | 0.974 | 0.974 | | | 0.955 | 0.955 | | | 0.964 | 0.964 | | | 0.990 | 0.990 |
static | ['Add', 'MatMul'] | | | 0.974 | 0.081 | | | 0.955 | 0.222 | | | 0.964 | 0.118 | | | 0.990 | 0.467 |
static | ['Add'] | | | 0.974 | 0.073 | | | 0.955 | 0.182 | | | 0.964 | 0.105 | | | 0.990 | 0.290 |
Time benchmarks were run for 3 seconds per config.
Below, time metrics for batch size = 1, input length = 64.
| quantization_approach | operators_to_quantize | latency_mean (original, ms) | latency_mean (optimized, ms) | throughput (original, /s) | throughput (optimized, /s) | ||
|---|---|---|---|---|---|---|---|
dynamic | ['Add', 'MatMul'] | | | 59.35 | 21.91 | | | 17.00 | 45.67 |
dynamic | ['Add'] | | | 59.18 | 29.24 | | | 17.00 | 34.33 |
static | ['Add', 'MatMul'] | | | 59.25 | 28.31 | | | 17.00 | 35.33 |
static | ['Add'] | | | 58.77 | 31.80 | | | 17.33 | 31.67 |