Mintzs commited on
Commit
86abbb2
·
verified ·
1 Parent(s): 22776cd

main: model card links to Sparset/thinklite-27B

Browse files
Files changed (1) hide show
  1. README.md +12 -12
README.md CHANGED
@@ -54,15 +54,15 @@ Pick the branch (Hugging Face calls it a *revision*) wherever you load the model
54
  - **Download with the CLI:**
55
 
56
  ```bash
57
- hf download Mintzs/thinklite-27B --revision low --local-dir Thinklite-27B-Low
58
- hf download Mintzs/thinklite-27B --revision max --local-dir Thinklite-27B-Max
59
- hf download Mintzs/thinklite-27B --local-dir Thinklite-27B-High # main
60
  ```
61
 
62
- - **Python:** `snapshot_download("Mintzs/thinklite-27B", revision="low")`, or pass `revision="low"` / `revision="max"` to any
63
  `from_pretrained(...)` call.
64
  - **vLLM:** add `--revision low` or `--revision max` to `vllm serve` (examples under Usage).
65
- - **Git:** `git clone -b low https://huggingface.co/Mintzs/thinklite-27B` (requires `git lfs`).
66
 
67
  Without a revision you always get `main`, which is Thinklite-27B High.
68
 
@@ -165,16 +165,16 @@ times are shown relative to the base model timed in that run (same speedup, comm
165
  **vLLM**
166
 
167
  ```bash
168
- vllm serve Mintzs/thinklite-27B --max-model-len 135168 --kv-cache-dtype fp8 # Thinklite-27B High
169
- vllm serve Mintzs/thinklite-27B --revision low --max-model-len 135168 --kv-cache-dtype fp8 # Thinklite-27B Low
170
- vllm serve Mintzs/thinklite-27B --revision max --max-model-len 135168 --kv-cache-dtype fp8 # Thinklite-27B Max
171
  ```
172
 
173
  ```python
174
  from openai import OpenAI
175
  client = OpenAI(base_url="http://localhost:8000/v1", api_key="-")
176
  reply = client.chat.completions.create(
177
- model="Mintzs/thinklite-27B",
178
  messages=[{"role": "user", "content": "How many primes are there below 100?"}],
179
  extra_body={"chat_template_kwargs": {"reasoning_effort": "low"}},
180
  )
@@ -185,8 +185,8 @@ print(reply.choices[0].message.content)
185
 
186
  ```python
187
  from transformers import AutoModelForImageTextToText, AutoProcessor
188
- model = AutoModelForImageTextToText.from_pretrained("Mintzs/thinklite-27B", revision="main", dtype="auto", device_map="auto")
189
- processor = AutoProcessor.from_pretrained("Mintzs/thinklite-27B", revision="main")
190
  ```
191
 
192
  Use `revision="low"` or `revision="max"` for the other versions.
@@ -194,7 +194,7 @@ Use `revision="low"` or `revision="max"` for the other versions.
194
  **llama.cpp (Thinklite-27B High, GGUF)**
195
 
196
  ```bash
197
- llama-server -hf Mintzs/thinklite-27B:Q4_K_M --jinja -c 32768 --chat-template-kwargs '{"reasoning_effort": "low"}'
198
  # or with local files:
199
  llama-server -m Thinklite-27B-High-Q4_K_M.gguf --mmproj mmproj-Thinklite-27B-High-F16.gguf --jinja -c 32768
200
  ```
 
54
  - **Download with the CLI:**
55
 
56
  ```bash
57
+ hf download Sparset/thinklite-27B --revision low --local-dir Thinklite-27B-Low
58
+ hf download Sparset/thinklite-27B --revision max --local-dir Thinklite-27B-Max
59
+ hf download Sparset/thinklite-27B --local-dir Thinklite-27B-High # main
60
  ```
61
 
62
+ - **Python:** `snapshot_download("Sparset/thinklite-27B", revision="low")`, or pass `revision="low"` / `revision="max"` to any
63
  `from_pretrained(...)` call.
64
  - **vLLM:** add `--revision low` or `--revision max` to `vllm serve` (examples under Usage).
65
+ - **Git:** `git clone -b low https://huggingface.co/Sparset/thinklite-27B` (requires `git lfs`).
66
 
67
  Without a revision you always get `main`, which is Thinklite-27B High.
68
 
 
165
  **vLLM**
166
 
167
  ```bash
168
+ vllm serve Sparset/thinklite-27B --max-model-len 135168 --kv-cache-dtype fp8 # Thinklite-27B High
169
+ vllm serve Sparset/thinklite-27B --revision low --max-model-len 135168 --kv-cache-dtype fp8 # Thinklite-27B Low
170
+ vllm serve Sparset/thinklite-27B --revision max --max-model-len 135168 --kv-cache-dtype fp8 # Thinklite-27B Max
171
  ```
172
 
173
  ```python
174
  from openai import OpenAI
175
  client = OpenAI(base_url="http://localhost:8000/v1", api_key="-")
176
  reply = client.chat.completions.create(
177
+ model="Sparset/thinklite-27B",
178
  messages=[{"role": "user", "content": "How many primes are there below 100?"}],
179
  extra_body={"chat_template_kwargs": {"reasoning_effort": "low"}},
180
  )
 
185
 
186
  ```python
187
  from transformers import AutoModelForImageTextToText, AutoProcessor
188
+ model = AutoModelForImageTextToText.from_pretrained("Sparset/thinklite-27B", revision="main", dtype="auto", device_map="auto")
189
+ processor = AutoProcessor.from_pretrained("Sparset/thinklite-27B", revision="main")
190
  ```
191
 
192
  Use `revision="low"` or `revision="max"` for the other versions.
 
194
  **llama.cpp (Thinklite-27B High, GGUF)**
195
 
196
  ```bash
197
+ llama-server -hf Sparset/thinklite-27B:Q4_K_M --jinja -c 32768 --chat-template-kwargs '{"reasoning_effort": "low"}'
198
  # or with local files:
199
  llama-server -m Thinklite-27B-High-Q4_K_M.gguf --mmproj mmproj-Thinklite-27B-High-F16.gguf --jinja -c 32768
200
  ```