Text Generation
Transformers
Safetensors
qwen3
unsloth
Generated from Trainer
text-generation-inference
Run this model with HF Jobs
Run andresnowak/MNLP_M2_mcqa_model on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/andresnowak/MNLP_M2_mcqa_model. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/andresnowak/MNLP_M2_mcqa_model on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/andresnowak/MNLP_M2_mcqa_model. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/andresnowak/MNLP_M2_mcqa_model. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use andresnowak/MNLP_M2_mcqa_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use andresnowak/MNLP_M2_mcqa_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="andresnowak/MNLP_M2_mcqa_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("andresnowak/MNLP_M2_mcqa_model") model = AutoModelForCausalLM.from_pretrained("andresnowak/MNLP_M2_mcqa_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use andresnowak/MNLP_M2_mcqa_model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "andresnowak/MNLP_M2_mcqa_model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "andresnowak/MNLP_M2_mcqa_model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/andresnowak/MNLP_M2_mcqa_model
- SGLang
How to use andresnowak/MNLP_M2_mcqa_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 "andresnowak/MNLP_M2_mcqa_model" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "andresnowak/MNLP_M2_mcqa_model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "andresnowak/MNLP_M2_mcqa_model" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "andresnowak/MNLP_M2_mcqa_model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use andresnowak/MNLP_M2_mcqa_model with Docker Model Runner:
docker model run hf.co/andresnowak/MNLP_M2_mcqa_model
Update README.md
Browse files55 unmodified lines565758596061626364656655 unmodified lines- lr_scheduler_warmup_ratio: 0.04- num_epochs: 2### Training resultsFor musr we give question and narrative, and all this results are done on single letter (e.g " A")| Model | MMLU | MMLU-pro | arc-easy | arc-challenge | nlp4education | GPQA | Musr ||------------------------|------|----------|----------|---------------|---------------|------|------|| Qwen3-0.6B-base-MCQA | 52% | 17% | 86% | 72% | 51% | 29% | 53% |### Framework versions55 unmodified lines565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513655 unmodified lines- lr_scheduler_warmup_ratio: 0.04- num_epochs: 2## Evaluation ResultsThe model was evaluated on a suite of Multiple Choice Question Answering (MCQA) benchmarks (on its validation and test sets repsectively for each one),and NLP4education is only the approximated 1000 question and answers given to use.**Important Note on MCQA Evals Benchmark:****The performance on these benchmarks is as follows**:### First evaluation: The tests where done with this prompt (type 5):```This question assesses challenging STEM problems as found on graduate standardized tests. Carefully evaluate the options and select the correct answer.---[Insert Question Here]---[Insert Choices Here, e.g.:A. Option 1B. Option 2C. Option 3D. Option 4]---Your response should include the letter and the exact text of the correct choice.Example: B. Entropy increases.Answer:```And the teseting was done on ``` [Letter]. [Text answer]```| Benchmark | Accuracy (Acc) | Normalized Accuracy (Acc Norm) || :----------------- | :------------- | :----------------------------- || ARC Challenge | 66.28% | 64.92% || ARC Easy | 84.22% | 81.33% || GPQA | 38.84% | 36.61% || Math QA | 25.03% | 24.67% || MCQA Evals | 43.51% | 40.91% || MMLU | 52.17% | 52.17% || MMLU Pro | 16.45% | 15.04% || MuSR | 53.17% | 52.25% || NLP4Education | 44.45% | 42.65% || **Overall** | **47.12%** | **45.62%** |### Second evaluation: (type 0)```The following are multiple choice questions (with answers) about knowledge and skills in advanced master-level STEM courses.---*[Insert Question Here]*---*[Insert Choices Here, e.g.:**A. Option 1**B. Option 2**C. Option 3**D. Option 4]*---Answer:```And the teseting was done on ``` [Letter]. [Text answer]```| Benchmark | Accuracy (Acc) | Normalized Accuracy (Acc Norm) || :----------------- | :------------- | :----------------------------- || ARC Challenge | 69.95% | 65.33% || ARC Easy | 84.45% | 78.51% || GPQA | 31.92% | 28.57% || Math QA | 27.02% | 26.88% || MCQA Evals | 43.90% | 35.32% || MMLU | 52.17% | 52.17% || MMLU Pro | 15.04% | 13.27% || MuSR | 53.17% | 52.25% || NLP4Education | 49.14% | 42.85% || **Overall** | **47.42%** | **43.91%** |### Framework versions
README.md+75-5