{"id":22190946,"url":"https://github.com/yuhexiong/ollama-hugging-face-mistrallite-python","last_synced_at":"2026-05-03T19:34:01.651Z","repository":{"id":248379822,"uuid":"828520988","full_name":"yuhexiong/ollama-hugging-face-mistralLite-python","owner":"yuhexiong","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-20T04:51:39.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T10:56:56.184Z","etag":null,"topics":["huggingface","mistral-7b","natural-language-processing","nlp","ollama"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuhexiong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-07-14T12:04:29.000Z","updated_at":"2024-07-20T04:51:42.000Z","dependencies_parsed_at":"2025-03-24T20:51:33.299Z","dependency_job_id":null,"html_url":"https://github.com/yuhexiong/ollama-hugging-face-mistralLite-python","commit_stats":null,"previous_names":["yuhexiong/ollama-hugging-face-mistrallite-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yuhexiong/ollama-hugging-face-mistralLite-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Follama-hugging-face-mistralLite-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Follama-hugging-face-mistralLite-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Follama-hugging-face-mistralLite-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Follama-hugging-face-mistralLite-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuhexiong","download_url":"https://codeload.github.com/yuhexiong/ollama-hugging-face-mistralLite-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Follama-hugging-face-mistralLite-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32582780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["huggingface","mistral-7b","natural-language-processing","nlp","ollama"],"created_at":"2024-12-02T12:13:31.670Z","updated_at":"2026-05-03T19:34:01.633Z","avatar_url":"https://github.com/yuhexiong.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ollama Hugging Face MistralLite\n\nUsing ollama with custom Model From HuggingFace MistralLite for **traditional chinese chatting**. I run the command in a Colab .ipynb file, but you can choose the environment that suits you.  \n\nHuggingFace MistralLite Model From [Website](https://huggingface.co/TheBloke/MistralLite-7B-GGUF).  \n\n## Overview\n\n- Application: Ollama v0.2.5\n- Model: MistralLite-7B-GGUF mistrallite.Q8_0.gguf\n\n\n## Architecture\n```\nollama-hugging-face-mistralLite-python/\n├── ollama_mistrallite_q8.py\n├── Modelfile\n└── downloads/\n    └── mistrallite.Q8_0.gguf\n```\n\n## Run\n\n### Run Cmd\n```\npython ollama_mistrallite_q8_cmd.py\n```\n\n### Run Python\n```\npython ollama_mistrallite_q8_subprocess.py\n```\n\n\n## Results\n\n### Adding Model Into Ollama\n![image](./images/ollama_list.png)\n\n### Api Example  \n```\n\u003e\u003e 請用繁體中文介紹MistralLite-7B-GGUF \n\u003e\u003e MistralLite-7B-GGUF是一種高效率的翻譯模型，可以將英文文本轉換為繁體中文。它使用了由Hugging Face開發的Transformer架構，並且培訓在大量的英文和繁體中文資料上，使其能夠產生高品質的翻譯結果。\n```\n![image](./images/ollama_api.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuhexiong%2Follama-hugging-face-mistrallite-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuhexiong%2Follama-hugging-face-mistrallite-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuhexiong%2Follama-hugging-face-mistrallite-python/lists"}