Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
# Yi-Coder-9B-Chat GGUF Model
|
5 |
+
|
6 |
+
This repository contains the GGUF version of the Yi-Coder-9B-Chat model. This quantized version allows for efficient inference on a wide range of hardware.
|
7 |
+
|
8 |
+
## Model Description
|
9 |
+
|
10 |
+
Yi-Coder-9B-Chat is a powerful language model specifically designed for coding tasks and chat interactions. This GGUF version maintains the model's capabilities while offering improved performance and reduced resource requirements.
|
11 |
+
|
12 |
+
## Usage
|
13 |
+
|
14 |
+
You can use this model with popular inference frameworks such as [llama.cpp](https://github.com/ggerganov/llama.cpp) or [Ollama](https://github.com/jmorganca/ollama). Below are instructions for using the model with llama.cpp.
|
15 |
+
|
16 |
+
### Using with llama.cpp
|
17 |
+
|
18 |
+
1. Clone and build llama.cpp following their [installation instructions](https://github.com/ggerganov/llama.cpp#build).
|
19 |
+
|
20 |
+
2. Download the GGUF model file from this repository.
|
21 |
+
|
22 |
+
3. Run the model using the following command:
|
23 |
+
|
24 |
+
```bash
|
25 |
+
cd llama.cpp/build_cuda/bin
|
26 |
+
./llama-cli -m /path/to/Yi-Coder-9B-Chat-BF16.gguf -n -1 --color -r "User:" --in-prefix " " -i -e -p "User: Hi"
|
27 |
+
```
|
28 |
+
|
29 |
+
Replace `/path/to/Yi-Coder-9B-Chat-BF16.gguf` with the actual path to the downloaded model file.
|
30 |
+
|
31 |
+
This command starts an interactive session with the model. You can type your prompts after the "User:" prefix.
|
32 |
+
|
33 |
+
### Using with Ollama
|
34 |
+
|
35 |
+
Ollama provides an easy-to-use interface for running large language models. Follow the [Ollama documentation](https://github.com/jmorganca/ollama#getting-started) to set up and use this model.
|
36 |
+
|
37 |
+
## License
|
38 |
+
|
39 |
+
This model is released under the Apache 2.0 License. Please see the LICENSE file in this repository for full details.
|
40 |
+
|
41 |
+
## Acknowledgements
|
42 |
+
|
43 |
+
This model is based on the Yi-Coder-9B-Chat model. We acknowledge the original creators and contributors of the base model.
|
44 |
+
|
45 |
+
## Issues and Contributions
|
46 |
+
|
47 |
+
If you encounter any issues or have suggestions for improvements, please open an issue in this repository. Contributions are welcome!
|
48 |
+
|
49 |
+
---
|
50 |
+
|
51 |
+
Happy coding with Yi-Coder-9B-Chat GGUF!
|