feat: create deployment scripts
This commit is contained in:
parent
78297efe5c
commit
8d5bce4bfb
22 changed files with 2697 additions and 74 deletions
|
|
@ -1,3 +1,18 @@
|
|||
# Text Salience API
|
||||
|
||||
|
||||
## Run API
|
||||
```bash
|
||||
uv run flask --app salience run
|
||||
```
|
||||
|
||||
## Benchmarks
|
||||
```bash
|
||||
# Generate embeddings
|
||||
uv run python3 benchmarks/generate_embeddings.py
|
||||
|
||||
# Run benchmarks
|
||||
uv run pytest benchmarks/test_bench_cosine_sim.py --benchmark-json=benchmarks/genfiles/benchmark_results.json
|
||||
|
||||
# Visualize results
|
||||
uv run python3 benchmarks/visualize_benchmarks.py benchmarks/genfiles/benchmark_results.json
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue