Downloads · 30 days
0
khushwant04/Llama-3.2-3b-FineTome-100k
Llama-3.2-3b-FineTome-100k is a text generation model from khushwant04. Use it when you need the model to write or continue text. The card lists the license as mit.
Llama-3.2-3b-FineTome-100k is a fine-tuned version of the Llama 3.2 model, optimized for various natural language processing (NLP) tasks. It has been trained on a dataset containing 100,000 examples, designed to impro…
Downloads · 30 days
0
Access
Public
Updated Oct 27, 2024
Repo size
97.3 MB
Likes
1
Public
Click a slice to open those files.
.safetensors97.3 MB · 91%
From the Hugging Face model README
Llama-3.2-3b-FineTome-100k is a fine-tuned version of the Llama 3.2 model, optimized for various natural language processing (NLP) tasks. It has been trained on a dataset containing 100,000 examples, designed to improve its performance on domain-specific applications.
To use the Llama-3.2-3b-FineTome-100k model, ensure you have the transformers library installed. You can install it using pip:
pip install transformers
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load the tokenizer and model
tokenizer = AutoTokenizer.from_pretrained("khushwant04/Llama-3.2-3b-FineTome-100k")
model = AutoModelForCausalLM.from_pretrained("khushwant04/Llama-3.2-3b-FineTome-100k")
# Encode input text
input_text = "Tell me someting intresting about India and its culture?"
input_ids = tokenizer.encode(input_text, return_tensors='pt')
# Generate output
output = model.generate(input_ids, max_length=50)
output_text = tokenizer.decode(output[0], skip_special_tokens=True)
print(output_text)