Closed emotionor closed 2 days ago
Hi @emotionor, thanks for reporting!
I can reproduce the issue and am looking into it.
Actually @emotionor, it seems the code example you provided me with has a subtle typo!
Instead of hello_world_benchmark
, it should be hello-world-benchmark
.
This works for me:
import polaris as po
benchmark = po.load_benchmark("polaris/hello-world-benchmark")
Some sort of fuzzy search (e.g. "hello_world_benchmark
does not exist, did you mean hello-world-benchmark
?") would perhaps be nice?
For the Fang dataset, this works for me (notice we're using load_dataset
, not load_benchmark
).
dataset = po.load_dataset("polaris/adme-fang-1")
Let me know if that solves it.
It seems we use hello_world_benchmark
in the documentation. That's something we should fix! Thanks for reporting!
We updated the docs in #117 and have a related PR to update the code examples on the Hub to use existing benchmarks. Let me know if that helps, @emotionor!
Hi, @cwognum can you explain the split method when using get_train_test_split after load_benchmark?
@cwognum Thank you very much for your assistance in resolving the issue. The solution you provided worked perfectly. I appreciate your help and the great work you do in maintaining this project.
Hi, @cwognum can you explain the split method when using get_train_test_split after load_benchmark?
Hi @robotcator , happy to answer your question, but this is not the best place to ask. Would you mind posing the question in our Discord or in a Github Discussion? That way, it's easier for others with similar questions to learn from your question as well! Thanks!
Description:
I encountered an issue when trying to load a benchmark using the
polaris
library. The following code snippet produces an HTTPStatusError:Error Message:
Environment:
Additional Information:
It seems like the URL
https://polarishub.io/api/v1/benchmark/polaris/hello_world_benchmark
might be incorrect or the benchmark is not available on the server. In addition to that, I've tried other datasets such aspolaris/adme-fang-1
, and they all come up with the same 404 error.