Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,36 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: yi.java
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: 01-ai/Yi-Coder-9B-Chat
|
5 |
+
pipeline_tag: text-generation
|
6 |
+
quantized_by: mukel
|
7 |
+
tags:
|
8 |
+
- java
|
9 |
+
- yi
|
10 |
+
- llama3.java
|
11 |
+
- yi.java
|
12 |
+
- code
|
13 |
+
---
|
14 |
+
|
15 |
+
# GGUF models for yi.java
|
16 |
+
Pure .gguf `Q4_0` and `Q8_0` quantizations of 01.ai Yi models, ready to consume by [yi.java](https://github.com/mukel/yi.java).
|
17 |
+
|
18 |
+
In the wild, `Q8_0` quantizations are fine, but `Q4_0` quantizations are rarely pure e.g. the `output.weights` tensor is quantized with `Q6_K`, instead of `Q4_0`.
|
19 |
+
A pure `Q4_0` quantization can be generated from a high precision (F32, F16, BFLOAT16) .gguf source with the `llama-quantize` utility from llama.cpp as follows:
|
20 |
+
|
21 |
+
```
|
22 |
+
./llama-quantize --pure ./Yi-Coder-9B-Chat-F32.gguf ./Yi-Coder-9B-Chat-Q4_0.gguf Q4_0
|
23 |
+
```
|
24 |
+
|
25 |
+
# Intro
|
26 |
+
|
27 |
+
Yi-Coder is a series of open-source code language models that delivers state-of-the-art coding performance with fewer than 10 billion parameters.
|
28 |
+
|
29 |
+
Key features:
|
30 |
+
- Excelling in long-context understanding with a maximum context length of 128K tokens.
|
31 |
+
- Supporting 52 major programming languages:
|
32 |
+
```bash
|
33 |
+
'java', 'markdown', 'python', 'php', 'javascript', 'c++', 'c#', 'c', 'typescript', 'html', 'go', 'java_server_pages', 'dart', 'objective-c', 'kotlin', 'tex', 'swift', 'ruby', 'sql', 'rust', 'css', 'yaml', 'matlab', 'lua', 'json', 'shell', 'visual_basic', 'scala', 'rmarkdown', 'pascal', 'fortran', 'haskell', 'assembly', 'perl', 'julia', 'cmake', 'groovy', 'ocaml', 'powershell', 'elixir', 'clojure', 'makefile', 'coffeescript', 'erlang', 'lisp', 'toml', 'batchfile', 'cobol', 'dockerfile', 'r', 'prolog', 'verilog'
|
34 |
+
```
|
35 |
+
|
36 |
+
For model details and benchmarks, see [Yi-Coder blog](https://01-ai.github.io/) and [Yi-Coder README](https://github.com/01-ai/Yi-Coder).
|