Text Generation
Transformers
TensorBoard
Safetensors
qwen3
Generated from Trainer
trl
sft
conversational
text-generation-inference
Instructions to use shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new") 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("shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new") model = AutoModelForCausalLM.from_pretrained("shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new", 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 shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new
- SGLang
How to use shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new 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 "shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new" \ --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": "shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new", "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 "shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new" \ --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": "shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new with Docker Model Runner:
docker model run hf.co/shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new
Commit History
-
Model save
Verified signatured3dd983 -
Training in progress, step 8967, checkpoint
Verified signatureb745066 -
Training in progress, step 8500, checkpoint
Verified signature42d2497 -
Training in progress, step 8500
Verified signaturea2f4887 -
Training in progress, step 8000, checkpoint
Verified signature991f84e -
Training in progress, step 8000
Verified signaturedb73b29 -
Training in progress, step 7500, checkpoint
Verified signatureb13f67b -
Training in progress, step 7500
Verified signatureeeb2c0f -
Training in progress, step 7000, checkpoint
Verified signature0f9951c -
Training in progress, step 7000
Verified signature42c24d0 -
Training in progress, step 6500, checkpoint
Verified signaturea51ca6c -
Training in progress, step 6500
Verified signaturef83d55a -
Training in progress, step 6000, checkpoint
Verified signaturef027d43 -
Training in progress, step 6000
Verified signatureaab39aa -
Training in progress, step 5500, checkpoint
Verified signature7997196 -
Training in progress, step 5500
Verified signature804f01e -
Training in progress, step 5000, checkpoint
Verified signature6743e3c -
Training in progress, step 5000
Verified signature0814ea8 -
Training in progress, step 4500, checkpoint
Verified signature179176a -
Training in progress, step 4500
Verified signature97a6ee1 -
Training in progress, step 4000, checkpoint
Verified signature6b7db16 -
Training in progress, step 3500, checkpoint
Verified signaturebccb86b -
Training in progress, step 3500
Verified signature92a980f -
Training in progress, step 3000, checkpoint
Verified signature63c35b2 -
Training in progress, step 3000
Verified signature8876e20 -
Training in progress, step 2500, checkpoint
Verified signature775a5c4 -
Training in progress, step 2500
Verified signature6eeaf47 -
Training in progress, step 2000, checkpoint
Verified signature612da4e -
Training in progress, step 1500, checkpoint
Verified signature450f7cd -
Training in progress, step 1500
Verified signature6072020 -
Training in progress, step 1000, checkpoint
Verified signature81e9eff -
Training in progress, step 1000
Verified signature5e11052 -
Training in progress, step 500, checkpoint
Verified signature5ae3549 -
Training in progress, step 500
Verified signatured617ad8 -
initial commit
Verified signature75d61e2