Adding additional descriptions (improving the text) and adding link to the huggingface dataset.
Browse filesThis view is limited to 50 files because it contains too many changes. Β
See raw diff
- app.py +16 -4
- static/{figures β models_data}/Mistral-7B-Instruct-v0.1/cfa_metrics.csv +0 -0
- static/{figures β models_data}/Mistral-7B-Instruct-v0.1/matrix.svg +0 -0
- static/{figures β models_data}/Mistral-7B-Instruct-v0.1/ranks.svg +0 -0
- static/{figures β models_data}/Mistral-7B-Instruct-v0.1/structure.svg +0 -0
- static/{figures β models_data}/Mistral-7B-Instruct-v0.2/cfa_metrics.csv +0 -0
- static/{figures β models_data}/Mistral-7B-Instruct-v0.2/matrix.svg +0 -0
- static/{figures β models_data}/Mistral-7B-Instruct-v0.2/ranks.svg +0 -0
- static/{figures β models_data}/Mistral-7B-Instruct-v0.2/structure.svg +0 -0
- static/{figures β models_data}/Mistral-7B-Instruct-v0.3/cfa_metrics.csv +0 -0
- static/{figures β models_data}/Mistral-7B-Instruct-v0.3/matrix.svg +0 -0
- static/{figures β models_data}/Mistral-7B-Instruct-v0.3/ranks.svg +0 -0
- static/{figures β models_data}/Mistral-7B-Instruct-v0.3/structure.svg +0 -0
- static/{figures β models_data}/Mistral-Large-Instruct-2407/cfa_metrics.csv +0 -0
- static/{figures β models_data}/Mistral-Large-Instruct-2407/matrix.svg +0 -0
- static/models_data/Mistral-Large-Instruct-2407/model_detail.html +1 -0
- static/{figures β models_data}/Mistral-Large-Instruct-2407/ranks.svg +0 -0
- static/{figures β models_data}/Mistral-Large-Instruct-2407/structure.svg +0 -0
- static/{figures β models_data}/Mixtral-8x22B-Instruct-v0.1/cfa_metrics.csv +0 -0
- static/{figures β models_data}/Mixtral-8x22B-Instruct-v0.1/matrix.svg +0 -0
- static/{figures β models_data}/Mixtral-8x22B-Instruct-v0.1/ranks.svg +0 -0
- static/{figures β models_data}/Mixtral-8x22B-Instruct-v0.1/structure.svg +0 -0
- static/{figures β models_data}/Mixtral-8x7B-Instruct-v0.1/cfa_metrics.csv +0 -0
- static/{figures β models_data}/Mixtral-8x7B-Instruct-v0.1/matrix.svg +0 -0
- static/{figures β models_data}/Mixtral-8x7B-Instruct-v0.1/ranks.svg +0 -0
- static/{figures β models_data}/Mixtral-8x7B-Instruct-v0.1/structure.svg +0 -0
- static/{figures β models_data}/Qwen2-72B-Instruct/cfa_metrics.csv +0 -0
- static/{figures β models_data}/Qwen2-72B-Instruct/matrix.svg +0 -0
- static/{figures β models_data}/Qwen2-72B-Instruct/ranks.svg +0 -0
- static/{figures β models_data}/Qwen2-72B-Instruct/structure.svg +0 -0
- static/{figures β models_data}/Qwen2-7B-Instruct/cfa_metrics.csv +0 -0
- static/{figures β models_data}/Qwen2-7B-Instruct/matrix.svg +0 -0
- static/{figures β models_data}/Qwen2-7B-Instruct/ranks.svg +0 -0
- static/{figures β models_data}/Qwen2-7B-Instruct/structure.svg +0 -0
- static/{figures β models_data}/admin_questionnaire.svg +0 -0
- static/{figures β models_data}/cardinal.svg +0 -0
- static/{figures β models_data}/command_r_plus/cfa_metrics.csv +0 -0
- static/{figures β models_data}/command_r_plus/matrix.svg +0 -0
- static/{figures β models_data}/command_r_plus/ranks.svg +0 -0
- static/{figures β models_data}/command_r_plus/structure.svg +0 -0
- static/{figures β models_data}/dummy/cfa_metrics.csv +0 -0
- static/{figures β models_data}/dummy/matrix.svg +0 -0
- static/{figures β models_data}/dummy/ranks.svg +0 -0
- static/{figures β models_data}/dummy/structure.svg +0 -0
- static/{figures β models_data}/gpt-3.5-turbo-0125/cfa_metrics.csv +0 -0
- static/{figures β models_data}/gpt-3.5-turbo-0125/matrix.svg +0 -0
- static/{figures β models_data}/gpt-3.5-turbo-0125/ranks.svg +0 -0
- static/{figures β models_data}/gpt-3.5-turbo-0125/structure.svg +0 -0
- static/{figures β models_data}/gpt-4o-0513/cfa_metrics.csv +0 -0
- static/{figures β models_data}/gpt-4o-0513/matrix.svg +0 -0
app.py
CHANGED
@@ -2,8 +2,6 @@ import os
|
|
2 |
import pandas as pd
|
3 |
import utils
|
4 |
import base64
|
5 |
-
import shutil
|
6 |
-
import zipfile
|
7 |
from flask import Flask, render_template, request, redirect, url_for
|
8 |
from postmarker.core import PostmarkClient
|
9 |
from werkzeug.utils import secure_filename
|
@@ -61,7 +59,7 @@ def index():
|
|
61 |
@app.route('/model/<model_name>')
|
62 |
def model_detail(model_name):
|
63 |
|
64 |
-
df = pd.read_csv(f'static/
|
65 |
|
66 |
df = df.round(3)
|
67 |
df.insert(0, '#', '')
|
@@ -78,7 +76,21 @@ def model_detail(model_name):
|
|
78 |
classes = 'table table-striped table-bordered'
|
79 |
cfa_table_html = df.to_html(classes=classes, escape=False, index=False)
|
80 |
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
@app.route('/about')
|
84 |
def about():
|
|
|
2 |
import pandas as pd
|
3 |
import utils
|
4 |
import base64
|
|
|
|
|
5 |
from flask import Flask, render_template, request, redirect, url_for
|
6 |
from postmarker.core import PostmarkClient
|
7 |
from werkzeug.utils import secure_filename
|
|
|
59 |
@app.route('/model/<model_name>')
|
60 |
def model_detail(model_name):
|
61 |
|
62 |
+
df = pd.read_csv(f'static/models_data/{model_name}/cfa_metrics.csv')
|
63 |
|
64 |
df = df.round(3)
|
65 |
df.insert(0, '#', '')
|
|
|
76 |
classes = 'table table-striped table-bordered'
|
77 |
cfa_table_html = df.to_html(classes=classes, escape=False, index=False)
|
78 |
|
79 |
+
# Load model specific description
|
80 |
+
model_detail_file = f'static/models_data/{model_name}/model_detail.html'
|
81 |
+
if os.path.exists(model_detail_file):
|
82 |
+
# If the file exists, open and read the HTML file as a string
|
83 |
+
with open(model_detail_file, 'r', encoding='utf-8') as file:
|
84 |
+
model_detail = file.read()
|
85 |
+
else:
|
86 |
+
model_detail = "<p>No additional detail is provided for this model.</p>"
|
87 |
+
|
88 |
+
return render_template(
|
89 |
+
'model_detail.html',
|
90 |
+
model_name=model_name,
|
91 |
+
model_detail=model_detail,
|
92 |
+
cfa_table_html=cfa_table_html
|
93 |
+
)
|
94 |
|
95 |
@app.route('/about')
|
96 |
def about():
|
static/{figures β models_data}/Mistral-7B-Instruct-v0.1/cfa_metrics.csv
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-7B-Instruct-v0.1/matrix.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-7B-Instruct-v0.1/ranks.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-7B-Instruct-v0.1/structure.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-7B-Instruct-v0.2/cfa_metrics.csv
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-7B-Instruct-v0.2/matrix.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-7B-Instruct-v0.2/ranks.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-7B-Instruct-v0.2/structure.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-7B-Instruct-v0.3/cfa_metrics.csv
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-7B-Instruct-v0.3/matrix.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-7B-Instruct-v0.3/ranks.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-7B-Instruct-v0.3/structure.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-Large-Instruct-2407/cfa_metrics.csv
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-Large-Instruct-2407/matrix.svg
RENAMED
File without changes
|
static/models_data/Mistral-Large-Instruct-2407/model_detail.html
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
<p>This model was released by Mistral AI</p>
|
static/{figures β models_data}/Mistral-Large-Instruct-2407/ranks.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mistral-Large-Instruct-2407/structure.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mixtral-8x22B-Instruct-v0.1/cfa_metrics.csv
RENAMED
File without changes
|
static/{figures β models_data}/Mixtral-8x22B-Instruct-v0.1/matrix.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mixtral-8x22B-Instruct-v0.1/ranks.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mixtral-8x22B-Instruct-v0.1/structure.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mixtral-8x7B-Instruct-v0.1/cfa_metrics.csv
RENAMED
File without changes
|
static/{figures β models_data}/Mixtral-8x7B-Instruct-v0.1/matrix.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mixtral-8x7B-Instruct-v0.1/ranks.svg
RENAMED
File without changes
|
static/{figures β models_data}/Mixtral-8x7B-Instruct-v0.1/structure.svg
RENAMED
File without changes
|
static/{figures β models_data}/Qwen2-72B-Instruct/cfa_metrics.csv
RENAMED
File without changes
|
static/{figures β models_data}/Qwen2-72B-Instruct/matrix.svg
RENAMED
File without changes
|
static/{figures β models_data}/Qwen2-72B-Instruct/ranks.svg
RENAMED
File without changes
|
static/{figures β models_data}/Qwen2-72B-Instruct/structure.svg
RENAMED
File without changes
|
static/{figures β models_data}/Qwen2-7B-Instruct/cfa_metrics.csv
RENAMED
File without changes
|
static/{figures β models_data}/Qwen2-7B-Instruct/matrix.svg
RENAMED
File without changes
|
static/{figures β models_data}/Qwen2-7B-Instruct/ranks.svg
RENAMED
File without changes
|
static/{figures β models_data}/Qwen2-7B-Instruct/structure.svg
RENAMED
File without changes
|
static/{figures β models_data}/admin_questionnaire.svg
RENAMED
File without changes
|
static/{figures β models_data}/cardinal.svg
RENAMED
File without changes
|
static/{figures β models_data}/command_r_plus/cfa_metrics.csv
RENAMED
File without changes
|
static/{figures β models_data}/command_r_plus/matrix.svg
RENAMED
File without changes
|
static/{figures β models_data}/command_r_plus/ranks.svg
RENAMED
File without changes
|
static/{figures β models_data}/command_r_plus/structure.svg
RENAMED
File without changes
|
static/{figures β models_data}/dummy/cfa_metrics.csv
RENAMED
File without changes
|
static/{figures β models_data}/dummy/matrix.svg
RENAMED
File without changes
|
static/{figures β models_data}/dummy/ranks.svg
RENAMED
File without changes
|
static/{figures β models_data}/dummy/structure.svg
RENAMED
File without changes
|
static/{figures β models_data}/gpt-3.5-turbo-0125/cfa_metrics.csv
RENAMED
File without changes
|
static/{figures β models_data}/gpt-3.5-turbo-0125/matrix.svg
RENAMED
File without changes
|
static/{figures β models_data}/gpt-3.5-turbo-0125/ranks.svg
RENAMED
File without changes
|
static/{figures β models_data}/gpt-3.5-turbo-0125/structure.svg
RENAMED
File without changes
|
static/{figures β models_data}/gpt-4o-0513/cfa_metrics.csv
RENAMED
File without changes
|
static/{figures β models_data}/gpt-4o-0513/matrix.svg
RENAMED
File without changes
|