Comments (3)
Your observation is correct. Currently, if a metric already exists (which is "similar_to_expected"
in your case), it raises a warning (as seen in your notebook "WARNING: similar_to_expected is already present, skipping"
) rather than overwriting it.
If you change the metric name given in the second .evaluate
call (i.e. experiment.evaluate("similar_to_expected_2", ...)
), it will compute another column.
We are open to considering overwriting it even when the existing metric already exists. Let us know what you think.
from prompttools.
Thank you for this issue, I changed the variable name but still, the response column is stale. Any leads on this issue? I use python version 3.11.5
from prompttools.
Hi @Sruthi5797,
Can you post a minimal code snippet of what you are running? Also, are you seeing any warning message?
from prompttools.
Related Issues (20)
- SQL Validator
- Support for Google Vertex AI HOT 1
- Error when running promptools HOT 1
- Example in README doesn't work HOT 1
- GoogleVertexChatExperiment.ipynb notebook does not work HOT 1
- It can't load with llama_load_model_from_file: failed to load model HOT 1
- Playground can't load openai experiment HOT 1
- ModuleNotFoundError: Package `llama-cpp-python` is required to be installed to use this experiment HOT 10
- Issue with HuggingFaceHubExperiment: Unable to Use Models Other Than gpt2 HOT 6
- Support for OpenAI Assistants API HOT 1
- Support for OpenAI Moderation API HOT 1
- Add an experiment for OpenAI Image Generation API
- Add support for Microsoft Semantic-Kernel HOT 3
- chat model and not supported in the v1/completions endpoint HOT 5
- AzureOpenAIServiceExperiment notebook: TypeError: Missing required arguments; Expected either ('model' and 'prompt') or ('model', 'prompt' and 'stream') arguments to be given HOT 3
- OpenAI Chat Experiment Example dependency issue fix HOT 1
- AttributeError: module 'openai' has no attribute 'types'
- Deprecation error : st.experimental_get_query_params and st.experimental_set_query_params will be removed after 2024-04-11
- Missing requirements - streamlit
- Deprecation warnings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prompttools.