File size: 1,027 Bytes
1b8d8e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
language: en
license: apache-2.0
tags:
  - merged
  - lora
  - text-generation
---

# llama-3b-instruct-ft-function-call

This model is a merged version of the base model [meta-llama/Llama-3.2-3B-Instruct] with the following LoRA adapter(s):
- /home/ubuntu/zona/decision-step-model/train/mar16_sembalanced_data

## Description



## Usage

```python
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "matt-bcny/llama-3b-instruct-ft-function-call"

# Load tokenizer and model
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id, 
    torch_dtype=torch.float16, 
    device_map="auto"
)

# Example inference
prompt = "Your prompt here"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_length=100)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
```

## Model creation

This model was created by merging the base model with LoRA adapter(s) on 2025-03-17.