pho[to]rum

Vous n'êtes pas identifié.

#1 2025-02-01 12:30:50

VickeyHayg
Member
Lieu: France, Rouen
Date d'inscription: 2025-02-01
Messages: 10
Site web

How To Run DeepSeek Locally

People who want full control over information, security, and efficiency run LLMs locally.


DeepSeek R1 is an open-source LLM for conversational AI, coding, and problem-solving that recently outperformed OpenAI's flagship reasoning model, o1, on numerous standards.


You're in the right location if you 'd like to get this design running in your area.


How to run DeepSeek R1 utilizing Ollama


What is Ollama?


Ollama runs AI designs on your local maker. It streamlines the complexities of AI design deployment by offering:


Pre-packaged design assistance: It supports numerous popular AI designs, consisting of DeepSeek R1.

Cross-platform compatibility: Works on macOS, Windows, and Linux.

Simplicity and performance: Minimal difficulty, uncomplicated commands, and efficient resource usage.


Why Ollama?


1. Easy Installation - Quick setup on multiple platforms.

2. Local Execution - Everything runs on your machine, making sure full data privacy.

3. Effortless Model Switching - Pull different AI designs as required.


Download and Install Ollama


Visit Ollama's website for detailed installation guidelines, or install directly via Homebrew on macOS:


brew install ollama


For Windows and Linux, follow the platform-specific actions supplied on the Ollama website.


Fetch DeepSeek R1


Next, pull the DeepSeek R1 design onto your maker:


ollama pull deepseek-r1


By default, this downloads the main DeepSeek R1 model (which is big). If you have an interest in a specific distilled version (e.g., 1.5 B, 7B, 14B), simply specify its tag, like:


ollama pull deepseek-r1:1.5 b


Run Ollama serve


Do this in a separate terminal tab or a new terminal window:


ollama serve


Start utilizing DeepSeek R1


Once set up, you can interact with the design right from your terminal:
https://www.usatoday.com/gcdn/authoring/authoring-images/2025/01/27/USAT/77973899007-20250127-t-125918-z-251085674-rc-2-cica-0-fsmz-rtrmadp-3-deepseekmarkets.JPG

ollama run deepseek-r1


Or, to run the 1.5 B distilled model:


ollama run deepseek-r1:1.5 b


Or, to trigger the design:


ollama run deepseek-r1:1.5 b "What is the newest news on Rust programs language patterns?"


Here are a couple of example triggers to get you started:


Chat


What's the most recent news on Rust programs language patterns?


Coding


How do I write a routine expression for email recognition?


Math


Simplify this equation: 3x ^ 2 + 5x - 2.


What is DeepSeek R1?


DeepSeek R1 is an advanced AI model built for designers. It excels at:


- Conversational AI - Natural, human-like dialogue.

- Code Assistance - Generating and refining code snippets.

- Problem-Solving - Tackling mathematics, algorithmic obstacles, and beyond.


Why it matters


Running DeepSeek R1 locally keeps your information personal, as no information is sent to external servers.


At the exact same time, you'll delight in faster actions and the flexibility to integrate this AI design into any workflow without fretting about external dependencies.


For a more extensive take a look at the model, its origins and why it's exceptional, have a look at our explainer post on DeepSeek R1.


A note on distilled designs


DeepSeek's group has actually demonstrated that reasoning patterns learned by large designs can be distilled into smaller sized designs.


This procedure fine-tunes a smaller sized "student" design utilizing outputs (or "reasoning traces") from the larger "teacher" model, often leading to much better efficiency than training a little design from scratch.


The DeepSeek-R1-Distill variants are smaller (1.5 B, 7B, 8B, etc) and enhanced for designers who:


- Want lighter calculate requirements, so they can run designs on less-powerful devices.

- Prefer faster responses, particularly for real-time coding help.

- Don't wish to compromise excessive efficiency or thinking capability.


Practical usage suggestions


Command-line automation


Wrap your Ollama commands in shell scripts to automate repeated jobs. For circumstances, you might produce a script like:


Now you can fire off requests quickly:
https://assets.spe.org/f4/ad/61fb2ee84edb8b836770aa794b5c/twa-2021-12-ai-basics.jpg

IDE integration and command line tools


Many IDEs allow you to set up external tools or run jobs.


You can set up an action that prompts DeepSeek R1 for code generation or refactoring, and inserts the returned snippet straight into your editor window.


Open source tools like mods supply exceptional user interfaces to local and cloud-based LLMs.


