Niklas Hoepner
commited on
Commit
·
32f7c6a
1
Parent(s):
06fb7ae
Better error handling in L3Score computation
Browse files- L3Score.py +1 -0
L3Score.py
CHANGED
@@ -122,6 +122,7 @@ class L3Score(evaluate.Metric):
|
|
122 |
)
|
123 |
|
124 |
# Check whether the model is available
|
|
|
125 |
try:
|
126 |
if provider == "openai":
|
127 |
client = openai.OpenAI(api_key=api_key)
|
|
|
122 |
)
|
123 |
|
124 |
# Check whether the model is available
|
125 |
+
print(provider,model)
|
126 |
try:
|
127 |
if provider == "openai":
|
128 |
client = openai.OpenAI(api_key=api_key)
|