eduagarcia
commited on
Commit
•
f22aa15
1
Parent(s):
2e91ac3
update tweetSentBR dataset
Browse files- functions.py +3 -3
functions.py
CHANGED
@@ -132,7 +132,7 @@ def get_task_summary(results):
|
|
132 |
"metric_name":"f1-macro"
|
133 |
},
|
134 |
"tweetSentBR":
|
135 |
-
{"dataset_type":"eduagarcia
|
136 |
"dataset_name":"tweetSentBR",
|
137 |
"metric_type":"f1_macro",
|
138 |
"metric_value":results["tweetSentBR"],
|
@@ -152,8 +152,8 @@ def get_eval_results(repo):
|
|
152 |
md_writer.value_matrix = [["Average", f"**{results['Average ⬆️']}**"]] + [[v["dataset_name"], v["metric_value"]] for v in task_summary.values()]
|
153 |
|
154 |
text = f"""
|
155 |
-
#
|
156 |
-
Detailed results can be found [here]({get_details_url(repo)})
|
157 |
|
158 |
{md_writer.dumps()}
|
159 |
"""
|
|
|
132 |
"metric_name":"f1-macro"
|
133 |
},
|
134 |
"tweetSentBR":
|
135 |
+
{"dataset_type":"eduagarcia/tweetsentbr_fewshot",
|
136 |
"dataset_name":"tweetSentBR",
|
137 |
"metric_type":"f1_macro",
|
138 |
"metric_value":results["tweetSentBR"],
|
|
|
152 |
md_writer.value_matrix = [["Average", f"**{results['Average ⬆️']}**"]] + [[v["dataset_name"], v["metric_value"]] for v in task_summary.values()]
|
153 |
|
154 |
text = f"""
|
155 |
+
# Open Portuguese LLM Leaderboard Evaluation Results
|
156 |
+
Detailed results can be found [here]({get_details_url(repo)}) and on the [🚀 Open Portuguese LLM Leaderboard](https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard)
|
157 |
|
158 |
{md_writer.dumps()}
|
159 |
"""
|