wanzin commited on
Commit
d3df1ba
·
verified ·
1 Parent(s): 744a270

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -12
README.md CHANGED
@@ -21,18 +21,10 @@ description: >-
21
 
22
  ## How to Use
23
 
24
- import evaluate
25
-
26
- metric = evaluate.load("d-matrix/dmxMetric", module_type="metric")
27
-
28
- results = metric._compute(
29
- model="d-matrix/gpt2",
30
- revision = "distilgpt2",
31
- tasks="wikitext",
32
- dmx_config = "BASIC"
33
- )
34
-
35
- print(results)
36
 
37
  ### Inputs
38
  - **model** (`str`): The name or path of the model to evaluate.
 
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.