Downloads · 30 days
8
3% of all-time downloads
inetnuc/llama-3-8b-chat-nuclear
llama-3-8b-chat-nuclear is a text generation model from inetnuc. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
- Developed by: inetnuc - License: apache-2.0 - Finetuned from model: unsloth/llama-3-8b-bnb-4bit
Downloads · 30 days
8
3% of all-time downloads
All-time downloads
251
Public
Parameters
8B
32.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors32.3 GB · 100%
From the Hugging Face model README
This LLAMA-3 model was finetuned to enhance capabilities in text generation for nuclear-related topics. The training was accelerated using Unsloth and Huggingface's TRL library, achieving a 2x faster performance.
The model was finetuned using the Unsloth library, leveraging its efficient training capabilities. The process included the following steps:
unsloth/llama-3-8b-bnb-4bit as the base model.unsloth/llama-3-8b-bnb-4biten)| File Name | Description |
|---|---|
| .gitattributes | Initial commit |
| README.md | Model description and usage |
| adapter_config.json | Configuration for adapter |
| adapter_model.safetensors | Finetuned model weights |
| config.json | Configuration for base model |
| generation_config.json | Generation configuration for model |
| model-00001-of-00007.safetensors | Part of the base model weights |
| model-00002-of-00007.safetensors | Part of the base model weights |
| model-00003-of-00007.safetensors | Part of the base model weights |
| model-00004-of-00007.safetensors | Part of the base model weights |
| model-00005-of-00007.safetensors | Part of the base model weights |
| model-00006-of-00007.safetensors | Part of the base model weights |
| model-00007-of-00007.safetensors | Part of the base model weights |
| model.safetensors.index.json | Index for the model weights |
| special_tokens_map.json | Special tokens mapping |
| tokenizer.json | Tokenizer data |
| tokenizer_config.json | Configuration for tokenizer |
MUSTAFA UMUT OZBEK
https://www.linkedin.com/in/mustafaumutozbek/ https://x.com/m_umut_ozbek
You can load the model and tokenizer using the following code snippet:
from transformers import AutoModelForCausalLM, AutoTokenizer
# Load the tokenizer and model
tokenizer = AutoTokenizer.from_pretrained("inetnuc/llama-3-8b-chat-nuclear")
model = AutoModelForCausalLM.from_pretrained("inetnuc/llama-3-8b-chat-nuclear")
# Example of generating text
inputs = tokenizer("what is the iaea approach for cyber security?", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=128)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))