Update README.md
Browse files
README.md
CHANGED
|
@@ -12,3 +12,14 @@ short_description: Compare the output of ERNIE-4.5-0.3B Instruct and Base model
|
|
| 12 |
---
|
| 13 |
|
| 14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 15 |
+
|
| 16 |
+
# 🔍 ERNIE 4.5 LogProb Compare
|
| 17 |
+
|
| 18 |
+
This demo compares two ERNIE 4.5 models — `baidu/ERNIE-4.5-0.3B-PT` and `baidu/ERNIE-4.5-0.3B-Base-PT` — on the same input sentence.
|
| 19 |
+
|
| 20 |
+
For each token, the app displays:
|
| 21 |
+
- Token-wise log probabilities
|
| 22 |
+
- Top-k predicted tokens (with probability)
|
| 23 |
+
- Total sentence log probability
|
| 24 |
+
|
| 25 |
+
Useful for debugging, evaluation, or teaching language model internals.
|