{"id":25189908,"url":"https://github.com/naetherm/deepseek_experiments","last_synced_at":"2026-05-04T05:42:54.029Z","repository":{"id":275895166,"uuid":"926613682","full_name":"naetherm/deepseek_experiments","owner":"naetherm","description":"Collection of experiments around Deepseek","archived":false,"fork":false,"pushed_at":"2025-02-06T11:54:49.000Z","size":58,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T11:27:13.854Z","etag":null,"topics":["deepseek","deepseek-r1","document","llm","nlp","nlu","ollama","pdf","qa"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naetherm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-03T15:12:01.000Z","updated_at":"2025-02-09T03:39:10.000Z","dependencies_parsed_at":"2025-02-05T06:30:50.549Z","dependency_job_id":"2370472d-aef7-45f8-83b5-a507a5e51501","html_url":"https://github.com/naetherm/deepseek_experiments","commit_stats":null,"previous_names":["naetherm/deepseek_experiments"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/naetherm/deepseek_experiments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naetherm%2Fdeepseek_experiments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naetherm%2Fdeepseek_experiments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naetherm%2Fdeepseek_experiments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naetherm%2Fdeepseek_experiments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naetherm","download_url":"https://codeload.github.com/naetherm/deepseek_experiments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naetherm%2Fdeepseek_experiments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32596533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deepseek","deepseek-r1","document","llm","nlp","nlu","ollama","pdf","qa"],"created_at":"2025-02-09T21:17:51.245Z","updated_at":"2026-05-04T05:42:54.001Z","avatar_url":"https://github.com/naetherm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deepseek Model Experiments\n\nThis guide explains how to set up and run experiments with the Deepseek language model using Ollama.\n\n**Note**: As this is a personal playground it, and the direction it takes, can shift any time.\n\n## Prerequisites\n\n### Installing Ollama\n1. First, install Ollama by following the official installation guide at [ollama.com](https://ollama.com)\n2. Start the Ollama service:\n```bash\nollama serve\n```\n\n### Setting up Deepseek\nInstall the Deepseek model through Ollama. The default version uses the 7B parameter model:\n```bash\nollama pull deepseek-r1\n```\n\nFor different model sizes, specify the parameter count in the model name. For example, to use the 1.5B parameter variant:\n```bash\nollama pull deepseek-r1:1.5b\n```\n\nTo verify your installation, test the model in the terminal:\n```bash\nollama run deepseek-r1:1.5b\n```\n\n## Environment Setup\n\n### Creating a Virtual Environment\nThis project uses PDM for dependency management. Follow these steps to set up your environment:\n\n```bash\n# Create a new virtual environment\npdm venv create\n\n# Select and activate the virtual environment\npdm use\npdm venv activate\n```\n\n### Installing Dependencies\nInstall all required packages:\n```bash\npdm install\npdm sync\n```\n\n## Running\n\nAs this is highly driven by `streamlit`, a lot of examples are streamlit applications.\nSo, e.g. to start the document-qa example you can now call:\n```bash\npoetry run streamlit run deepseek-experiment/app_document_rag.py\n```\nfor starting the corresponding app. \n\n## Examples\n\n### Document (PDF) QA System\n\n```bash\npoetry run streamlit run deepseek-experiment/app_document_rag.py\n```\n\n### Simple Chatbot\n\n```bash\npoetry run streamlit run deepseek_experiments/app_chat.py\n```\n\n### Chatbot with System Prompt for Python Development\n\n```bash\npoetry run streamlit run deepseek_experiments/app_python_coder.py\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaetherm%2Fdeepseek_experiments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaetherm%2Fdeepseek_experiments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaetherm%2Fdeepseek_experiments/lists"}