You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"A conceptual demo notebook to illustrate the workflow and output of the Mistral model, even if it doesn't run on Colab Free Tier."
11
+
]
12
+
},
13
+
{
14
+
"cell_type": "markdown",
15
+
"metadata": {
16
+
"id": "b4ba0b88"
17
+
},
18
+
"source": [
19
+
"## 📄 Description\n",
20
+
"This notebook showcases the typical flow of using Mistral v0.3 (7B) for conversational tasks. While the model is too large for Google Colab Free Tier, this version visually explains what the code would do.\n"
21
+
]
22
+
},
23
+
{
24
+
"cell_type": "markdown",
25
+
"source": [
26
+
"[](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/Mistral_v0.3_Conversational_Demo.ipynb)\n"
27
+
],
28
+
"metadata": {
29
+
"id": "yzXURvxIlIDD"
30
+
}
31
+
},
32
+
{
33
+
"cell_type": "markdown",
34
+
"source": [
35
+
"# 📦 Dependencies"
36
+
],
37
+
"metadata": {
38
+
"id": "IUQSTocQk7ml"
39
+
}
40
+
},
41
+
{
42
+
"cell_type": "code",
43
+
"execution_count": null,
44
+
"metadata": {
45
+
"id": "6f2afc57"
46
+
},
47
+
"outputs": [],
48
+
"source": [
49
+
"\n",
50
+
"!pip install transformers accelerate torch\n"
51
+
]
52
+
},
53
+
{
54
+
"cell_type": "markdown",
55
+
"metadata": {
56
+
"id": "9d5dad27"
57
+
},
58
+
"source": [
59
+
"## 🛠 Tools Used\n",
60
+
"- 🤗 Transformers: For loading the model and tokenizer.\n",
61
+
"- PyTorch: For model inference.\n",
62
+
"- Accelerate: To manage device placement (CPU/GPU).\n"
0 commit comments