Update README.md
Browse files
README.md
CHANGED
|
@@ -20,11 +20,12 @@ description: >-
|
|
| 20 |
# Metric Card for dmxMetric
|
| 21 |
|
| 22 |
## How to Use
|
| 23 |
-
|
| 24 |
>>>import evaluate
|
| 25 |
>>>metric = evaluate.load("d-matrix/dmxMetric", module_type="metric")
|
| 26 |
>>>results = metric._compute(model="d-matrix/gpt2",revision = "distilgpt2",tasks="wikitext",dmx_config = "BASIC" )
|
| 27 |
>>>print(results)
|
|
|
|
| 28 |
|
| 29 |
### Inputs
|
| 30 |
- **model** (`str`): The name or path of the model to evaluate.
|
|
|
|
| 20 |
# Metric Card for dmxMetric
|
| 21 |
|
| 22 |
## How to Use
|
| 23 |
+
```python
|
| 24 |
>>>import evaluate
|
| 25 |
>>>metric = evaluate.load("d-matrix/dmxMetric", module_type="metric")
|
| 26 |
>>>results = metric._compute(model="d-matrix/gpt2",revision = "distilgpt2",tasks="wikitext",dmx_config = "BASIC" )
|
| 27 |
>>>print(results)
|
| 28 |
+
```
|
| 29 |
|
| 30 |
### Inputs
|
| 31 |
- **model** (`str`): The name or path of the model to evaluate.
|