Views
No views yet
1# Load model directly
2from transformers import AutoTokenizer, AutoModelForCausalLM
3
4tokenizer = AutoTokenizer.from_pretrained("jrc/phi3-mini-math", trust_remote_code=True)
5model = AutoModelForCausalLM.from_pretrained("jrc/phi3-mini-math", trust_remote_code=True)tune run lora_finetune_distributed.py --config mini_lora.yaml 1tune run eleuther_eval --config eleuther_evaluation \
2 checkpoint.checkpoint_dir=./lora-phi3-math \
3 tasks=["minerva_math"] \
4 batch_size=32 | Tasks | Version | Filter | n-shot | Metric | Value | Stderr | |
|---|---|---|---|---|---|---|---|
| minerva_math | N/A | none | 4 | exact_match | 0.1670 | ± | 0.0051 |
| - minerva_math_algebra | 1 | none | 4 | exact_match | 0.2502 | ± | 0.0126 |
| - minerva_math_counting_and_prob | 1 | none | 4 | exact_match | 0.1329 | ± | 0.0156 |
| - minerva_math_geometry | 1 | none | 4 | exact_match | 0.1232 | ± | 0.0150 |
| - minerva_math_intermediate_algebra | 1 | none | 4 | exact_match | 0.0576 | ± | 0.0078 |
| - minerva_math_num_theory | 1 | none | 4 | exact_match | 0.1148 | ± | 0.0137 |
| - minerva_math_prealgebra | 1 | none | 4 | exact_match | 0.3077 | ± | 0.0156 |
| - minerva_math_precalc | 1 | none | 4 | exact_match | 0.0623 | ± | 0.0104 |