{"id":23173406,"url":"https://github.com/ziweek/two-armies-chat-once","last_synced_at":"2026-05-06T19:06:52.120Z","repository":{"id":264184534,"uuid":"892611237","full_name":"ziweek/two-armies-chat-once","owner":"ziweek","description":"💼 Work Project - 🤖🪖 A Korean-English bilingual RAG Chatbot for Regulations of US Army and ROK Army, leveraging a PEFT fine-tuned small LLM with 4-bit quantized integration as the translator","archived":false,"fork":false,"pushed_at":"2024-11-24T10:09:00.000Z","size":33786,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T08:48:40.959Z","etag":null,"topics":["huggingface","langchain","langsmith","llama-cpp","llama3","ollama","quantization","retrieval-augmented-generation","streamlit","transformers"],"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/ziweek.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":"2024-11-22T12:49:20.000Z","updated_at":"2024-11-28T15:55:16.000Z","dependencies_parsed_at":"2024-11-22T21:15:37.336Z","dependency_job_id":null,"html_url":"https://github.com/ziweek/two-armies-chat-once","commit_stats":null,"previous_names":["ziweek/two-armies-chat-once"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziweek%2Ftwo-armies-chat-once","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziweek%2Ftwo-armies-chat-once/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziweek%2Ftwo-armies-chat-once/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziweek%2Ftwo-armies-chat-once/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziweek","download_url":"https://codeload.github.com/ziweek/two-armies-chat-once/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247268062,"owners_count":20911069,"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":["huggingface","langchain","langsmith","llama-cpp","llama3","ollama","quantization","retrieval-augmented-generation","streamlit","transformers"],"created_at":"2024-12-18T05:15:36.022Z","updated_at":"2026-04-15T14:35:24.954Z","avatar_url":"https://github.com/ziweek.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TACO: Two Armies, Chat Once\n\u003cbr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eA Korean-English bilingual RAG Chatbot for Regulations of US and ROK Army\u003c/strong\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/LangChain-1C3C3C?style=flat-square\u0026logo=langchain\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/LangSmith-1C3C3C?style=flat-square\u0026logo=langchain\u0026logoColor=white\"/\u003e\n  \u003cbr/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Ollama-000000?style=flat-square\u0026logo=Ollama\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/ChatGPT-412991?style=flat-square\u0026logo=openai\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Gemini-8E75B2?style=flat-square\u0026logo=googlegemini\u0026logoColor=white\"/\u003e\n  \u003cbr/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/streamlit-FF4B4B?style=flat-square\u0026logo=streamlit\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/FastAPI-009688?style=flat-square\u0026logo=fastapi\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Docker-2496ED?style=flat-square\u0026logo=Docker\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Jenkins-D24939?style=flat-square\u0026logo=jenkins\u0026logoColor=white\"/\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n[demo.webm](https://github.com/user-attachments/assets/6b818b4d-6e78-444d-8fed-a73401ebc6d7)\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eTry below badges\u003c/strong\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  \u003ca href='https://my-dear-pass-usfk.vercel.app/'\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Product-Streamlit-FF4B4B?style=flat-square\u0026logo=streamlit\u0026logoColor=white\"/\u003e\n  \u003c/a\u003e\n  \u003ca href='https://colab.research.google.com/drive/13-VZyx3LiYPRS8aw-AcMSBK0Z4--TF2j?usp=sharing'\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Tutorial-Google%20Colab-F9AB00?style=flat-square\u0026logo=googlecolab\u0026logoColor=white\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n# Introduction\n\nTACO (Two Armies Chat Once) aims to develop a chatbot powered by Retrieval-Augmented Generation (RAG) architecture using LangChain and Streamlit, designed to provide clear and accurate answers in both English and Korean.\n\u003cbr/\u003e\n\u003cdetails open\u003e\n \u003csummary\u003e\u003cb\u003eWhat's KATUSA\u003c/b\u003e\u003c/summary\u003e\n  \nIn South Korea, there is a unique military program known as KATUSA ([Korean Augmentation to the United States Army](https://en.wikipedia.org/wiki/Korean_Augmentation_to_the_United_States_Army)). Although KATUSA soldiers are South Korean citizens, they are assigned to U.S. Army units and operate under U.S. Army command.\n\n\u003c/details\u003e\n\u003cdetails open\u003e\n \u003csummary\u003e\u003cb\u003eWhy do KATUSA soldiers need this?\u003c/b\u003e\u003c/summary\u003e\nDue to the unique structure of KATUSA program, KATUSA soldiers are required to follow both U.S. Army regulations and ROK Army (Republic of Korea Army) regulations. However, these two sets of regulations are sometimes incompatible, leading to confusion about the cultural and procedural differences between the two military systems.\n\u003cbr/\u003e\n\u003c/details\u003e\n\u003cbr/\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n     \u003ctd\u003e\n      \u003ch3 align='center'\u003e\n        Korean-English Bilingual Support\n      \u003c/h3\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd style=\"width:1/2;\"\u003e\n      \u003cimg src=\"./src/image-comparison-translation.png\"/\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\u003cbr/\u003e\n\n# Performance\n\n\n\n# Implementation\n\nTACO (Two Armies Chat Once) aims to develop a chatbot powered by Retrieval-Augmented Generation (RAG) architecture using LangChain and Streamlit, designed to provide clear and accurate answers in both English and Korean.\n\u003cbr/\u003e\n\u003cdetails open\u003e\n \u003csummary\u003e\u003cb\u003e1st Trial \u003e Fail - Used small LLM (llama3.2:1b) for bilingual translation\u003c/b\u003e\u003c/summary\u003e\nIn South Korea, there is a unique military program known as KATUSA ([Korean Augmentation to the United States Army](https://en.wikipedia.org/wiki/Korean_Augmentation_to_the_United_States_Army)). Although KATUSA soldiers are South Korean citizens, they are assigned to U.S. Army units and operate under U.S. Army command.\n\n\u003c/details\u003e\n\u003cdetails open\u003e\n  \u003csummary\u003e\u003cb\u003e2nd Trial \u003e Fail - Used pre-trained LLM (Llama-3-Open-Ko-8B-Q5_K_M) for bilingual translation\u003c/b\u003e\u003c/summary\u003e\nDue to the unique structure of KATUSA program, KATUSA soldiers are required to follow both U.S. Army regulations and ROK Army (Republic of Korea Army) regulations. However, these two sets of regulations are sometimes incompatible, leading to confusion about the cultural and procedural differences between the two military systems.\n\u003cbr/\u003e\n\u003c/details\u003e\n\u003cdetails open\u003e\n \u003csummary\u003e\u003cb\u003eFinal Trial \u003e Sucess - Used fine-tuned LLM (Llama-3-Open-Ko-8B-Q5_K_M) for bilingual translation\u003c/b\u003e\u003c/summary\u003e\nDue to the unique structure of KATUSA program, KATUSA soldiers are required to follow both U.S. Army regulations and ROK Army (Republic of Korea Army) regulations. However, these two sets of regulations are sometimes incompatible, leading to confusion about the cultural and procedural differences between the two military systems.\n\u003cbr/\u003e\n\u003c/details\u003e\n\u003cbr/\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n     \u003ctd\u003e\n      \u003ch3 align='center'\u003e\n        Korean-English bilingual Support\n      \u003c/h3\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd style=\"width:1/2;\"\u003e\n      \u003cimg src=\"./src/image-comparison-translation.png\"/\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\u003cbr/\u003e\n\n\n\u003cbr/\u003e\n\n# Contribution\n\n\u003c!--\nhttps://contrib.rocks/preview?repo=angular%2Fangular-ja\n--\u003e\n\n\u003ca href=\"https://github.com/ziweek/two-armies-chat-once/graphs/contributors\"\u003e\n    \u003cimg src=\"https://contrib.rocks/image?repo=ziweek/two-armies-chat-once\" /\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziweek%2Ftwo-armies-chat-once","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziweek%2Ftwo-armies-chat-once","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziweek%2Ftwo-armies-chat-once/lists"}