Text Generation
Transformers
Safetensors
qwen3
general-knowledge
multiple-choice
reasoning
rejection-sampling
rft
lora
cs-552
conversational
text-generation-inference
Instructions to use cs-552-2026-centralesupechec/general_knowledge_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cs-552-2026-centralesupechec/general_knowledge_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cs-552-2026-centralesupechec/general_knowledge_model") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("cs-552-2026-centralesupechec/general_knowledge_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-centralesupechec/general_knowledge_model", 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cs-552-2026-centralesupechec/general_knowledge_model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cs-552-2026-centralesupechec/general_knowledge_model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cs-552-2026-centralesupechec/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-centralesupechec/general_knowledge_model
- SGLang
How to use cs-552-2026-centralesupechec/general_knowledge_model 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 "cs-552-2026-centralesupechec/general_knowledge_model" \ --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": "cs-552-2026-centralesupechec/general_knowledge_model", "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 "cs-552-2026-centralesupechec/general_knowledge_model" \ --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": "cs-552-2026-centralesupechec/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-centralesupechec/general_knowledge_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-centralesupechec/general_knowledge_model
Commit History
-
Clean model card (RFT answer-only, 16k)
Verified signature2fd2a69
-
sft_v3 ours_v2 max_new_tokens=16384
Verified signatureec123fa -
sft_v3 CI40@16k=0.681
Verified signature49569cb -
set max_new_tokens to 16384 for final grading
Verified signature3563285
-
remove MODE.txt
Verified signature1b03531 -
fix: restore ours_v2 template on base_think
Verified signature2839afd -
restore nothink CI=0.29 — grpo regressed to 0.14
Verified signature84d58a3 -
base_think + ours_v2 template: CI40@16k=0.75 fmt_fail=0%
Verified signature9ec00e3
-
cleanup: remove intermediate checkpoints
Verified signature5921a8d -
cleanup: remove intermediate checkpoints
Verified signature053e68e -
cleanup: remove intermediate checkpoints
Verified signaturec6a7158 -
cleanup: remove intermediate checkpoints
Verified signature4f58977 -
cleanup: remove intermediate checkpoints
Verified signatureb597f34 -
cleanup: remove intermediate checkpoints
Verified signature623abd2 -
cleanup: remove intermediate checkpoints
Verified signaturef34ed86 -
cleanup: remove intermediate checkpoints
Verified signatured9cd6e6
-
sft_v3 RFT: rejection sampling on MMLU-Pro+GPQA, val CI=0.71
Verified signaturec7036db -
think_v2: improved system prompt, concise reasoning
Verified signature2d8cc9a
-
new template: middle-west style + no \text{}
Verified signature7115359 -
fix template: \boxed{LETTER} backslash fix, no \text{}
Verified signaturef153226
-
gk_grpo_v4 + new think template: system prompt forces boxed{LETTER} no text{}
Verified signaturea8fc7e0
-
gk_grpo_v4: think+MMLU GRPO val=0.5375 pass8=0.80 optimise 16k CI
Verified signature1c6f990
-
gk_nothink_strict: catma strict template on nothink base, val=0.40
Verified signaturea2ed485
-
cleanup: remove checkpoint-9800
Verified signature255e870 -
cleanup: remove checkpoint-9600
Verified signaturebaf716f -
cleanup: remove checkpoint-9400
Verified signature8f71b4a -
cleanup: remove checkpoint-9200
Verified signature08e15c6 -
cleanup: remove checkpoint-9000
Verified signaturea225c9d -
cleanup: remove checkpoint-8800
Verified signatured631a01 -
cleanup: remove checkpoint-8600
Verified signatureb3fb4f9 -
cleanup: remove checkpoint-859
Verified signaturea2b052c -
cleanup: remove checkpoint-8400
Verified signaturedc5f638 -
cleanup: remove checkpoint-8200
Verified signatureaa907d4 -
cleanup: remove checkpoint-8000
Verified signature89e5772 -
cleanup: remove checkpoint-800
Verified signatureb5267b1 -
cleanup: remove checkpoint-7800
Verified signature3664019 -
cleanup: remove checkpoint-7600
Verified signatured12f3a6 -
cleanup: remove checkpoint-7400
Verified signature23d74dc -
cleanup: remove checkpoint-7200
Verified signaturec9e07c6 -
cleanup: remove checkpoint-7000
Verified signature998e515 -
cleanup: remove checkpoint-6800
Verified signature3552828 -
cleanup: remove checkpoint-6600
Verified signaturef0854fc -
cleanup: remove checkpoint-6400
Verified signature878a948 -
cleanup: remove checkpoint-6200
Verified signature7871063 -
cleanup: remove checkpoint-6000
Verified signature01543a3 -
cleanup: remove checkpoint-600
Verified signature3b10e2b -
cleanup: remove checkpoint-5800
Verified signature3a38ee3 -
cleanup: remove checkpoint-5600
Verified signaturecee65b8 -
cleanup: remove checkpoint-5400
Verified signaturee4416d1 -
cleanup: remove checkpoint-5200
Verified signature149c72d