nufikq commited on
Commit
20266a7
·
verified ·
1 Parent(s): 8287d11

Add model card

Browse files
Files changed (1) hide show
  1. README.md +36 -0
README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - llama
5
+ - gguf
6
+ - quantized
7
+ library_name: transformers
8
+ ---
9
+
10
+ # TinyLlama PHP Fine-tuned GGUF
11
+
12
+ This is a GGUF conversion of the TinyLlama model fine-tuned for PHP code generation.
13
+
14
+ ## Model Details
15
+ - **Base Model**: TinyLlama
16
+ - **Fine-tuned for**: PHP code generation
17
+ - **Format**: GGUF (quantized to q4_0)
18
+ - **Use with**: llama.cpp, Ollama, or other GGUF-compatible inference engines
19
+
20
+ ## Usage
21
+
22
+ ### With llama.cpp:
23
+ ```bash
24
+ ./main -m model.gguf -p "Write a PHP function to"
25
+ ```
26
+
27
+ ### With Ollama:
28
+ 1. Create a Modelfile:
29
+ ```
30
+ FROM ./model.gguf
31
+ ```
32
+ 2. Create the model:
33
+ ```bash
34
+ ollama create tinyllama-php -f Modelfile
35
+ ollama run tinyllama-php
36
+ ```