nvhf commited on
Commit
2963c25
1 Parent(s): bd66096

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +81 -0
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: grammarly/coedit-large
3
+ datasets:
4
+ - facebook/asset
5
+ - wi_locness
6
+ - GEM/wiki_auto_asset_turk
7
+ - discofuse
8
+ - zaemyung/IteraTeR_plus
9
+ - jfleg
10
+ - grammarly/coedit
11
+ language:
12
+ - en
13
+ license: cc-by-nc-4.0
14
+ metrics:
15
+ - sari
16
+ - bleu
17
+ - accuracy
18
+ tags:
19
+ - llama-cpp
20
+ - gguf-my-repo
21
+ widget:
22
+ - text: 'Fix the grammar: When I grow up, I start to understand what he said is quite
23
+ right.'
24
+ example_title: Fluency
25
+ - text: 'Make this text coherent: Their flight is weak. They run quickly through the
26
+ tree canopy.'
27
+ example_title: Coherence
28
+ - text: 'Rewrite to make this easier to understand: A storm surge is what forecasters
29
+ consider a hurricane''s most treacherous aspect.'
30
+ example_title: Simplification
31
+ - text: 'Paraphrase this: Do you know where I was born?'
32
+ example_title: Paraphrase
33
+ - text: 'Write this more formally: omg i love that song im listening to it right now'
34
+ example_title: Formalize
35
+ - text: 'Write in a more neutral way: The authors'' exposé on nutrition studies.'
36
+ example_title: Neutralize
37
+ ---
38
+
39
+ # nvhf/coedit-large-Q6_K-GGUF
40
+ This model was converted to GGUF format from [`grammarly/coedit-large`](https://huggingface.co/grammarly/coedit-large) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
41
+ Refer to the [original model card](https://huggingface.co/grammarly/coedit-large) for more details on the model.
42
+
43
+ ## Use with llama.cpp
44
+ Install llama.cpp through brew (works on Mac and Linux)
45
+
46
+ ```bash
47
+ brew install llama.cpp
48
+
49
+ ```
50
+ Invoke the llama.cpp server or the CLI.
51
+
52
+ ### CLI:
53
+ ```bash
54
+ llama-cli --hf-repo nvhf/coedit-large-Q6_K-GGUF --hf-file coedit-large-q6_k.gguf -p "The meaning to life and the universe is"
55
+ ```
56
+
57
+ ### Server:
58
+ ```bash
59
+ llama-server --hf-repo nvhf/coedit-large-Q6_K-GGUF --hf-file coedit-large-q6_k.gguf -c 2048
60
+ ```
61
+
62
+ 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.
63
+
64
+ Step 1: Clone llama.cpp from GitHub.
65
+ ```
66
+ git clone https://github.com/ggerganov/llama.cpp
67
+ ```
68
+
69
+ Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
70
+ ```
71
+ cd llama.cpp && LLAMA_CURL=1 make
72
+ ```
73
+
74
+ Step 3: Run inference through the main binary.
75
+ ```
76
+ ./llama-cli --hf-repo nvhf/coedit-large-Q6_K-GGUF --hf-file coedit-large-q6_k.gguf -p "The meaning to life and the universe is"
77
+ ```
78
+ or
79
+ ```
80
+ ./llama-server --hf-repo nvhf/coedit-large-Q6_K-GGUF --hf-file coedit-large-q6_k.gguf -c 2048
81
+ ```