Edit model card
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

Quantization made by Richard Erkhov.

Github

Discord

Request more models

Qwen2-0.5B-fncl-2 - GGUF

Original model description:

license: apache-2.0 datasets: - haripritam/function-calling-alpaca

Further finetuned for 1 epoch taking the Qwen2-0.5B-fncl better function calling capabilities I think

but doesnot reject any function call i.e hallucinates functions even if they are not there.

Made a only-rejections dataset and a combined dataset finetuning on one epoch on both did not work. Dont know why.

Still this is the best extra small function calling model out there.

prompt template

prompt = """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
You are a helpful assistant with access to the following functions. Use them if required - { "name": "calculate_median", "description": "Calculate the median of a list of numbers", "parameters": { "type": "object", "properties": { "numbers": { "type": "array", "items": { "type": "number" }, "description": "The list of numbers" } }, "required": [ "numbers" ] } }

### Input:
Hi, I have a list of numbers and I need to find the median. The numbers are 5, 2, 9, 1, 7, 4, 6, 3, 8.

### Response:
"""

image/png

Downloads last month
1,774
GGUF
Model size
494M params
Architecture
qwen2

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Unable to determine this model's library. Check the docs .