Downloads · 30 days
9
5% of all-time downloads
shashankyadav03/Llama-3-8B-Instruct-Finance-Asset-Strategy
Llama-3-8B-Instruct-Finance-Asset-Strategy is a text generation model from shashankyadav03. Use it when you need the model to write or continue text. It is set up for transformers.
Model Developer: Shashank Model Architecture: Llama 3.1, an auto-regressive language model utilizing an optimized transformer architecture. The instruction-tuned versions leverage supervised fine-tuning (SFT) and rein…
Downloads · 30 days
9
5% of all-time downloads
All-time downloads
173
Public
Parameters
8B
32.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
Model Developer: Shashank
Model Architecture: Llama 3.1, an auto-regressive language model utilizing an optimized transformer architecture. The instruction-tuned versions leverage supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) for improved alignment with human preferences.
Supported Languages: English, German, French, Italian, Portuguese, Hindi, Spanish, and Thai.
Model Release Date: August 10, 2024
Model Sizes: 8B, 70B, 405B parameters
Llama 3.1 is a collection of multilingual large language models designed for a variety of natural language generation tasks. These models are optimized for multilingual dialogue use cases and excel in various industry benchmarks. The Llama 3.1 collection includes both pretrained and instruction-tuned versions.
To use the model with the Transformers library:
import transformers
model_id = "shashankyadav03/Llama-3-8B-Instruct-Finance-Asset-Strategy"
pipeline = transformers.pipeline(
"text-generation",
model=model_id,
model_kwargs={"torch_dtype": torch.bfloat16},
device_map="auto",
)
messages = [
{"role": "system", "content": "You are an expert finance asset advice expert"},
{"role": "user", "content": "Should i invest in crypto in 2024"},
]
outputs = pipeline(
messages,
max_new_tokens=256,
)
print(outputs[0]["generated_text"][-1])
Llama 3.1 supports tool use formats through chat templates in Transformers. You can define custom tools and integrate them into chat sessions.
For usage with the original Llama codebase, follow the instructions provided in the repository.
Llama 3.1 models excel across various benchmarks. For instance:
Llama 3.1 is intended for commercial and research use in supported languages. It can be adapted for various NLP tasks, including text generation and assistant-like chat interfaces. The models also support the generation of synthetic data for improving other models.
The pretraining data was sourced from publicly available datasets, with a cutoff in December 2023. Fine-tuning involved over 25 million synthetic examples.
The model was trained using high-performance GPUs, specifically H100-80GB units, and is compatible with the Transformers library starting from version 4.43.0.
For any questions or issues related to the model, contact shashankyadav03