Ali-C137 commited on
Commit
c301163
1 Parent(s): 4df6bd1

Update src/leaderboard/read_evals.py

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +6 -1
src/leaderboard/read_evals.py CHANGED
@@ -100,7 +100,12 @@ class EvalResult:
100
  request = json.load(f)
101
  self.model_type = ModelType.from_str(request.get("model_type", ""))
102
  self.weight_type = WeightType[request.get("weight_type", "Original")]
103
- self.license = request.get("license", "?")
 
 
 
 
 
104
  self.likes = request.get("likes", 0)
105
  self.num_params = request.get("params", 0)
106
  self.date = request.get("submitted_time", "")
 
100
  request = json.load(f)
101
  self.model_type = ModelType.from_str(request.get("model_type", ""))
102
  self.weight_type = WeightType[request.get("weight_type", "Original")]
103
+ # self.license = request.get("license", "?")
104
+
105
+ #### TEMPO ####
106
+ self.license = "apache-2.0" # tmp
107
+ #### TEMPO ####
108
+
109
  self.likes = request.get("likes", 0)
110
  self.num_params = request.get("params", 0)
111
  self.date = request.get("submitted_time", "")