Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Oct 29, 2024
2 parents 68c9dd8 + c72a59f commit d569eb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion language/gpt-j/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def main():
result = metric.compute(
predictions=preds, references=targets, use_stemmer=True, use_aggregator=False
)
result = {k: round(np.mean(v) * 100, 4) for k, v in result.items()}
result = {k: f"{round(np.mean(v) * 100, 4)}" for k, v in result.items()}
prediction_lens = [len(pred) for pred in preds]
result["gen_len"] = np.sum(prediction_lens)
result["gen_num"] = len(preds)
Expand Down
5 changes: 2 additions & 3 deletions language/mixtral-8x7b/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,15 @@ sudo -v ; curl https://rclone.org/install.sh | sudo bash
```
Once Rclone is installed, cd into the folder where you want to place the dataset and run:
```bash
rclone copyurl https://inference.mlcommons-storage.org/mixtral_8x7b%2F2024.06.06_mixtral_15k_v4.pkl ./ -a -P
rclone copyurl https://inference.mlcommons-storage.org/mixtral_8x7b/09292024_mixtral_15k_mintoken2_v1.pkl ./ -a -P
```
#### Using wget

Alternatively, you can simply cd into the folder where you want to place the dataset and run

TBD: The dataset is being replaced in v5.0 due to https://github.com/mlcommons/inference/issues/1777

```bash
wget https://inference.mlcommons-storage.org/mixtral_8x7b%2F2024.06.06_mixtral_15k_v4.pkl
wget https://inference.mlcommons-storage.org/mixtral_8x7b/09292024_mixtral_15k_mintoken2_v1.pkl
```

### Calibration dataset
Expand Down

0 comments on commit d569eb1

Please sign in to comment.