Views
No views yet
| Metric | gpt2_platypus-dolly-guanaco | GPT-2 (base) |
|---|---|---|
| Avg. | 30.18 | 29.9 |
| ARC (25-shot) | 23.21 | 21.84 |
| HellaSwag (10-shot) | 31.04 | 31.6 |
| MMLU (5-shot) | 26.16 | 25.86 |
| TruthfulQA (0-shot) | 40.31 | 40.67 |
1# Use a pipeline as a high-level helper
2>>> from transformers import pipeline
3>>> pipe = pipeline("text-generation", model="lgaalves/gpt2_platypus-dolly-guanaco")
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_platypus-dolly-guanaco was trained using 3 datasets:lgaalves/gpt2_platypus-dolly-guanaco 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.21 |
| HellaSwag (10-shot) | 31.04 |
| MMLU (5-shot) | 26.16 |
| TruthfulQA (0-shot) | 40.31 |
| Winogrande (5-shot) | 50.36 |
| GSM8K (5-shot) | 0.0 |
| DROP (3-shot) | 4.98 |