Instructions to use cstr/Phoenix-laser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cstr/Phoenix-laser with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cstr/Phoenix-laser") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("cstr/Phoenix-laser") model = AutoModelForCausalLM.from_pretrained("cstr/Phoenix-laser", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cstr/Phoenix-laser with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cstr/Phoenix-laser" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cstr/Phoenix-laser", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cstr/Phoenix-laser
- SGLang
How to use cstr/Phoenix-laser with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "cstr/Phoenix-laser" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cstr/Phoenix-laser", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "cstr/Phoenix-laser" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cstr/Phoenix-laser", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cstr/Phoenix-laser with Docker Model Runner:
docker model run hf.co/cstr/Phoenix-laser
docs: add model card — base model, licence, Art. 53 provenance
Browse files
README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: DRXD1000/Phoenix-7B
|
| 4 |
+
base_model_relation: finetune
|
| 5 |
+
library_name: transformers
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- laserRMT
|
| 9 |
+
- mistral
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Phoenix-laser
|
| 13 |
+
|
| 14 |
+
A **LaserRMT modification** of [`DRXD1000/Phoenix-7B`](https://huggingface.co/DRXD1000/Phoenix-7B).
|
| 15 |
+
|
| 16 |
+
LaserRMT (layer-selective rank reduction) alters the base model's existing
|
| 17 |
+
weight matrices. It is *not* a format conversion and *not* a quantisation: the
|
| 18 |
+
weights differ from the base in substance, not merely in numeric
|
| 19 |
+
representation.
|
| 20 |
+
|
| 21 |
+
Note: this repository the base was published as `DRXD1000/Phoenix` and has since been renamed `DRXD1000/Phoenix-7B`.
|
| 22 |
+
|
| 23 |
+
| | |
|
| 24 |
+
|---|---|
|
| 25 |
+
| Base model | [`DRXD1000/Phoenix-7B`](https://huggingface.co/DRXD1000/Phoenix-7B) |
|
| 26 |
+
| Licence | `apache-2.0`, inherited from the base |
|
| 27 |
+
| Architecture | MistralForCausalLM, 32 layers (unchanged from the base) |
|
| 28 |
+
| Modification | LaserRMT layer-selective rank reduction |
|
| 29 |
+
|
| 30 |
+
## Provenance and EU AI Act Art. 53 note
|
| 31 |
+
|
| 32 |
+
This card was written on 2026-08-02. The repository had carried **no model card
|
| 33 |
+
at all** since it was created on 2024-03-18 — modified weights published with no
|
| 34 |
+
attribution to the model they were derived from. That is the gap this card
|
| 35 |
+
closes, and it is worth stating plainly rather than quietly backfilling.
|
| 36 |
+
|
| 37 |
+
The base model above was not guessed from the repository name. It is recorded
|
| 38 |
+
in this repo's own `config.json` as `_name_or_path`, and the licence is the one
|
| 39 |
+
the base declares on the Hub as of 2026-08-02.
|
| 40 |
+
|
| 41 |
+
**Provider status.** Most `cstr/*` repositories are format conversions, where
|
| 42 |
+
the upstream research team remains the provider of the model under Regulation
|
| 43 |
+
(EU) 2024/1689 and the conversion changes only the numeric representation. **This
|
| 44 |
+
repository is not one of those.** Modifying weights places a new model on the
|
| 45 |
+
market, so the obligations that survive the Art. 53(2) free-and-open-source
|
| 46 |
+
exemption — Art. 53(1)(c) and 53(1)(d) — attach here.
|
| 47 |
+
|
| 48 |
+
**Art. 53(1)(c) — copyright policy.** This repository does not introduce any
|
| 49 |
+
training corpus of its own, so no text or data mining was carried out here and
|
| 50 |
+
no rights reservations under Art. 4(3) of Directive (EU) 2019/790 were engaged
|
| 51 |
+
by this step. The modification operates on weights already published by the base
|
| 52 |
+
model's authors under `apache-2.0`. Where the base model's own training raises
|
| 53 |
+
copyright questions, those attach to the base model's provider, whose
|
| 54 |
+
documentation is linked above. Any credible claim that this repository
|
| 55 |
+
redistributes material it has no right to redistribute will be acted on —
|
| 56 |
+
contact via the Community tab.
|
| 57 |
+
|
| 58 |
+
**Art. 53(1)(d) — training content.** No additional training corpus was
|
| 59 |
+
introduced by this repository. The model's training content is that of
|
| 60 |
+
[`DRXD1000/Phoenix-7B`](https://huggingface.co/DRXD1000/Phoenix-7B), and its documentation is the summary
|
| 61 |
+
that applies. This repository does not restate it, because restating training
|
| 62 |
+
data documentation second-hand is how inaccurate provenance claims propagate.
|
| 63 |
+
|
| 64 |
+
**Known limitation.** The precise LaserRMT configuration used in 2024 — which
|
| 65 |
+
layers were reduced, and to what rank — is not recorded in this repository. It
|
| 66 |
+
is not reconstructible from the weights alone with confidence, and it is not
|
| 67 |
+
asserted here rather than being guessed at.
|