From ede9b1f4f318d2aacf4d3860ddef311e4916e7dc Mon Sep 17 00:00:00 2001 From: wehub-resource-sync Date: Mon, 13 Jul 2026 10:43:54 +0000 Subject: [PATCH] docs: make Chinese README the default --- README.md | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 455c812..a0d2b8d 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,29 @@ + +> [!NOTE] +> 本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。 +> [English](./README.en.md) · [原始项目](https://github.com/ggml-org/ggml) · [上游 README](https://github.com/ggml-org/ggml/blob/HEAD/README.md) +> 原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。 + # ggml [Manifesto](https://github.com/ggerganov/llama.cpp/discussions/205) -Tensor library for machine learning +面向机器学习的张量库 -***Note that this project is under active development. \ -Some of the development is currently happening in the [llama.cpp](https://github.com/ggerganov/llama.cpp) and [whisper.cpp](https://github.com/ggerganov/whisper.cpp) repos*** +***请注意,本项目正在积极开发中。 \ +部分开发工作目前在 [llama.cpp](https://github.com/ggerganov/llama.cpp) 和 [whisper.cpp](https://github.com/ggerganov/whisper.cpp) 仓库中进行*** -## Features +## 特性 -- Low-level cross-platform implementation -- Integer quantization support -- Broad hardware support -- Automatic differentiation -- ADAM and L-BFGS optimizers -- No third-party dependencies -- Zero memory allocations during runtime +- 低层级跨平台实现 +- 整数量化支持 +- 广泛的硬件支持 +- 自动微分(Automatic differentiation) +- ADAM 和 L-BFGS 优化器 +- 无第三方依赖 +- 运行时零内存分配 -## Build +## 构建 ```bash git clone https://github.com/ggml-org/ggml @@ -34,7 +40,7 @@ cmake .. cmake --build . --config Release -j 8 ``` -## GPT inference (example) +## GPT 推理(示例) ```bash # run the GPT-2 small 117M model @@ -42,9 +48,9 @@ cmake --build . --config Release -j 8 ./bin/gpt-2-backend -m models/gpt-2-117M/ggml-model.bin -p "This is an example" ``` -For more information, checkout the corresponding programs in the [examples](examples) folder. +更多信息请参阅 [examples](examples) 文件夹中的相应示例程序。 -## Resources +## 资源 -- [Introduction to ggml](https://huggingface.co/blog/introduction-to-ggml) -- [The GGUF file format](https://github.com/ggerganov/ggml/blob/master/docs/gguf.md) +- [ggml 简介](https://huggingface.co/blog/introduction-to-ggml) +- [GGUF 文件格式](https://github.com/ggerganov/ggml/blob/master/docs/gguf.md)