Downloads · 30 days
15
13% of all-time downloads
terrytaylorbonn/431_smollmv3_CPLT29
431_smollmv3_CPLT29 is a text generation model from terrytaylorbonn. 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.
This model is a fine-tuned version of HuggingFaceTB/SmolLM2-1.7B-Instruct.
Downloads · 30 days
15
13% of all-time downloads
All-time downloads
120
Public
Parameters
1.7B
6.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.8 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of HuggingFaceTB/SmolLM2-1.7B-Instruct.
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load model
tokenizer = AutoTokenizer.from_pretrained("terrytaylorbonn/431_smollmv3_CPLT29")
model = AutoModelForCausalLM.from_pretrained("terrytaylorbonn/431_smollmv3_CPLT29")
# Generate text
messages = [{"role": "user", "content": "Your prompt here"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200)
response = tokenizer.decode(outputs[0][len(inputs.input_ids[0]):], skip_special_tokens=True)
print(response)
This model inherits the limitations of the base model and may have additional biases from the fine-tuning data.