hazyresearch / ama_prompting Goto Github PK
View Code? Open in Web Editor NEWAsk Me Anything language model prompting
License: Apache License 2.0
Ask Me Anything language model prompting
License: Apache License 2.0
Dear authors,
I just want to know what is the definition of "good-quality" prompt and "imperfect" prompt. Are my understanding correct?
Good-quality prompt = prompt which mostly contains ground-truth question-answer pairs. (the answers are more tend to be correct)
imperfect prompt = prompt which contains many false question-answer pairs. (the answers are more likely to be incorrect)
Thanks,
Dylan
I follow the instructions in readme, and meet this error. Do you know how to solve it?
ama_prompting/manifest/manifest/manifest.py", line 104, in init
raise ValueError(f"{list(kwargs.items())} arguments are not recognized.")
ValueError: [('session_id', None)] arguments are not recognized.
Hi, I ran
python3 tasks/drop_final.py \
--run_zeroshot 1 \
--run_fewshot 1 \
--run_decomp 1 \
--num_boost 3 \
--k_shot 3 \
--output_metrics_file ../ama_logs/metrics.json \
--cache_connection ../ama_logs/manifest_cache.sqlite \
--save_dir ../ama_logs/ama_final_runs
and I see:
Accuracy Zero Shot 0.10691393700228803
Accuracy Few Shot 0.21785939533525883
Accuracy by Boost Set Decomposed [0.1622917936425949, 0.16476214293285982, 0.17488727059013848]
Accuracy by Boost Set Decomposed Average 0.1673137357218644
Accuracy Boost Decomposed 0.16522288996755874
Saved metrics to ../ama_logs/metrics.json
Saved final data to ../ama_logs/ama_final_runs/drop
This seems lower than the numbers in the paper, is that expected?
Hi,
This work is amazing, thanks for providing the code!
I have some questions about it.
Thanks so much
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.