mattritchey commited on
Commit
ebbc98a
·
verified ·
1 Parent(s): ebd53ff

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +143 -0
README.md ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - tr
4
+ - ar
5
+ - af
6
+ - az
7
+ - es
8
+ - en
9
+ - el
10
+ - ro
11
+ - ru
12
+ - rm
13
+ - th
14
+ - uk
15
+ - uz
16
+ - pl
17
+ - pt
18
+ - fa
19
+ - sk
20
+ - sl
21
+ - da
22
+ - de
23
+ - nl
24
+ - fr
25
+ - fi
26
+ - ka
27
+ - hi
28
+ - hu
29
+ - hy
30
+ - ja
31
+ - kk
32
+ - kn
33
+ - ko
34
+ - ku
35
+ - ky
36
+ - la
37
+ - lb
38
+ - id
39
+ - is
40
+ - it
41
+ - zh
42
+ - cs
43
+ - vi
44
+ - be
45
+ - bg
46
+ - bs
47
+ - ne
48
+ - mn
49
+ license: mit
50
+ tags:
51
+ - turkish
52
+ - türkiye
53
+ - english
54
+ - ai
55
+ - lamapi
56
+ - gemma3
57
+ - next
58
+ - next-x1
59
+ - efficient
60
+ - text-generation
61
+ - open-source
62
+ - 1b
63
+ - huggingface
64
+ - large-language-model
65
+ - llm
66
+ - causal
67
+ - transformer
68
+ - artificial-intelligence
69
+ - machine-learning
70
+ - ai-research
71
+ - natural-language-processing
72
+ - nlp
73
+ - finetuned
74
+ - lightweight
75
+ - creative
76
+ - summarization
77
+ - question-answering
78
+ - chat-model
79
+ - generative-ai
80
+ - optimized-model
81
+ - unsloth
82
+ - trl
83
+ - sft
84
+ - chemistry
85
+ - biology
86
+ - finance
87
+ - legal
88
+ - music
89
+ - art
90
+ - code
91
+ - climate
92
+ - medical
93
+ - agent
94
+ - text-generation-inference
95
+ - llama-cpp
96
+ - gguf-my-repo
97
+ pipeline_tag: text-generation
98
+ base_model: Lamapi/next-1b
99
+ ---
100
+
101
+ # mattritchey/next-1b-Q4_K_M-GGUF
102
+ This model was converted to GGUF format from [`Lamapi/next-1b`](https://huggingface.co/Lamapi/next-1b) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
103
+ Refer to the [original model card](https://huggingface.co/Lamapi/next-1b) for more details on the model.
104
+
105
+ ## Use with llama.cpp
106
+ Install llama.cpp through brew (works on Mac and Linux)
107
+
108
+ ```bash
109
+ brew install llama.cpp
110
+
111
+ ```
112
+ Invoke the llama.cpp server or the CLI.
113
+
114
+ ### CLI:
115
+ ```bash
116
+ llama-cli --hf-repo mattritchey/next-1b-Q4_K_M-GGUF --hf-file next-1b-q4_k_m.gguf -p "The meaning to life and the universe is"
117
+ ```
118
+
119
+ ### Server:
120
+ ```bash
121
+ llama-server --hf-repo mattritchey/next-1b-Q4_K_M-GGUF --hf-file next-1b-q4_k_m.gguf -c 2048
122
+ ```
123
+
124
+ 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.
125
+
126
+ Step 1: Clone llama.cpp from GitHub.
127
+ ```
128
+ git clone https://github.com/ggerganov/llama.cpp
129
+ ```
130
+
131
+ 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).
132
+ ```
133
+ cd llama.cpp && LLAMA_CURL=1 make
134
+ ```
135
+
136
+ Step 3: Run inference through the main binary.
137
+ ```
138
+ ./llama-cli --hf-repo mattritchey/next-1b-Q4_K_M-GGUF --hf-file next-1b-q4_k_m.gguf -p "The meaning to life and the universe is"
139
+ ```
140
+ or
141
+ ```
142
+ ./llama-server --hf-repo mattritchey/next-1b-Q4_K_M-GGUF --hf-file next-1b-q4_k_m.gguf -c 2048
143
+ ```