Text Generation
PEFT
TensorBoard
Safetensors
PyTorch
English
trl
sft
Generated from Trainer
Eval Results (legacy)
Instructions to use Menouar/phi-2-basic-maths with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Menouar/phi-2-basic-maths with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2") model = PeftModel.from_pretrained(base_model, "Menouar/phi-2-basic-maths") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -104,6 +104,25 @@ model-index:
|
|
| 104 |
name: Open LLM Leaderboard
|
| 105 |
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Menouar/phi-2-basic-maths
|
| 106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
datasets:
|
| 108 |
- gsm8k
|
| 109 |
language:
|
|
|
|
| 104 |
name: Open LLM Leaderboard
|
| 105 |
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Menouar/phi-2-basic-maths
|
| 106 |
|
| 107 |
+
# GSM8k (5-shot)
|
| 108 |
+
- task:
|
| 109 |
+
type: text-generation
|
| 110 |
+
name: Text Generation
|
| 111 |
+
dataset:
|
| 112 |
+
name: GSM8k (5-shot)
|
| 113 |
+
type: gsm8k
|
| 114 |
+
config: main
|
| 115 |
+
split: test
|
| 116 |
+
args:
|
| 117 |
+
num_few_shot: 5
|
| 118 |
+
metrics:
|
| 119 |
+
- type: acc
|
| 120 |
+
name: accuracy
|
| 121 |
+
value: 30.70
|
| 122 |
+
source:
|
| 123 |
+
name: Open LLM Leaderboard
|
| 124 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Menouar/phi-2-basic-maths
|
| 125 |
+
|
| 126 |
datasets:
|
| 127 |
- gsm8k
|
| 128 |
language:
|