mattritchey commited on
Commit
49f84e9
·
verified ·
1 Parent(s): 63c814f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +100 -0
README.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: tr
3
+ license: mit
4
+ tags:
5
+ - turkish
6
+ - türkiye
7
+ - english
8
+ - ai
9
+ - lamapi
10
+ - gemma3
11
+ - next
12
+ - next-x1
13
+ - efficient
14
+ - text-generation
15
+ - open-source
16
+ - 1b
17
+ - 270m
18
+ - finetune
19
+ - gguf
20
+ - huggingface
21
+ - large-language-model
22
+ - llm
23
+ - causal
24
+ - transformer
25
+ - artificial-intelligence
26
+ - machine-learning
27
+ - ai-research
28
+ - natural-language-processing
29
+ - nlp
30
+ - finetuned
31
+ - lightweight
32
+ - creative
33
+ - summarization
34
+ - question-answering
35
+ - chat-model
36
+ - generative-ai
37
+ - optimized-model
38
+ - unsloth
39
+ - trl
40
+ - sft
41
+ - chemistry
42
+ - biology
43
+ - finance
44
+ - legal
45
+ - music
46
+ - art
47
+ - code
48
+ - climate
49
+ - medical
50
+ - agent
51
+ - text-generation-inference
52
+ - llama-cpp
53
+ - gguf-my-repo
54
+ pipeline_tag: text-generation
55
+ base_model: Lamapi/next-270m
56
+ ---
57
+
58
+ # mattritchey/next-270m-Q4_K_M-GGUF
59
+ This model was converted to GGUF format from [`Lamapi/next-270m`](https://huggingface.co/Lamapi/next-270m) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
60
+ Refer to the [original model card](https://huggingface.co/Lamapi/next-270m) for more details on the model.
61
+
62
+ ## Use with llama.cpp
63
+ Install llama.cpp through brew (works on Mac and Linux)
64
+
65
+ ```bash
66
+ brew install llama.cpp
67
+
68
+ ```
69
+ Invoke the llama.cpp server or the CLI.
70
+
71
+ ### CLI:
72
+ ```bash
73
+ llama-cli --hf-repo mattritchey/next-270m-Q4_K_M-GGUF --hf-file next-270m-q4_k_m.gguf -p "The meaning to life and the universe is"
74
+ ```
75
+
76
+ ### Server:
77
+ ```bash
78
+ llama-server --hf-repo mattritchey/next-270m-Q4_K_M-GGUF --hf-file next-270m-q4_k_m.gguf -c 2048
79
+ ```
80
+
81
+ 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.
82
+
83
+ Step 1: Clone llama.cpp from GitHub.
84
+ ```
85
+ git clone https://github.com/ggerganov/llama.cpp
86
+ ```
87
+
88
+ 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).
89
+ ```
90
+ cd llama.cpp && LLAMA_CURL=1 make
91
+ ```
92
+
93
+ Step 3: Run inference through the main binary.
94
+ ```
95
+ ./llama-cli --hf-repo mattritchey/next-270m-Q4_K_M-GGUF --hf-file next-270m-q4_k_m.gguf -p "The meaning to life and the universe is"
96
+ ```
97
+ or
98
+ ```
99
+ ./llama-server --hf-repo mattritchey/next-270m-Q4_K_M-GGUF --hf-file next-270m-q4_k_m.gguf -c 2048
100
+ ```