Instructions to use minagayid/ELLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use minagayid/ELLM with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolLM2-135M-Instruct") model = PeftModel.from_pretrained(base_model, "minagayid/ELLM") - Transformers
How to use minagayid/ELLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="minagayid/ELLM")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("minagayid/ELLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use minagayid/ELLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "minagayid/ELLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "minagayid/ELLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/minagayid/ELLM
- SGLang
How to use minagayid/ELLM 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 "minagayid/ELLM" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "minagayid/ELLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "minagayid/ELLM" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "minagayid/ELLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use minagayid/ELLM with Docker Model Runner:
docker model run hf.co/minagayid/ELLM
Download docs/evaluation.md from minagayid/ELLM: direct link, hf CLI and curl.
- Browser
- Download file 3.65 kB
-
https://huggingface.co/minagayid/ELLM/resolve/main/docs/evaluation.md
- Command line
-
hf download hf://minagayid/ELLM/docs/evaluation.md
-
curl -L -o evaluation.md https://huggingface.co/minagayid/ELLM/resolve/main/docs/evaluation.md
ELLM candidate evaluation — failed promotion
Decision: do not promote or deploy this adapter. On its fixed, 256-row synthetic test set, the adapter predicted RELEASE for 241 rows, including 177 of the 192 rows whose expected label was not RELEASE. Its unsupported RELEASE rate on non-release examples was 92.2%. The adapter is a reproducible research artifact, not a safe or useful release classifier.
What was evaluated
- Base model:
HuggingFaceTB/SmolLM2-135M-Instruct, revision12fd25f77366fa6b3b4b768ec3050bf629380bac. - Candidate: the base model plus this repository's LoRA adapter.
- Test set: 256 procedurally generated, balanced examples (64 per label), held out from training and development. SHA-256:
368610851ddc35a34a667604c173f59228c710f6887a6276f1682ddbbabcf777. - Decoding: greedy, at most 8 generated tokens. Full counts and per-class scores are in
results.json; training provenance is in../training/run.json. - Labels:
RELEASE,WAIT,ABSTAIN,HUMAN_REVIEW. “Unsupported release” here means the generated label wasRELEASEwhen the synthetic expected label was something else. This is a benchmark error rate, not an estimate of real-world incident frequency.
Results
| Measure | Base only | Base + adapter |
|---|---|---|
| Exact label accuracy | 0/256 (0.0%) | 79/256 (30.9%) |
| Macro-F1 | 0.000 | 0.200 |
| Invalid labels | 256/256 | 0/256 |
Unsupported RELEASE among non-release rows |
0/192 (0.0%); base emitted no valid labels | 177/192 (92.2%) |
Eligible RELEASE cases missed |
64/64 (100%) | 0/64 (0%) |
Rows labeled RELEASE |
0/256 | 241/256 (94.1%) |
| Median / p95 generation latency | 517 / 755 ms | 561 / 907 ms |
The base comparison is not a working baseline: it produced no valid labels. The adapter fixed output formatting but collapsed WAIT, ABSTAIN, and most HUMAN_REVIEW cases into RELEASE. The higher eligible-release recall therefore does not indicate improvement in safe decision quality. Its class recalls were 0% for WAIT, 0% for ABSTAIN, 23.4% for HUMAN_REVIEW, and 100% for RELEASE.
Promotion decision and limitations
The candidate fails the core task on this test and is rejected for promotion. Keep it disabled for operational decisions. The deterministic MaturationGate is separate from the learned advisor and must remain the final gate; model text or labels alone must never authorize release or action. There is no action executor in this package. A separate policy smoke test exercises gate branches, but it does not redeem the learned adapter's failed benchmark.
This is one synthetic, closed-world test of four policy labels. It does not evaluate factuality, source authenticity, web retrieval, the proposed incubation period, multilingual or Arabic quality, prompt injection, distribution shift, or real-world safety. The procedural labels reflect the included code and are not independent expert annotations. No claim of readiness, autonomous learning, or broad internet knowledge is supported.
Re-evaluation requirements
Do not tune on or replace the reported test set and then report it as held out. Before a new candidate is evaluated, create an independently authored and reviewed dataset, freeze it before training, specify class-wise error and coverage limits in advance, and test against adversarial and shifted cases. Preserve this failed run and its result for comparison. Promotion requires a newly frozen evaluation to pass every predeclared safety criterion; elapsed time or lower training loss is not evidence of readiness.