MoMonir commited on
Commit
1302bbc
1 Parent(s): 4fe8681

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +62 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: codegeex4
4
+ license_link: https://huggingface.co/THUDM/codegeex4-all-9b/blob/main/LICENSE
5
+ language:
6
+ - zh
7
+ - en
8
+ tags:
9
+ - glm
10
+ - codegeex
11
+ - thudm
12
+ inference: false
13
+ pipeline_tag: text-generation
14
+ base_model: THUDM/codegeex4-all-9b
15
+ ---
16
+ # MoMonir/codegeex4-all-9b-GGUF
17
+ This model was converted to GGUF format from [`THUDM/codegeex4-all-9b`](https://huggingface.co/THUDM/codegeex4-all-9b) using llama.cpp.
18
+ Refer to the [original model card](https://huggingface.co/THUDM/codegeex4-all-9b) for more details on the model.
19
+
20
+
21
+ <!-- README_GGUF.md-about-gguf start -->
22
+ ### About GGUF ([TheBloke](https://huggingface.co/TheBloke) Description)
23
+
24
+ GGUF is a new format introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp.
25
+
26
+ Here is an incomplete list of clients and libraries that are known to support GGUF:
27
+
28
+ * [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option.
29
+ * [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most widely used web UI, with many features and powerful extensions. Supports GPU acceleration.
30
+ * [KoboldCpp](https://github.com/LostRuins/koboldcpp), a fully featured web UI, with GPU accel across all platforms and GPU architectures. Especially good for story telling.
31
+ * [GPT4All](https://gpt4all.io/index.html), a free and open source local running GUI, supporting Windows, Linux and macOS with full GPU accel.
32
+ * [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows and macOS (Silicon), with GPU acceleration. Linux available, in beta as of 27/11/2023.
33
+ * [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), a great web UI with many interesting and unique features, including a full model library for easy model selection.
34
+ * [backyard.ai](https://backyard.ai/) (Formeraly [Faraday.dev](https://faraday.dev/)), an attractive and easy to use character-based chat GUI for Windows and macOS (both Silicon and Intel), with GPU acceleration.
35
+ * [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
36
+ * [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
37
+ * [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server. Note, as of time of writing (November 27th 2023), ctransformers has not been updated in a long time and does not support many recent models.
38
+
39
+ <!-- README_GGUF.md-about-gguf end -->
40
+
41
+
42
+ ## Use with llama.cpp
43
+ Install llama.cpp through brew.
44
+ ```bash
45
+ brew install ggerganov/ggerganov/llama.cpp
46
+ ```
47
+ Invoke the llama.cpp server or the CLI.
48
+ CLI:
49
+ ```bash
50
+ llama-cli --hf-repo MoMonir/codegeex4-all-9b-GGUF --model codegeex4-all-9b.Q4_K_M.gguf -p "The meaning to life and the universe is"
51
+ ```
52
+ Server:
53
+ ```bash
54
+ llama-server --hf-repo MoMonir/codegeex4-all-9b-GGUF --model codegeex4-all-9b.Q4_K_M.gguf -c 2048
55
+ ```
56
+ Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
57
+ ```
58
+ git clone https://github.com/ggerganov/llama.cpp && \
59
+ cd llama.cpp && \
60
+ make && \
61
+ ./main -m codegeex4-all-9b.Q4_K_M.gguf -n 128
62
+ ```