Text Generation
PEFT
Safetensors
Transformers
lora
research-prototype
failed-promotion
not-ready-for-deployment
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 training/run.json from minagayid/ELLM: direct link, hf CLI and curl.
- Browser
- Download file 2.43 kB
-
https://huggingface.co/minagayid/ELLM/resolve/main/training/run.json
- Command line
-
hf download hf://minagayid/ELLM/training/run.json
-
curl -L -o run.json https://huggingface.co/minagayid/ELLM/resolve/main/training/run.json
2.43 kB
| { | |
| "run": "ellm-synthetic-triage-lora-v1", | |
| "base_model_id": "HuggingFaceTB/SmolLM2-135M-Instruct", | |
| "base_model_revision": "12fd25f77366fa6b3b4b768ec3050bf629380bac", | |
| "base_model_license": "Apache-2.0", | |
| "dataset_manifest": { | |
| "dataset": "ELLM synthetic evidence-triage v1", | |
| "source": "procedurally generated; no third-party or web text", | |
| "reference_policy": "outputs/ELLM/training/synthetic_data.py::policy_label", | |
| "seed": 20260928, | |
| "splits": { | |
| "train": { | |
| "rows": 2048, | |
| "rows_per_label": 512, | |
| "seed": 20260928, | |
| "sha256": "12bbe9279e86fc98efd7608bf5a265bf500db275c27ec3488b76e098f0b8cf7e" | |
| }, | |
| "dev": { | |
| "rows": 128, | |
| "rows_per_label": 32, | |
| "seed": 20260929, | |
| "sha256": "af76f9505a65c37ab2105faa2e91e3e32a53d51bc488cec11225d63385165d17" | |
| }, | |
| "test": { | |
| "rows": 256, | |
| "rows_per_label": 64, | |
| "seed": 20260930, | |
| "sha256": "368610851ddc35a34a667604c173f59228c710f6887a6276f1682ddbbabcf777" | |
| } | |
| }, | |
| "labels": [ | |
| "RELEASE", | |
| "WAIT", | |
| "ABSTAIN", | |
| "HUMAN_REVIEW" | |
| ], | |
| "limitations": "Closed synthetic task only; not a factuality or real-world safety benchmark." | |
| }, | |
| "dataset_manifest_sha256": "7dc914ae61818ba5e00f226d78f369d327e94f1a9bca2950656f91a56c17bfb2", | |
| "training_seed": 20260928, | |
| "epochs": 2, | |
| "micro_batch_size": 2, | |
| "gradient_accumulation_steps": 8, | |
| "learning_rate": 0.0002, | |
| "max_sequence_length": 512, | |
| "lora": { | |
| "rank": 8, | |
| "alpha": 16, | |
| "dropout": 0.05, | |
| "target_modules": [ | |
| "q_proj", | |
| "k_proj", | |
| "v_proj", | |
| "o_proj" | |
| ] | |
| }, | |
| "train_rows": 2048, | |
| "dev_rows": 128, | |
| "trainable_parameters": 921600, | |
| "train_loss_by_epoch": [ | |
| 0.4471045474638231, | |
| 0.30880446128867334 | |
| ], | |
| "dev_loss": 0.3093639914877713, | |
| "device": "NVIDIA GeForce RTX 5060 Laptop GPU", | |
| "dtype": "torch.bfloat16", | |
| "torch_version": "2.11.0+cu128", | |
| "transformers_version": "5.17.0", | |
| "peft_version": "0.21.0", | |
| "python_version": "3.11.15 (main, Jun 23 2026, 15:20:37) [MSC v.1944 64 bit (AMD64)]", | |
| "elapsed_seconds": 876.75, | |
| "adapter_sha256": "ec9f6f62997e1c1cac15b7de64b2c4a3c8bdee76e326d3687c6f37941ef437f1", | |
| "scope_limit": "Synthetic policy-label adaptation only; not web knowledge, factuality, or real-world safety training." | |
| } | |