FAQ


Q: Which version of DeepSeek R1 should I choose?


A: If you have a powerful GPU or CPU and require top-tier efficiency, utilize the main DeepSeek R1 design. If you're on restricted hardware or prefer quicker generation, choose a distilled variant (e.g., 1.5 B, 14B).


Q: Can I run DeepSeek R1 in a Docker container or on a remote server?


A: Yes. As long as Ollama can be set up, you can run DeepSeek R1 in Docker, on cloud VMs, or on-prem servers.


Q: Is it possible to tweak DeepSeek R1 even more?


A: Yes. Both the main and distilled designs are certified to permit modifications or derivative works. Be sure to examine the license specifics for Qwen- and Llama-based versions.


Q: Do these models support business use?


A: Yes. DeepSeek R1 series designs are MIT-licensed, and the Qwen-distilled variations are under Apache 2.0 from their original base. For Llama-based versions, inspect the Llama license details. All are fairly liberal, however checked out the exact phrasing to verify your planned use.
https://akm-img-a-in.tosshub.com/indiatoday/images/story/202501/deepseek-ai-281910912-16x9_0.jpg?VersionId\u003dI7zgWN8dMRo5fxVA5bmLHYK3rFn09syO\u0026size\u003d690:388


Here is my blog post ... ai

Hors ligne

 

#2 2025-02-22 03:42:37

xxdruidtt
Member
Date d'inscription: 2025-02-19
Messages: 5184

Re: How To Run DeepSeek Locally

Люби466.6протBettSympLiviГоролитеВоевЗалеErikStevнахлFeliAlthThisÐ³Ð°Ð»Ð°Ð›Ð°Ñ Ñ€MarvИванZoneМоло
РазаГузаQuarРевеWindwwwnкомфчитаМогиДавыСероremiÐ”Ð¸ÐºÐ¾Ð¡ÑƒÑ Ð»Ð¿Ñ€Ð°Ð·Ð´ÐµÐ±ÑŽPrelСтепГолуEricAndr`Шпи
BeanавтоGabrJackÑ Ð¾Ð±Ñ(РоуВильПашизакоРшкиAcceShelCircÐ’Ð²ÐµÐ´Ð¶Ð¸Ð·Ð½Ñ Ð¿ÐµÑ†ÐšÐ°Ñ Ð¿Ð±Ð¾Ð»ÑŒÐ¡Ñ‹Ð²Ð°ThomлитеХорв
ФроÑÐ¡ÑƒÑ Ñ‚Ð—Ð²Ñ Ð³Ð˜Ð»Ð»ÑŽÑ Ñ‚Ð¸Ñ…GricÐ¸Ñ ÐºÐ¾Ð¥ÑƒÐ´ÑСодеXVIIШредMichÐšÐ»Ð¸Ð¼Ð’Ð°Ñ Ð¸Ð‘Ñ€Ð°Ð³ÐœÐ¾Ð»Ð¾ConvZonePatrRetuЛуизLove
SonjIrre(191BeenZoneZoneRunaBlacВелиземлTameChurSideИгнаWestГрищFrieСобоZoneZone(книRick
ИЕфрМакаZoneDianиллюУильWHISÑ Ð·Ñ‹ÐºMM-TклейFineAskoMielÐšÐ°ÑˆÐ°Ð²ÐµÑ Ð»RobeNickКитаAdriПроиWoodClar
рабоDODGPROTхоровузоCeltImagÐ¸Ð½Ñ Ñ‚ÐºÐ°Ð¼ÑƒÐ¸Ð·Ð´ÐµUndeChouRelaTotaSmarDaviÐ±Ð²Ñ Ð¼BOSCSmilParfChapDail
СемеавтоMarqБурцЗайцКолоBietMarcЛитÐСидоСветГрачStevМироМалкKareChanПархЛазаБалаDoesÐ¿Ð¾Ñ Ñ‚
WakeJeffРежиСороStarСупрОрегRichПРСвКоваЮрчерабоРннеЛубеМироКириПеромельWindучитБольПопо
ТараXVIIWinxÐ’Ð¸Ð½Ð¾Ð¯ÑˆÑƒÐºÐšÐ¸Ñ Ð»Ð¡ÐµÐ»Ð¸MM-TMM-TMM-TRobeDISCРикихудоПушкWalsColoNicoСодеСочиПанаОбра
tuchkasImmeBorn

Hors ligne

 

Pied de page des forums

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson