Views
No views yet
| Metric | lgaalves/gpt2-xl_camel-ai-physics | gpt2-xl (base) |
|---|---|---|
| Avg. | 36.51 | 36.66 |
| ARC (25-shot) | 29.52 | 30.29 |
| HellaSwag (10-shot) | 50.62 | 51.38 |
| MMLU (5-shot) | 26.79 | 26.43 |
| TruthfulQA (0-shot) | 39.12 | 38.54 |
1# Use a pipeline as a high-level helper
2>>> from transformers import pipeline
3>>> pipe = pipeline("text-generation", model="lgaalves/gpt2-xl_camel-ai-physics")
4>>> question = "What is a large language model?"
5>>> answer = pipe(question)
6>>> print(answer[0]['generated_text'])
71# Load model directly
2from transformers import AutoTokenizer, AutoModelForCausalLM
3
4tokenizer = AutoTokenizer.from_pretrained("lgaalves/gpt2-xl_camel-ai-physics")
5model = AutoModelForCausalLM.from_pretrained("lgaalves/gpt2-xl_camel-ai-physics")lgaalves/gpt2-xl_camel-ai-physics trained on the GPT4 generated dataset lgaalves/camel-physics.lgaalves/gpt2-xl_camel-ai-physics was instruction fine-tuned using LoRA on 1 Tesla V100-SXM2-16GB. It took about 3 hours to train it.| Metric | Value |
|---|---|
| Avg. | 29.9 |
| ARC (25-shot) | 29.52 |
| HellaSwag (10-shot) | 50.62 |
| MMLU (5-shot) | 26.79 |
| TruthfulQA (0-shot) | 39.12 |
| Winogrande (5-shot) | 57.54 |
| GSM8K (5-shot) | 0.15 |
| DROP (3-shot) | 5.57 |