fmasterpro27 commited on
Commit
19a592b
·
verified ·
1 Parent(s): 5c7842c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -45
README.md CHANGED
@@ -41,7 +41,6 @@ tags:
41
  - [Quantization Details](#quantization-details)
42
  - [Model Details](#model-details)
43
  - [Requirements](#requirements)
44
- - [Installation & Usage](#installation--usage)
45
  - [Capabilities](#capabilities)
46
  - [Limitations](#limitations)
47
  - [Intended Use](#intended-use)
@@ -112,50 +111,6 @@ This model is part of the **Llama-Nexora family** — a dedicated branch of Nexo
112
 
113
  ---
114
 
115
- ## Installation & Usage
116
-
117
- ### Install MLX
118
-
119
- ```bash
120
- pip install mlx-lm
121
- ```
122
-
123
- ### Run Inference
124
-
125
- ```python
126
- from mlx_lm import load, generate
127
-
128
- model, tokenizer = load("Open4bits/llama-nexora-vector-v0.1-mlx-4Bit")
129
-
130
- prompt = "Generate an SVG of a simple red circle."
131
-
132
- response = generate(model, tokenizer, prompt=prompt, verbose=True)
133
- print(response)
134
- ```
135
-
136
- ### Chat Template (Recommended)
137
-
138
- Since this model is based on an Instruct variant, using the chat template is recommended for best results:
139
-
140
- ```python
141
- from mlx_lm import load, generate
142
-
143
- model, tokenizer = load("Open4bits/llama-nexora-vector-v0.1-mlx-4Bit")
144
-
145
- messages = [
146
- {"role": "user", "content": "Generate an SVG of a simple blue square with rounded corners."}
147
- ]
148
-
149
- prompt = tokenizer.apply_chat_template(
150
- messages, tokenize=False, add_generation_prompt=True
151
- )
152
-
153
- response = generate(model, tokenizer, prompt=prompt, max_tokens=1024, verbose=True)
154
- print(response)
155
- ```
156
-
157
- ---
158
-
159
  ## Capabilities
160
 
161
  llama-nexora-vector-v0.1-mlx-4Bit is designed to translate textual instructions into structured SVG code. The model is best suited for:
 
41
  - [Quantization Details](#quantization-details)
42
  - [Model Details](#model-details)
43
  - [Requirements](#requirements)
 
44
  - [Capabilities](#capabilities)
45
  - [Limitations](#limitations)
46
  - [Intended Use](#intended-use)
 
111
 
112
  ---
113
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  ## Capabilities
115
 
116
  llama-nexora-vector-v0.1-mlx-4Bit is designed to translate textual instructions into structured SVG code. The model is best suited for: