Skip to content

Commit 07f7a28

Browse files
committed
notebook2
1 parent 37835cb commit 07f7a28

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

mistral7b/model_rag_carbon.ipynb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@
141141
}
142142
],
143143
"source": [
144-
"\n",
145-
"#import os\n",
144+
"# import os\n",
146145
"import time\n",
147146
"from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, Settings\n",
148147
"from llama_index.llms.llama_cpp import LlamaCPP\n",
@@ -380,7 +379,7 @@
380379
")\n",
381380
"# --- END MODIFICATION ---\n",
382381
"\n",
383-
"print(\"Query engine is ready (with custom anti-leak prompt).\")\n"
382+
"print(\"Query engine is ready (with custom anti-leak prompt).\")"
384383
]
385384
},
386385
{
@@ -498,7 +497,7 @@
498497
" f\"Total Energy Consumed: {tracker.final_emissions_data.energy_consumed * 1000:.4f} Wh\"\n",
499498
" )\n",
500499
" print(f\"Total CO2 Emitted: {total_emissions_kg * 1000:.4f} gCO2eq\")\n",
501-
" print(\"Full report saved to 'emissions.csv'\")\n"
500+
" print(\"Full report saved to 'emissions.csv'\")"
502501
]
503502
}
504503
],

0 commit comments

Comments
 (0)