8000 Merge pull request #3 from explodinggradients/fix · explodinggradients/linkedin_ai@917ab58 · GitHub
[go: up one dir, main page]

Skip to content

Commit 917ab58

Browse files
authored
Merge pull request #3 from explodinggradients/fix
added some instructions for mlflow
2 parents 645f37f + 204d2cd commit 917ab58

File tree

2 files changed

+55
-194
lines changed

2 files changed

+55
-194
lines changed

0_example.ipynb

+8-40
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,9 @@
4747
},
4848
{
4949
"cell_type": "code",
50-
"execution_count": 11,
50+
"execution_count": null,
5151
"metadata": {},
52-
"outputs": [
53-
{
54-
"name": "stdout",
55-
"output_type": "stream",
56-
"text": [
57-
"Loaded 437 LinkedIn posts\n",
58-
"BM25 index initialized\n"
59-
]
60-
}
61-
],
52+
"outputs": [],
6253
"source": [
6354
"my_ai = await LinkedinAI.from_bm25(posts=\"data/posts.json\")"
6455
]
@@ -84,24 +75,9 @@
8475
},
8576
{
8677
"cell_type": "code",
87-
"execution_count": 12,
78+
"execution_count": null,
8879
"metadata": {},
89-
"outputs": [
90-
{
91-
"name": "stderr",
92-
"output_type": "stream",
93-
"text": [
94-
"2025/04/17 12:56:45 WARNING mlflow.tracing.processor.mlflow: Creating a trace within the default experiment with id '0'. It is strongly recommended to not use the default experiment to log traces due to ambiguous search results and probable performance issues over time due to directory table listing performance degradation with high volumes of directories within a specific path. To avoid performance and disambiguation issues, set the experiment for your environment using `mlflow.set_experiment()` API.\n"
95-
]
96-
},
97-
{
98-
"name": "stdout",
99-
"output_type": "stream",
100-
"text": [
101-
"Open source AI models, particularly large language models (LLMs), have shown significant potential and have led to a surge in applications since the release of models like Llama-2. Contrary to the predictions of some AI doomers, these open source models have not resulted in catastrophic scenarios. Instead, they have fostered innovation and development in the AI community. This suggests that the idea of open source AI models being more dangerous than closed ones is not supported by the evidence we've seen so far.\n"
102-
]
103-
}
104-
],
80+
"outputs": [],
10581
"source": [
10682
"response = await my_ai.ask(\"What are your thoughts on OSS LLMs?\")\n",
10783
"\n",
@@ -117,17 +93,9 @@
11793
},
11894
{
11995
"cell_type": "code",
120-
"execution_count": 13,
96+
"execution_count": null,
12197
"metadata": {},
122-
"outputs": [
123-
{
124-
"name": "stdout",
125-
"output_type": "stream",
126-
"text": [
127-
"Closed source LLMs have their place, but it's important to recognize the benefits that open source models bring to the table. Since the release of Llama-2, we've seen an explosion of applications built on open source LLMs without any of the catastrophic scenarios predicted by AI doomers. Open source models foster innovation and collaboration, allowing for a broader range of applications and advancements. While closed source models can offer certain advantages, such as proprietary enhancements and potentially more controlled environments, the open source approach has proven to be a powerful driver of progress in the AI field.\n"
128-
]
129-
}
130-
],
98+
"outputs": [],
13199
"source": [
132100
"response = await my_ai.ask(\"What are your thoughts on closed source LLMs?\")\n",
133101
"\n",
@@ -151,7 +119,7 @@
151119
],
152120
"metadata": {
153121
"kernelspec": {
154-
"display_name": "superme",
122+
"display_name": ".venv",
155123
"language": "python",
156124
"name": "python3"
157125
},
@@ -165,7 +133,7 @@
165133
"name": "python",
166134
"nbconvert_exporter": "python",
167135
"pygments_lexer": "ipython3",
168-
"version": "3.11.11"
136+
"version": "3.12.8"
169137
}
170138
},
171139
"nbformat": 4,

0 commit comments

Comments
 (0)
0