Downloads · 30 days
55
5% of all-time downloads
inetnuc/Turkish-Llama-3.1-8B-4bit-lora
Turkish-Llama-3.1-8B-4bit-lora is a machine learning model from inetnuc. Use it for the machine learning task on the model card, and read the license before you ship it in a product. 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/Meta-Llama-3.1-8B-bnb-4bit
Downloads · 30 days
55
5% of all-time downloads
All-time downloads
1.2K
Public
Repo size
24.6 GB
Likes
0
Public
Click a slice to open those files.
.gguf24.6 GB · 100%
From the Hugging Face model README
This LLAMA-3.1 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.1-8b-bnb-4biten)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/Turkish-Llama-3.1-8B-4bit-lora")
model = AutoModelForCausalLM.from_pretrained("inetnuc/Turkish-Llama-3.1-8B-4bit-lora")
# Example of generating text
inputs = tokenizer("Türki̇ye'de nükleer enerji̇ yatirimlari artirilmali mi, ne düşünüyorsun?", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=128)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))