{"id":31640111,"url":"https://github.com/butanium/chat_templates_tools","last_synced_at":"2025-10-07T02:09:51.947Z","repository":{"id":315649887,"uuid":"1024269531","full_name":"Butanium/chat_templates_tools","owner":"Butanium","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-19T19:57:20.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-19T22:04:20.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Butanium.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-22T12:44:15.000Z","updated_at":"2025-09-19T19:57:24.000Z","dependencies_parsed_at":"2025-09-19T22:04:29.620Z","dependency_job_id":"3a390cf0-e279-4e14-9f23-355257adeeb4","html_url":"https://github.com/Butanium/chat_templates_tools","commit_stats":null,"previous_names":["butanium/chat_templates_tools"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Butanium/chat_templates_tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Fchat_templates_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Fchat_templates_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Fchat_templates_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Fchat_templates_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Butanium","download_url":"https://codeload.github.com/Butanium/chat_templates_tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Fchat_templates_tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708004,"owners_count":26031932,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":[],"created_at":"2025-10-07T02:09:21.312Z","updated_at":"2025-10-07T02:09:51.939Z","avatar_url":"https://github.com/Butanium.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Features\ntodo, but `tokenization_utils.py` was initially created for gemma 2 only, so there are some functions with very generic docs but that will actually only work for gemma 2. I need to fix this :)\n\n## Templates\nThe `templates` folder contains the following templates:\n- `{model_name}_chat_template.jinja`: Chat template for `model_name` with assistant mask implemented.\n- `{model_name}_chat_template_ctrl_tokens.jinja`: Chat template for `model_name` where assistant mask returns 1 for the template tokens.\n- `{model_name}_force_thinking.jinja`: Chat template for `model_name`, where `enable_thinking=True` in `tokenizer.apply_chat_template` force the model to think.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutanium%2Fchat_templates_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbutanium%2Fchat_templates_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutanium%2Fchat_templates_tools/lists"}