Views
No views yet
| model | avg | arc | hellaswag | mmlu | truthfulqa | winogrande | gsm8k |
|---|---|---|---|---|---|---|---|
| apricot-wildflower-20 | 59.74 | 59.64 | 81.76 | 63.38 | 41.76 | 77.9 | 33.97 |
| mistralai/Mistral-7B-v0.1 | 60.97 | 59.98 | 83.31 | 64.16 | 42.15 | 78.37 | 37.83 |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_id = "crumb/apricot-wildflower-20"
4tokenizer = AutoTokenizer.from_pretrained(model_id)
5
6model = AutoModelForCausalLM.from_pretrained(model_id, low_cpu_mem_usage=True, device_map="auto", load_in_8bit=True)
7
8text = "Hello my name is"
9inputs = tokenizer(text, return_tensors="pt")
10
11outputs = model.generate(**inputs, max_new_tokens=128)
12print(tokenizer.decode(outputs[0], skip_special_tokens=True))
13# Hello my name is Katie and I am a 20 year old student from the UK. I am currently studying for a degree in English Literature and Creative Writing at the University of Leeds. I am a huge fan of the Harry Potter series and have been since I was 10 years old. I have read the books countless times and have seen the films many times too. I am a huge fan of the Harry Potter fandom and have been a member of the Harry Potter forums for a few years now. I am also a member of the Harry Potter fan club and have been for a few years now. I| Metric | Value |
|---|---|
| Avg. | 59.74 |
| AI2 Reasoning Challenge (25-Shot) | 59.64 |
| HellaSwag (10-Shot) | 81.76 |
| MMLU (5-Shot) | 63.38 |
| TruthfulQA (0-shot) | 41.76 |
| Winogrande (5-shot) | 77.90 |
| GSM8k (5-shot) | 33.97 |