NickMystic commited on
Commit
81eda95
·
verified ·
1 Parent(s): c3883ba

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ library_name: transformers
5
+ pipeline_tag: text-generation
6
+ license: apache-2.0
7
+ base_model: Tesslate/WEBGEN-4B-Preview
8
+ tags:
9
+ - web-generation
10
+ - html
11
+ - css
12
+ - tailwind-css
13
+ - ui-generation
14
+ - web-design
15
+ - small-model
16
+ - qwen3
17
+ - transformers
18
+ - mlx
19
+ - mlx-my-repo
20
+ ---
21
+
22
+ # NickMystic/WEBGEN-4B-Preview-mlx-6Bit
23
+
24
+ The Model [NickMystic/WEBGEN-4B-Preview-mlx-6Bit](https://huggingface.co/NickMystic/WEBGEN-4B-Preview-mlx-6Bit) was converted to MLX format from [Tesslate/WEBGEN-4B-Preview](https://huggingface.co/Tesslate/WEBGEN-4B-Preview) using mlx-lm version **0.26.4**.
25
+
26
+ ## Use with mlx
27
+
28
+ ```bash
29
+ pip install mlx-lm
30
+ ```
31
+
32
+ ```python
33
+ from mlx_lm import load, generate
34
+
35
+ model, tokenizer = load("NickMystic/WEBGEN-4B-Preview-mlx-6Bit")
36
+
37
+ prompt="hello"
38
+
39
+ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
40
+ messages = [{"role": "user", "content": prompt}]
41
+ prompt = tokenizer.apply_chat_template(
42
+ messages, tokenize=False, add_generation_prompt=True
43
+ )
44
+
45
+ response = generate(model, tokenizer, prompt=prompt, verbose=True)
46
+ ```