Instructions to use cs-552-2026-MandMP/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-MandMP/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-MandMP/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-MandMP/general_knowledge_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-MandMP/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-MandMP/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-MandMP/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-MandMP/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-MandMP/general_knowledge_model
- SGLang
How to use cs-552-2026-MandMP/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-MandMP/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-MandMP/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-MandMP/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-MandMP/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-MandMP/general_knowledge_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-MandMP/general_knowledge_model
Commit History
-
Update Automated MNLP evaluation report (2026-06-11)
Verified signatureb59b55b -
Update Automated MNLP evaluation report (2026-06-11)
Verified signature5d1f8e9
-
Update Automated MNLP evaluation report (2026-06-10)
Verified signatureb4b0d88
-
Update Automated MNLP evaluation report (2026-06-09)
Verified signature6ef3995 -
Update Automated MNLP evaluation report (2026-06-09)
Verified signature7b84f54
-
Update Automated MNLP evaluation report (2026-06-08)
Verified signaturecd4797c -
Backfill evaluated-checkpoint commit
Verified signatureAdds the evaluated commit (25d4508) that was omitted from this report. Reconstructed from the submission deadline pin.f5ef20f
-
Update Automated MNLP evaluation report (2026-06-06)
Verified signatureac10911
-
Update Automated MNLP evaluation report (2026-06-04)
Verified signature43435d9
-
Update Automated MNLP evaluation report (2026-06-03)
Verified signature534335d
-
Update Automated MNLP evaluation report (2026-06-02)
Verified signature959f533
-
Update Automated MNLP evaluation report (2026-06-01)
Verified signatureada3b28 -
Update Automated MNLP evaluation report (2026-06-01)
Verified signature7c834c6
-
Update Automated MNLP evaluation report (2026-05-29)
Verified signature83c667c
-
Update Automated MNLP evaluation report (2026-05-28)
Verified signature0a1735e
-
Update Automated MNLP evaluation report (2026-05-27)
Verified signature1b26de1
-
Update Automated MNLP evaluation report (2026-05-26)
Verified signature410fd9e
-
Update Automated MNLP evaluation report (2026-05-25)
Verified signaturef6e8f0b
-
Update Automated MNLP evaluation report (2026-05-24)
Verified signature7f52ed6
-
Update Automated MNLP evaluation report (2026-05-23)
Verified signature9b521a3
-
Update Automated MNLP evaluation report (2026-05-22)
Verified signature280ce8a
-
Update Automated MNLP evaluation report (2026-05-21)
Verified signature9861c11
-
Update Automated MNLP evaluation report (2026-05-20)
Verified signature96bec3b
-
Update Automated MNLP evaluation report (2026-05-19)
Verified signatureabdaf9f
-
Update Automated MNLP evaluation report (2026-05-18)
Verified signature2013be2
-
Update Automated MNLP evaluation report (2026-05-17)
Verified signature737e45f
-
Update Automated MNLP evaluation report (2026-05-16)
Verified signature68c5da3
-
Update Automated MNLP evaluation report (2026-05-13)
Verified signatureb32cc0d -
Automated MNLP evaluation report (2026-05-13)
Verified signaturePosted by the course CI pipeline.26b3110
-
Update general knowledge model checkpoint
Verified signature1323fec -
Update general knowledge model checkpoint
Verified signatureb0682c6
-
Force enable_thinking=true in chat_template
Verified signature9466f96 -
Update general knowledge model checkpoint
Verified signature555f88d -
Update general knowledge model checkpoint
Verified signaturebbfbe31 -
Update general knowledge model checkpoint
Verified signature96e83a3 -
initial commit
Verified signature7be08f7