Downloads · 30 days
21
1% of all-time downloads
aws-neuron/Mistral-7B-Instruct-v0.1-neuron-1x2048-2-cores
Mistral-7B-Instruct-v0.1-neuron-1x2048-2-cores is a text generation model from aws-neuron. Use it when you need the model to write or continue text. It is set up for transformers.
This repository contains AWS Inferentia2 and neuronx compatible checkpoints for meta-llama/Llama-2-7b-hf. You can find detailed information about the base model on its Model Card.
Downloads · 30 days
21
1% of all-time downloads
All-time downloads
3.1K
Public
Repo size
103 MB
Likes
2
Public
Click a slice to open those files.
.neff102 MB · 98%
From the Hugging Face model README
This repository contains AWS Inferentia2 and neuronx compatible checkpoints for meta-llama/Llama-2-7b-hf.
You can find detailed information about the base model on its Model Card.
This model has been exported to the neuron format using specific input_shapes and compiler parameters detailed in the paragraphs below.
Please refer to the 🤗 optimum-neuron documentation for an explanation of these parameters.
coming soon
optimum-neuron>>> from optimum.neuron import pipeline
>>> p = pipeline('text-generation', 'aws-neuron/Mistral-7B-Instruct-v0.1-neuron-1x2048-2-cores')
>>> p("My favorite place on earth is", max_new_tokens=64, do_sample=True, top_k=50)
[{'generated_text': 'My favorite place on earth is the ocean. It is where I feel most
at peace. I love to travel and see new places. I have a'}]
This repository contains tags specific to versions of neuronx. When using with 🤗 optimum-neuron, use the repo revision specific to the version of neuronx you are using, to load the right serialized checkpoints.
input_shapes
{
"batch_size": 1,
"sequence_length": 2048,
}
compiler_args
{
"auto_cast_type": "bf16",
"num_cores": 2,
}