Benchmark Updates (#382)

This commit is contained in:
Liangsheng Yin
2024-04-24 02:23:01 +08:00
committed by GitHub
parent 150d7020ed
commit da19434c2f
18 changed files with 72 additions and 17 deletions

1
benchmark/tip_suggestion/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
!topic.jsonl

View File

@@ -59,7 +59,7 @@ def main(args):
# Run requests
tic = time.time()
states = suggest_tips.run_batch(
arguments, temperature=0, num_threads=args.parallel)
arguments, temperature=0, num_threads=args.parallel, progress_bar=True)
latency = time.time() - tic
# Compute accuracy

View File

@@ -0,0 +1,50 @@
{"topic": "organizing a successful charity event", "number": 6}
{"topic": "improving personal credit scores", "number": 7}
{"topic": "staying motivated during job searches", "number": 5}
{"topic": "maintaining a work-life balance", "number": 9}
{"topic": "reducing carbon footprint at home", "number": 8}
{"topic": "starting a book club", "number": 5}
{"topic": "learning to play a musical instrument", "number": 7}
{"topic": "getting into freelance writing", "number": 6}
{"topic": "beginner yoga poses", "number": 8}
{"topic": "preparing for graduate school exams", "number": 5}
{"topic": "exploring minimalist living", "number": 9}
{"topic": "effective grocery shopping", "number": 7}
{"topic": "winter camping", "number": 5}
{"topic": "starting a podcast on a budget", "number": 8}
{"topic": "creating a capsule wardrobe", "number": 6}
{"topic": "improving your writing skills", "number": 7}
{"topic": "learning a new software quickly", "number": 9}
{"topic": "reducing anxiety before public speaking", "number": 5}
{"topic": "planning a solo travel adventure", "number": 8}
{"topic": "beginner skateboarders", "number": 6}
{"topic": "studying abroad", "number": 7}
{"topic": "planting a vegetable garden", "number": 5}
{"topic": "adopting a shelter pet", "number": 9}
{"topic": "learning to cook ethnic cuisines", "number": 8}
{"topic": "effective conflict resolution", "number": 5}
{"topic": "starting a vlog", "number": 7}
{"topic": "keeping a daily journal", "number": 6}
{"topic": "improving sleep hygiene", "number": 8}
{"topic": "beginner mountain climbers", "number": 5}
{"topic": "creating a mobile app", "number": 9}
{"topic": "maintaining a saltwater aquarium", "number": 7}
{"topic": "preparing for a baby's arrival", "number": 6}
{"topic": "writing a fantasy novel", "number": 5}
{"topic": "effective team leadership", "number": 8}
{"topic": "making a documentary film", "number": 9}
{"topic": "learning about historical events", "number": 7}
{"topic": "baking gluten-free treats", "number": 6}
{"topic": "improving mental arithmetic skills", "number": 5}
{"topic": "building a treehouse", "number": 8}
{"topic": "getting started with watercolor painting", "number": 9}
{"topic": "creating a YouTube tutorial series", "number": 7}
{"topic": "landscape photography", "number": 5}
{"topic": "navigating cultural differences", "number": 6}
{"topic": "preparing for a marathon", "number": 8}
{"topic": "building an online business", "number": 9}
{"topic": "learning to dance at home", "number": 5}
{"topic": "self-publishing a book", "number": 7}
{"topic": "starting an urban farm", "number": 6}
{"topic": "improving your memory", "number": 8}
{"topic": "creating a personal brand online", "number": 9}