Views
No views yet
| Metric | llama-2-13b-hf-platypus | garage-bAInd/Platypus2-13B | llama-2-13b-hf (base) |
|---|---|---|---|
| Avg. | 59.71 | 61.35 | 58.66 |
| ARC (25-shot) | 58.87 | 61.26 | 59.39 |
| HellaSwag (10-shot) | 82.14 | 82.56 | 82.13 |
| MMLU (5-shot) | 54.98 | 56.7 | 55.77 |
| TruthfulQA (0-shot) | 42.84 | 44.86 | 37.38 |
1# Use a pipeline as a high-level helper
2>>> from transformers import pipeline
3>>> pipe = pipeline("text-generation", model="lgaalves/llama-2-13b-hf-platypus")
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/llama-2-13b-hf-platypus")
5model = AutoModelForCausalLM.from_pretrained("lgaalves/llama-2-13b-hf-platypus")lgaalves/llama-2-13b-hf-platypus trained using STEM and logic based dataset garage-bAInd/Open-Platypus.lgaalves/llama-2-13b-hf-platypus was instruction fine-tuned using LoRA on 1 A100-40GB and took about 2.5 hours for completing the training.| Metric | Value |
|---|---|
| Avg. | 47.33 |
| ARC (25-shot) | 58.87 |
| HellaSwag (10-shot) | 82.14 |
| MMLU (5-shot) | 54.98 |
| TruthfulQA (0-shot) | 42.84 |
| Winogrande (5-shot) | 77.11 |
| GSM8K (5-shot) | 9.4 |
| DROP (3-shot) | 5.99 |