Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
2188124
1
Parent(s):
23e4963
bug for no llms
Browse files
evaluations/documentation.py
CHANGED
@@ -3,7 +3,10 @@ import re
|
|
3 |
import numpy as np
|
4 |
|
5 |
def is_applicable(verbose, llm, readme):
|
6 |
-
|
|
|
|
|
|
|
7 |
if (llm):
|
8 |
log(verbose, "TITLE", "\nChecking what parts of the evaluations are applicable...")
|
9 |
res_training = llm.predict("STRICT", f"{readme}\nBased on the readme above, should the repository contain code for training a model?")
|
|
|
3 |
import numpy as np
|
4 |
|
5 |
def is_applicable(verbose, llm, readme):
|
6 |
+
res_training = "NA"
|
7 |
+
res_evaluation = "NA"
|
8 |
+
res_weights = "NA"
|
9 |
+
|
10 |
if (llm):
|
11 |
log(verbose, "TITLE", "\nChecking what parts of the evaluations are applicable...")
|
12 |
res_training = llm.predict("STRICT", f"{readme}\nBased on the readme above, should the repository contain code for training a model?")
|