Downloads · 30 days
9
8% of all-time downloads
jasongraydon01/hawkpartners-survey-llama-3.2-1b-instruct
hawkpartners-survey-llama-3.2-1b-instruct is a text generation model from jasongraydon01. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This model merges a LoRA adapter into LLaMA 3.2 1B Instruct for structured HTML generation in chunked formats.
Downloads · 30 days
9
8% of all-time downloads
All-time downloads
109
Public
Parameters
1.2B
2.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.5 GB · 99%
From the Hugging Face model README
This model merges a LoRA adapter into LLaMA 3.2 1B Instruct for structured HTML generation in chunked formats.
export HF_TOKEN=your_token
vllm serve jasongraydon01/hawkpartners-survey-llama-3.2-1b-instruct --max-model-len 32768
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("jasongraydon01/hawkpartners-survey-llama-3.2-1b-instruct")
model = AutoModelForCausalLM.from_pretrained("jasongraydon01/hawkpartners-survey-llama-3.2-1b-instruct", torch_dtype="auto")
messages = [{
"role": "user",
"content": "Generate a full HTML article on the topic of..."
}]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True)
outputs = model.generate(inputs.input_ids, max_new_tokens=8192)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))