Views
No views yet
| Metric | lgaalves/gpt2_open-platypus | gpt2 (base) |
|---|---|---|
| Avg. | 30.01 | 29.9 |
| ARC (25-shot) | 22.18 | 21.84 |
| HellaSwag (10-shot) | 31.29 | 31.6 |
| MMLU (5-shot) | 26.19 | 25.86 |
| TruthfulQA (0-shot) | 40.35 | 40.67 |
1# Use a pipeline as a high-level helper
2>>> from transformers import pipeline
3>>> pipe = pipeline("text-generation", model="lgaalves/gpt2_open-platypus")
4>>> question = "What is a large language model?"
5>>> answer = pipe(question)
6>>> print(answer[0]['generated_text'])1# Load model directly
2from transformers import AutoTokenizer, AutoModelForCausalLM
3
4tokenizer = AutoTokenizer.from_pretrained("lgaalves/gpt2_open-platypus")
5model = AutoModelForCausalLM.from_pretrained("lgaalves/gpt2_open-platypus")lgaalves/gpt2_open-platypus trained using STEM and logic based dataset garage-bAInd/Open-Platypus.lgaalves/gpt2_open-platypus was instruction fine-tuned using LoRA on 1 T4 GPU on Google Colab. It took about 27 minutes to train it.| Metric | Value |
|---|---|
| Avg. | 25.16 |
| ARC (25-shot) | 22.18 |
| HellaSwag (10-shot) | 31.29 |
| MMLU (5-shot) | 26.19 |
| TruthfulQA (0-shot) | 40.35 |
| Winogrande (5-shot) | 51.3 |
| GSM8K (5-shot) | 0.15 |
| DROP (3-shot) | 4.64 |