{"id":13422957,"url":"https://github.com/tensorchord/modelz-ChatGLM","last_synced_at":"2025-03-15T13:30:22.621Z","repository":{"id":143220633,"uuid":"615148864","full_name":"tensorchord/modelz-ChatGLM","owner":"tensorchord","description":"Deploy ChatGLM on Modelz","archived":false,"fork":false,"pushed_at":"2023-03-20T04:36:22.000Z","size":9,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T08:06:23.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/tensorchord.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}},"created_at":"2023-03-17T03:46:11.000Z","updated_at":"2024-02-29T04:59:03.000Z","dependencies_parsed_at":"2023-05-29T11:00:38.240Z","dependency_job_id":null,"html_url":"https://github.com/tensorchord/modelz-ChatGLM","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":"tensorchord/modelz-template-gradio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fmodelz-ChatGLM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fmodelz-ChatGLM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fmodelz-ChatGLM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fmodelz-ChatGLM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tensorchord","download_url":"https://codeload.github.com/tensorchord/modelz-ChatGLM/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243735736,"owners_count":20339518,"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":[],"created_at":"2024-07-30T23:01:00.637Z","updated_at":"2025-03-15T13:30:22.236Z","avatar_url":"https://github.com/tensorchord.png","language":"Dockerfile","funding_links":[],"categories":["[THUDM/ChatGLM-6B](https://github.com/THUDM/ChatGLM-6B)"],"sub_categories":["Other LLaMA-derived projects:"],"readme":"# Modelz ChatGLM\n\n[ChatGLM](https://github.com/THUDM/ChatGLM-6B) is a large-scale pre-trained language model for open-domain chatbot, which is open-sourced by Tsinghua University.\n\nThis repository contains the code (Dockerfile, [`build.envd`](https://envd.tensorchord.ai/guide/getting-started.html)) for deploying ChatGLM on [Modelz](https://docs.modelz.ai/).\n\n## Getting Started\n\nThis is a template for creating a [Gradio](https://gradio.app/) app on [Modelz](https://modelz.ai/).\n\nBuilding an Gradio app could be straightforward. You will need to provide three key components:\n\n- A `main.py` file: This file contains the code for making predictions.\n- A `requirements.txt` file: This file lists all the dependencies required for the server code to run.\n- A `Dockerfile` or a simpler [`build.envd`](https://envd.tensorchord.ai/guide/getting-started.html): This file contains instructions for building a Docker image that encapsulates the server code and its dependencies.\n\n## Build\n\nIn the `Dockerfile`, you need to define the instructions for building a Docker image that encapsulates the server code and its dependencies.\n\nIn most cases, you could use the template in the repository.\n\n```bash\ndocker build -t docker.io/USER/IMAGE .\ndocker push docker.io/USER/IMAGE\n```\n\nOn the other hand, a [`build.envd`](https://envd.tensorchord.ai/guide/getting-started.html) is a simplified alternative to a Dockerfile. It provides python-based interfaces that contains configuration settings for building a image. \n\nIt is easier to use than a Dockerfile as it involves specifying only the dependencies of your machine learning model, not the instructions for CUDA, conda, and other system-level dependencies.\n\n```bash\nenvd build --output type=image,name=docker.io/USER/IMAGE,push=true\n```\n\n## Deploy\n\nPlease refer to the [Modelz documentation](https://docs.modelz.ai/gettingstarted/deploy) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorchord%2Fmodelz-ChatGLM","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftensorchord%2Fmodelz-ChatGLM","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorchord%2Fmodelz-ChatGLM/lists"}