FLaME / manual_integration.md
mokamoto's picture
tables and figures
227ea73

Manual Integration Instructions

Since we're having issues with shell scripts due to line ending compatibility, here's how to manually integrate the tables:

1. First, create a backup of your original results.html file

cp /mnt/c/Users/mikad/Documents/GitHub/Evals/results.html /mnt/c/Users/mikad/Documents/GitHub/Evals/results.html.backup

2. Integrating Text Classification Table

  1. Open the results.html file in a text editor
  2. Find the section <div id="text-classification" class="tab-content">
  3. Replace everything from this line until the next </div> that closes this section with the content of text_classification_table.html

3. Integrating Text Summarization Table

  1. Find the section <div id="text-summarization" class="tab-content">
  2. Replace everything from this line until the next </div> that closes this section with the content of text_summarization_table.html

4. Adding Sentiment Analysis Table

  1. Find the section <div id="question-answering" class="tab-content">
  2. Find the closing </div> for this section (should be after the question answering table)
  3. Insert the content of sentiment_analysis_table.html right after this closing div

5. Viewing the Results

After making these changes, save the file and open it in a web browser to verify all tables are displaying correctly.

Alternative: Manual Copy/Paste Method

If you have access to a graphical text editor (like VS Code, Notepad++, etc.):

  1. Open all files in the editor:

    • results.html
    • text_classification_table.html
    • text_summarization_table.html
    • sentiment_analysis_table.html
  2. Copy the content from each table file and paste it into the appropriate section of results.html, replacing the placeholder content or adding it after the question-answering section.