Downloads · 30 days
23
0% of all-time downloads
abacusai/Llama-3-Giraffe-70B-Instruct
Llama-3-Giraffe-70B-Instruct is a text generation model from abacusai. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.
Downloads · 30 days
23
0% of all-time downloads
All-time downloads
6.2K
Public
Parameters
70.6B
141 GB on disk
Likes
11
Public
Click a slice to open those files.
.safetensors141 GB · 100%
From the Hugging Face model README


Abacus.AI presents our longer-necked variant of Llama 3 70B - now with the instruct variant!
This model has an effective context length of approximately 128k.
We have currently trained on ~1.5B tokens.
There are our Needle-in-a-Haystack heatmap results. We are conducting further evals of model efficacy and will update our model card as these come in:

We also measured performance on MT-Bench to verify that the context extension did not significantly impact performance on instruct tasks:
####### 1st turn:
Meta-Llama-3-70B-Instruct 9.21
Llama-3-Giraffe-70B-Instruct 9.19
####### 2nd turn:
Meta-Llama-3-70B-Instruct 2 8.80
Llama-3-Giraffe-70B-Instruct 2 8.54
####### average:
Meta-Llama-3-70B-Instruct 9.00
Llama-3-Giraffe-70B-Instruct 8.87
The methodology for training uses PoSE and dynamic-NTK interpolation.
The scale factor for NTK is 4. Note that we also tried theta-scaling but this did not work as well as NTK scaling in our experiments.
We utilise Positional Skip-wise Training (PoSE) with the following parameters:
We use on average ~8K long samples from RedPajama.
We train on 8xH100 GPUs with Deepspeed Zero Stage 3.
We use the EasyContext implementation of Needle-in-a-Haystack to evaluate Llama-3-Giraffe-70B.
We evaluate with the following parameters:
We apply the above techniques first to Llama-3-70B-Base, using LoRA on the Q and K weights only. This adapter is then applied to Llama-3-70B-Instruct, and we release the merged version here.