{"id":15064248,"url":"https://github.com/yas-sim/openvino_genai_sample_codes","last_synced_at":"2025-04-10T11:51:17.939Z","repository":{"id":255991651,"uuid":"854064434","full_name":"yas-sim/openvino_genai_sample_codes","owner":"yas-sim","description":"OpenVINO.genai sample codes with a helper class that supports vLLM-like iterator-based streaming output.","archived":false,"fork":false,"pushed_at":"2024-09-09T08:24:23.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T10:38:54.551Z","etag":null,"topics":["chatbot","chatgpt","edge-ai","inference","intel","llm","openvino","python","vllm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yas-sim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-09-08T10:09:08.000Z","updated_at":"2024-11-04T03:06:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"65ffd7ae-9753-4eb9-8778-3ff6477a71a2","html_url":"https://github.com/yas-sim/openvino_genai_sample_codes","commit_stats":null,"previous_names":["yas-sim/openvino_genai_sample_codes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yas-sim%2Fopenvino_genai_sample_codes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yas-sim%2Fopenvino_genai_sample_codes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yas-sim%2Fopenvino_genai_sample_codes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yas-sim%2Fopenvino_genai_sample_codes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yas-sim","download_url":"https://codeload.github.com/yas-sim/openvino_genai_sample_codes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248215192,"owners_count":21066619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["chatbot","chatgpt","edge-ai","inference","intel","llm","openvino","python","vllm"],"created_at":"2024-09-25T00:14:10.874Z","updated_at":"2025-04-10T11:51:17.933Z","avatar_url":"https://github.com/yas-sim.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenVINO.genai simple sample codes  \r\n\r\n|#|File name|Description|\r\n|---|---|---|\r\n|1|openvino_gengi_simple.py|Most simple LLM Q\u0026A sample code|\r\n|2|openvino_genai_simple_streaming.py|Simple LLM Q\u0026A sample code. Streaming output enabled.|\r\n|3|openvino_genai_streamer_test.py|Simple LLM Q\u0026A sample code with vLLM-like iterator-based streaming output enabled.|\r\n\r\n## Model preparation\r\n\r\nThe sample programs above requires LLM model to run.  \r\nYou can prepare the LLM model in OpenVINO IR format with `optimum-cli` command in the `optimum-intel` PyPI package.  \r\nYou can download the `TinyLlama-1.1B` model with following command.  \r\n\r\n```sh\r\npip install optimum-intel\r\noptimum-cli export openvino --model \"TinyLlama/TinyLlama-1.1B-Chat-v1.0\" --trust-remote-code \"TinyLlama-1.1B-Chat-v1.0\"\r\n```\r\nPlease refer to the original [OpenVINO.genai GitHub repo](https://github.com/openvinotoolkit/openvino.genai) for further details.  \r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyas-sim%2Fopenvino_genai_sample_codes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyas-sim%2Fopenvino_genai_sample_codes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyas-sim%2Fopenvino_genai_sample_codes/lists"}