Skip to content

Commit

Permalink
Revert "[sharktank] Evaluation - Add Perplexity test" (#285)
Browse files Browse the repository at this point in the history
Reverts #233
  • Loading branch information
archana-ramalingam authored Oct 16, 2024
1 parent e30d0af commit 6b90ac7
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 1,279 deletions.
60 changes: 0 additions & 60 deletions .github/workflows/eval_test.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions docs/model_cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,16 +257,6 @@ iree-run-module \
--parameters=model=/tmp/open_llama_3b_v2/open-llama-3b-v2-f16.gguf
```

## Evaluation pipeline

Run perplexity test:

```bash
python -m sharktank.evaluate.perplexity \
--gguf-file=llama8b_f16.gguf \
--tokenizer-config-json=tokenizer_config.json
```

## Generating data for llama models

```bash
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ onnx==1.15.0
huggingface-hub==0.22.2
transformers==4.40.0
sentencepiece==0.2.0
datasets==3.0.0

# It is expected that you have installed a PyTorch version/variant specific
# to your needs, so we only include a minimum version spec.
Expand Down
12 changes: 0 additions & 12 deletions sharktank/sharktank/evaluate/data/eval_prompts.txt

This file was deleted.

Loading

0 comments on commit 6b90ac7

Please sign in to comment.