Views
No views yet
| Metric | gpt2_guanaco-dolly-platypus | GPT-2 (base) |
|---|---|---|
| Avg. | 30.25 | 29.9 |
| ARC (25-shot) | 23.55 | 21.84 |
| HellaSwag (10-shot) | 31.03 | 31.6 |
| MMLU (5-shot) | 26.4 | 25.86 |
| TruthfulQA (0-shot) | 40.02 | 40.67 |
1# Use a pipeline as a high-level helper
2>>> from transformers import pipeline
3>>> pipe = pipeline("text-generation", model="lgaalves/gpt2_guanaco-dolly-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_guanaco-dolly-platypus was trained using 3 datasets:lgaalves/gpt2_guanaco-dolly-platypus was instruction fine-tuned using LoRA on 1 T4 GPU on Google Colab. It took about 1 hour to train it.| Metric | Value |
|---|---|
| Avg. | 25.15 |
| ARC (25-shot) | 23.55 |
| HellaSwag (10-shot) | 31.03 |
| MMLU (5-shot) | 26.4 |
| TruthfulQA (0-shot) | 40.02 |
| Winogrande (5-shot) | 50.12 |
| GSM8K (5-shot) | 0.0 |
| DROP (3-shot) | 4.96 |