Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

run-fuzzy-sharp-code.sh 490 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  1. #!/bin/bash
  2. set -euo pipefail
  3. COMMIT_HASH="$1"
  4. PATH_TO_DATA="$2"
  5. OTHER_PARAMS="$3"
  6. OUTPUT_PATH="$4"
  7. OUTPUT_METRICS="$5"
  8. git clone https://github.com/giganticode/lm-context-analysis
  9. cd lm-context-analysis
  10. git checkout "$COMMIT_HASH"
  11. virtualenv -p '3.6.9' .venv
  12. source .venv/bin/activate
  13. pip install -r requirements.txt
  14. echo "$OTHER_PARAMS"
  15. python main.py --data "$PATH_TO_DATA" --save "$OUTPUT_PATH" --output_metrics "$OUTPUT_METRICS" $OTHER_PARAMS
  16. cd ..
  17. rm -rf lm-context-analysis .venv
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...