Forwarded from 🛑 Iranian Experts 🛑 (𝓓𝓪𝓻𝓲𝓾𝓼𝓱 𝓣𝓪𝓼𝓭𝓲𝓰𝓱𝓲)
🟢 نکته: این مطلب، صرفا مناسب برنامهنویسان میباشد!
✔️ ابتدا وارد سایت ذیل شده:
https://ollama.com
با توجه به سیستمعاملی که داریم، برنامه Ollama را دانلود و نصب میکنیم.
✔️ برای راهاندازی سرویس Ollama:
ollama start
[OR]
ollama serve
✔️ برای مشاهده نسخه نصب شده برنامه Ollama، میتوانیم از دستور ذیل، استفاده نماییم:
ollama -v
[OR]
ollama --version
✔️ برای مشاهده همه Model هایی که بر روی رایانه ما دانلود شده است:
ollama list
✔️ برای دانلود Model، از دستور ذیل استفاده میکنیم (مدلهای معروف):
ollama pull llama3.2 => Default: 3b
ollama pull llama3.2:3b
ollama pull llama3.2:1b
ollama pull llama3.1 => Default: 8b
ollama pull llama3.1:8b
ollama pull llama3.1:70b
🟢 نکته: با استفاده از دستور فوق، در صورتی که Update ای از Model وجود داشته باشد، Model مورد نظر، Download شده و با Model قبلی، Replace میشود.
✔️ برای مشاهده اطلاعات Model دانلود شده، از دستور ذیل استفاده مینماییم:
ollama show llama3.2
✔️ برای اجرای Model، از دستور ذیل استفاده میکنیم:
ollama run llama3.2
🟢 نکته: با اجرای دستور فوق، میتوانیم سوال (Prompt) خودمان را وارد نماییم، تا Model، پاسخ دهد.
🟢 نکته: با اجرای دستور فوق، در صورتی که Model مورد نظر وجود نداشته باشد، ابتدا Model، دانلود (Pull) میشود و سپس اجرا میشود.
✔️ با اجرای دستور ذیل، Model مورد نظر از رایانه حذف میشود:
ollama rm llama3.2
✔️ نشانی سرویس Ollama:
http://127.0.0.1:11434
✔️ منابع:
https://ollama.com/library
https://github.com/ollama/ollama
https://github.com/ollama/ollama/blob/main/docs/api.md
#AI #Ollama
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
Ollama
Get up and running with large language models.
❤11👍5
Forwarded from 🛑 Iranian Experts 🛑 (𝓓𝓪𝓻𝓲𝓾𝓼𝓱 𝓣𝓪𝓼𝓭𝓲𝓰𝓱𝓲)
Media is too big
VIEW IN TELEGRAM
https://t.me/IranianExperts/935
#AI #Ollama
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤12👍6
Forwarded from 🛑 Iranian Experts 🛑 (𝓓𝓪𝓻𝓲𝓾𝓼𝓱 𝓣𝓪𝓼𝓭𝓲𝓰𝓱𝓲)
Media is too big
VIEW IN TELEGRAM
Llama3.2-Vision
https://t.me/IranianExperts/935
https://t.me/IranianExperts/936
متاسفانه هنوز منتشر نشده است!
#AI #Ollama #Llama_Vision #Cyber_Security
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤12👍7
Forwarded from 🛑 Iranian Experts 🛑 (𝓓𝓪𝓻𝓲𝓾𝓼𝓱 𝓣𝓪𝓼𝓭𝓲𝓰𝓱𝓲)
Media is too big
VIEW IN TELEGRAM
〰️ دانلود مدلهای سانسور نشده!
〰️ معرفی و آموزش یک مخزن مدل دیگر، برای دانلود مدلهایی که در سایت Ollama وجود ندارند!
https://t.me/IranianExperts/935
https://t.me/IranianExperts/936
#AI #Ollama #HuggingFace #Uncensored
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤13👍8
Forwarded from 🛑 Iranian Experts 🛑 (𝓓𝓪𝓻𝓲𝓾𝓼𝓱 𝓣𝓪𝓼𝓭𝓲𝓰𝓱𝓲)
Please open Telegram to view this post
VIEW IN TELEGRAM
❤12👍3