Instructions to use Likithp/v9_fixed_s42 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Likithp/v9_fixed_s42 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Likithp/v9_fixed_s42") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("Likithp/v9_fixed_s42") model = AutoModelForMultimodalLM.from_pretrained("Likithp/v9_fixed_s42") 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 Likithp/v9_fixed_s42 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Likithp/v9_fixed_s42" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Likithp/v9_fixed_s42", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Likithp/v9_fixed_s42
- SGLang
How to use Likithp/v9_fixed_s42 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 "Likithp/v9_fixed_s42" \ --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": "Likithp/v9_fixed_s42", "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 "Likithp/v9_fixed_s42" \ --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": "Likithp/v9_fixed_s42", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Likithp/v9_fixed_s42 with Docker Model Runner:
docker model run hf.co/Likithp/v9_fixed_s42
| { | |
| "mode": "fixed", | |
| "seed": 42, | |
| "hf_repo": "Likithp/v9_fixed_s42", | |
| "base_model": "Qwen/Qwen2.5-0.5B-Instruct", | |
| "dataset": "data/cs9_fixed_v1", | |
| "hf_dataset": "Likithp/cs9_fixed_v1", | |
| "trained_at": "2026-06-04T08:38:13.346803+00:00", | |
| "optimizer": "AdamW", | |
| "lr": 3e-05, | |
| "weight_decay": 0.0, | |
| "batch_size": 8, | |
| "grad_accum": 8, | |
| "effective_batch": 64, | |
| "epochs": 5, | |
| "warmup_steps": 200, | |
| "grad_clip": 0.5, | |
| "lr_schedule": "cosine", | |
| "max_seq_len": 256, | |
| "dtype": "bfloat16", | |
| "alias_groups": { | |
| "T1": [ | |
| "bev", | |
| "cif", | |
| "dov", | |
| "fal", | |
| "gev", | |
| "hac", | |
| "jac", | |
| "kab", | |
| "lex", | |
| "nad" | |
| ], | |
| "T2": [ | |
| "agov", | |
| "egiv", | |
| "ejof", | |
| "ikob", | |
| "okiv", | |
| "uliv", | |
| "vmob", | |
| "vnob", | |
| "xnob", | |
| "znob" | |
| ] | |
| }, | |
| "log_every_steps": 50, | |
| "eval_n": 500, | |
| "dry_run": false, | |
| "best_epoch": 5, | |
| "val_exact_match": 1.0, | |
| "val_outer_alias_acc": 1.0, | |
| "val_inner_alias_acc": 1.0, | |
| "val_t1_outer_alias_acc": 1.0, | |
| "val_t2_outer_alias_acc": 1.0, | |
| "val_t1_t2_gap_pp": 0.0, | |
| "val_inner_by_alias": { | |
| "agov": { | |
| "correct": 49, | |
| "total": 49, | |
| "pct": 100.0, | |
| "token_group": "T2" | |
| }, | |
| "bev": { | |
| "correct": 47, | |
| "total": 47, | |
| "pct": 100.0, | |
| "token_group": "T1" | |
| }, | |
| "cif": { | |
| "correct": 47, | |
| "total": 47, | |
| "pct": 100.0, | |
| "token_group": "T1" | |
| }, | |
| "dov": { | |
| "correct": 58, | |
| "total": 58, | |
| "pct": 100.0, | |
| "token_group": "T1" | |
| }, | |
| "egiv": { | |
| "correct": 52, | |
| "total": 52, | |
| "pct": 100.0, | |
| "token_group": "T2" | |
| }, | |
| "ejof": { | |
| "correct": 62, | |
| "total": 62, | |
| "pct": 100.0, | |
| "token_group": "T2" | |
| }, | |
| "fal": { | |
| "correct": 44, | |
| "total": 44, | |
| "pct": 100.0, | |
| "token_group": "T1" | |
| }, | |
| "gev": { | |
| "correct": 49, | |
| "total": 49, | |
| "pct": 100.0, | |
| "token_group": "T1" | |
| }, | |
| "hac": { | |
| "correct": 44, | |
| "total": 44, | |
| "pct": 100.0, | |
| "token_group": "T1" | |
| }, | |
| "ikob": { | |
| "correct": 54, | |
| "total": 54, | |
| "pct": 100.0, | |
| "token_group": "T2" | |
| }, | |
| "jac": { | |
| "correct": 47, | |
| "total": 47, | |
| "pct": 100.0, | |
| "token_group": "T1" | |
| }, | |
| "kab": { | |
| "correct": 52, | |
| "total": 52, | |
| "pct": 100.0, | |
| "token_group": "T1" | |
| }, | |
| "lex": { | |
| "correct": 42, | |
| "total": 42, | |
| "pct": 100.0, | |
| "token_group": "T1" | |
| }, | |
| "nad": { | |
| "correct": 51, | |
| "total": 51, | |
| "pct": 100.0, | |
| "token_group": "T1" | |
| }, | |
| "okiv": { | |
| "correct": 52, | |
| "total": 52, | |
| "pct": 100.0, | |
| "token_group": "T2" | |
| }, | |
| "uliv": { | |
| "correct": 47, | |
| "total": 47, | |
| "pct": 100.0, | |
| "token_group": "T2" | |
| }, | |
| "vmob": { | |
| "correct": 56, | |
| "total": 56, | |
| "pct": 100.0, | |
| "token_group": "T2" | |
| }, | |
| "vnob": { | |
| "correct": 56, | |
| "total": 56, | |
| "pct": 100.0, | |
| "token_group": "T2" | |
| }, | |
| "xnob": { | |
| "correct": 44, | |
| "total": 44, | |
| "pct": 100.0, | |
| "token_group": "T2" | |
| }, | |
| "znob": { | |
| "correct": 47, | |
| "total": 47, | |
| "pct": 100.0, | |
| "token_group": "T2" | |
| } | |
| }, | |
| "train_log": [ | |
| { | |
| "epoch": 1, | |
| "loss": 0.214947, | |
| "val_em": 1.0 | |
| }, | |
| { | |
| "epoch": 2, | |
| "loss": 1.9e-05, | |
| "val_em": 1.0 | |
| }, | |
| { | |
| "epoch": 3, | |
| "loss": 1.5e-05, | |
| "val_em": 1.0 | |
| }, | |
| { | |
| "epoch": 4, | |
| "loss": 1.5e-05, | |
| "val_em": 1.0 | |
| }, | |
| { | |
| "epoch": 5, | |
| "loss": 1.5e-05, | |
| "val_em": 1.0 | |
| } | |
| ] | |
| } |