Text Generation
Transformers
Safetensors
qwen3
Generated from Trainer
trl
sft
conversational
text-generation-inference
Instructions to use cs-552-2026-ChatMODS/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-ChatMODS/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-ChatMODS/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-ChatMODS/general_knowledge_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-ChatMODS/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-ChatMODS/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-ChatMODS/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-ChatMODS/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-ChatMODS/general_knowledge_model
- SGLang
How to use cs-552-2026-ChatMODS/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-ChatMODS/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-ChatMODS/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-ChatMODS/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-ChatMODS/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-ChatMODS/general_knowledge_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-ChatMODS/general_knowledge_model
Commit History
-
Update Automated MNLP evaluation report (2026-06-11)
Verified signature63e7737 -
Update Automated MNLP evaluation report (2026-06-11)
Verified signature6fb41af
-
Update Automated MNLP evaluation report (2026-06-10)
Verified signature39c7b56
-
Update Automated MNLP evaluation report (2026-06-09)
Verified signatureddae0d4 -
Update Automated MNLP evaluation report (2026-06-09)
Verified signature4c5df23
-
Update Automated MNLP evaluation report (2026-06-08)
Verified signature78ecf22 -
Backfill evaluated-checkpoint commit
Verified signatureAdds the evaluated commit (c429f1e) that was omitted from this report. Reconstructed from the submission deadline pin.62823ba
-
Update Automated MNLP evaluation report (2026-06-06)
Verified signaturea18cdd1
-
Update Automated MNLP evaluation report (2026-06-04)
Verified signature8716fdd
-
Update Automated MNLP evaluation report (2026-06-03)
Verified signature868c86f
-
Update Automated MNLP evaluation report (2026-06-02)
Verified signature470a8a6
-
Update Automated MNLP evaluation report (2026-06-01)
Verified signature0c7baf5
-
Update Automated MNLP evaluation report (2026-05-29)
Verified signature86dbfd6
-
Update Automated MNLP evaluation report (2026-05-28)
Verified signaturea76ccfc
-
Update Automated MNLP evaluation report (2026-05-27)
Verified signature77c2b3e
-
Update Automated MNLP evaluation report (2026-05-26)
Verified signatureba188af
-
Update Automated MNLP evaluation report (2026-05-25)
Verified signature68d2cbc
-
Update Automated MNLP evaluation report (2026-05-24)
Verified signature49bcad9
-
Update Automated MNLP evaluation report (2026-05-23)
Verified signature11c361d
-
Update Automated MNLP evaluation report (2026-05-22)
Verified signature60416ec
-
Update Automated MNLP evaluation report (2026-05-21)
Verified signature598f987
-
Update Automated MNLP evaluation report (2026-05-20)
Verified signature89bace9
-
Update Automated MNLP evaluation report (2026-05-19)
Verified signature9d46d0b
-
Update Automated MNLP evaluation report (2026-05-18)
Verified signature3359472
-
Update Automated MNLP evaluation report (2026-05-17)
Verified signatureeba31bf
-
Automated MNLP evaluation report (2026-05-16)
Verified signaturePosted by the course CI pipeline.8d67631
-
initial commit
Verified signature1f0f1ab