Lamapi commited on
Commit
0139160
·
verified ·
1 Parent(s): 8db7c23

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +117 -0
README.md ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ datasets:
56
+ - mlabonne/FineTome-100k
57
+ - ITCL/FineTomeOs
58
+ - Gryphe/ChatGPT-4o-Writing-Prompts
59
+ - dongguanting/ARPO-SFT-54K
60
+ - GreenerPastures/All-Your-Base-Full
61
+ - Gryphe/Opus-WritingPrompts
62
+ - HuggingFaceH4/MATH-500
63
+ - mlabonne/smoltalk-flat
64
+ - mlabonne/natural_reasoning-formatted
65
+ - OpenSPG/KAG-Thinker-training-dataset
66
+ - uclanlp/Brief-Pro
67
+ - CognitiveKernel/CognitiveKernel-Pro-SFT
68
+ - SuperbEmphasis/Claude-4.0-DeepSeek-R1-RP-SFWish
69
+ - QuixiAI/dolphin-r1
70
+ - mlabonne/lmsys-arena-human-sft-55k
71
+ library_name: transformers
72
+ base_model: Lamapi/next-270m
73
+ ---
74
+
75
+ # Lamapi/next-270m-Q4_K_M-GGUF
76
+ 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.
77
+ Refer to the [original model card](https://huggingface.co/Lamapi/next-270m) for more details on the model.
78
+
79
+ ## Use with llama.cpp
80
+ Install llama.cpp through brew (works on Mac and Linux)
81
+
82
+ ```bash
83
+ brew install llama.cpp
84
+
85
+ ```
86
+ Invoke the llama.cpp server or the CLI.
87
+
88
+ ### CLI:
89
+ ```bash
90
+ llama-cli --hf-repo Lamapi/next-270m-Q4_K_M-GGUF --hf-file next-270m-q4_k_m.gguf -p "The meaning to life and the universe is"
91
+ ```
92
+
93
+ ### Server:
94
+ ```bash
95
+ llama-server --hf-repo Lamapi/next-270m-Q4_K_M-GGUF --hf-file next-270m-q4_k_m.gguf -c 2048
96
+ ```
97
+
98
+ 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.
99
+
100
+ Step 1: Clone llama.cpp from GitHub.
101
+ ```
102
+ git clone https://github.com/ggerganov/llama.cpp
103
+ ```
104
+
105
+ 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).
106
+ ```
107
+ cd llama.cpp && LLAMA_CURL=1 make
108
+ ```
109
+
110
+ Step 3: Run inference through the main binary.
111
+ ```
112
+ ./llama-cli --hf-repo Lamapi/next-270m-Q4_K_M-GGUF --hf-file next-270m-q4_k_m.gguf -p "The meaning to life and the universe is"
113
+ ```
114
+ or
115
+ ```
116
+ ./llama-server --hf-repo Lamapi/next-270m-Q4_K_M-GGUF --hf-file next-270m-q4_k_m.gguf -c 2048
117
+ ```