lifan-yuan / craft Goto Github PK
View Code? Open in Web Editor NEWCode for ICLR 2024 paper "CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets"
Code for ICLR 2024 paper "CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets"
Hi,
Interesting work! Are there any plans to release the model outputs (especially the induced library of tools and the test set solutions that use those tools) for the datasets studied in the paper?
Hi yuan:
Thanks for your awesome and insightful work! I would like to know whether and when the reusable code snippets in these tasks could be released. It helps a lot to facilitate future research. Thanks😊!
Heming
In the file https://github.com/lifan-yuan/CRAFT/blob/main/tab_and_math/retrieve_tools.py:
if table is None: prompt = retrieval_template_tab.format(table, query) else: prompt = retrieval_template_math + "\n".join([f"Query: {query}", "Let's think step by step:"]) + "\n"
It seems that "if table is None:" is not correct. I think it should be:
if table is not None: prompt = retrieval_template_tab.format(table, query) else: prompt = retrieval_template_math + "\n".join([f"Query: {query}", "Let's think step by step:"]) + "\n"
Thank you for the great work! I wanted to reproduce evaluation on GQA, however, I am not sure how I can do that.
I am working with the 1000 samples of GQA that you provided with the code and used gpt-3.5-turbo-0613.
However, I got an accuracy of 33.2, which is more than 10% lower than the reported accuracy.
I used 'results/craft_tools/5_deduplicated_tool.csv' as a toolset and used the default configuration on retrieval_gqa_config.yaml.
Can you help me reproduce the results?
Also, if possible, can you provide the output of the code you got using gpt-3.5?
Thanks in advance!
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.