初始化项目,由ModelHub XC社区提供模型
Model: ermiaazarkhalili/LFM2.5-350M-Function-Calling-xLAM-Unsloth-GGUF Source: Original Platform
This commit is contained in:
41
.gitattributes
vendored
Normal file
41
.gitattributes
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
lfm2.5-350m-function-calling-xlam-unsloth.q2_k.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
lfm2.5-350m-function-calling-xlam-unsloth.q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
lfm2.5-350m-function-calling-xlam-unsloth.q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
lfm2.5-350m-function-calling-xlam-unsloth.q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
lfm2.5-350m-function-calling-xlam-unsloth.q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
lfm2.5-350m-function-calling-xlam-unsloth.q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
100
README.md
Normal file
100
README.md
Normal file
@@ -0,0 +1,100 @@
|
||||
---
|
||||
base_model: ermiaazarkhalili/LFM2.5-350M-Function-Calling-xLAM-Unsloth
|
||||
tags:
|
||||
- gguf
|
||||
- llama.cpp
|
||||
- unsloth
|
||||
- lfm2.5
|
||||
- function-calling
|
||||
- quantized
|
||||
license: apache-2.0
|
||||
language:
|
||||
- en
|
||||
datasets:
|
||||
- Salesforce/xlam-function-calling-60k
|
||||
pipeline_tag: text-generation
|
||||
---
|
||||
|
||||
# LFM2.5-350M-Function-Calling-xLAM-Unsloth — GGUF quantized
|
||||
|
||||
GGUF quantizations of [`ermiaazarkhalili/LFM2.5-350M-Function-Calling-xLAM-Unsloth`](https://huggingface.co/ermiaazarkhalili/LFM2.5-350M-Function-Calling-xLAM-Unsloth),
|
||||
produced via [Unsloth](https://github.com/unslothai/unsloth) + llama.cpp's conversion scripts.
|
||||
|
||||
| Field | Value |
|
||||
|---|---|
|
||||
| **Source checkpoint** | [`ermiaazarkhalili/LFM2.5-350M-Function-Calling-xLAM-Unsloth`](https://huggingface.co/ermiaazarkhalili/LFM2.5-350M-Function-Calling-xLAM-Unsloth) |
|
||||
| **Base model** | [`LiquidAI/LFM2.5-350M`](https://huggingface.co/LiquidAI/LFM2.5-350M) |
|
||||
| **Dataset** | [`Salesforce/xlam-function-calling-60k`](https://huggingface.co/datasets/Salesforce/xlam-function-calling-60k) |
|
||||
| **Training** | 1 full epoch (effective batch=8) |
|
||||
| **Final training loss** | 0.6507 (job 36550863, runtime 46m 11s, peak VRAM 5.73 GB) |
|
||||
| **Conversion** | Unsloth `save_pretrained` → llama.cpp `convert_hf_to_gguf.py` → `llama-quantize` |
|
||||
|
||||
## Available quantizations
|
||||
|
||||
| File | Bits | Size | Notes |
|
||||
|---|---|---|---|
|
||||
| `lfm2.5-350m-function-calling-xlam-unsloth.q2_k.gguf` | 2-bit | 0.16 GB | Smallest; aggressive quality loss |
|
||||
| `lfm2.5-350m-function-calling-xlam-unsloth.q3_k_m.gguf` | 3-bit | 0.19 GB | Small; noticeable quality loss |
|
||||
| `lfm2.5-350m-function-calling-xlam-unsloth.q4_k_m.gguf` | 4-bit | 0.23 GB | **Recommended** — best size/quality balance |
|
||||
| `lfm2.5-350m-function-calling-xlam-unsloth.q5_k_m.gguf` | 5-bit | 0.26 GB | Near-full quality |
|
||||
| `lfm2.5-350m-function-calling-xlam-unsloth.q6_k.gguf` | 6-bit | 0.29 GB | Very close to Q8_0 at smaller size |
|
||||
| `lfm2.5-350m-function-calling-xlam-unsloth.q8_0.gguf` | 8-bit | 0.38 GB | Largest; closest to bf16 source |
|
||||
|
||||
**Recommended default:** `Q4_K_M`. For maximum fidelity, use `Q8_0`.
|
||||
|
||||
## Usage
|
||||
|
||||
### llama.cpp
|
||||
|
||||
```bash
|
||||
llama-cli -hf ermiaazarkhalili/LFM2.5-350M-Function-Calling-xLAM-Unsloth-GGUF --jinja -p "Find flights from SFO to NYC on December 25th" -n 256
|
||||
```
|
||||
|
||||
### Ollama
|
||||
|
||||
```bash
|
||||
ollama run hf.co/ermiaazarkhalili/LFM2.5-350M-Function-Calling-xLAM-Unsloth-GGUF:Q4_K_M
|
||||
```
|
||||
|
||||
### llama-cpp-python
|
||||
|
||||
```python
|
||||
from llama_cpp import Llama
|
||||
llm = Llama.from_pretrained(
|
||||
repo_id="ermiaazarkhalili/LFM2.5-350M-Function-Calling-xLAM-Unsloth-GGUF",
|
||||
filename="*q4_k_m.gguf",
|
||||
n_ctx=2048,
|
||||
)
|
||||
out = llm.create_chat_completion(
|
||||
messages=[{"role": "user", "content": "Find flights from SFO to NYC on December 25th"}],
|
||||
max_tokens=256,
|
||||
)
|
||||
print(out["choices"][0]["message"]["content"])
|
||||
```
|
||||
|
||||
## Intended use
|
||||
|
||||
For research and non-commercial experimentation. Outputs should be independently verified before any downstream use.
|
||||
|
||||
## Limitations
|
||||
|
||||
- GGUF quantizations have unavoidable quality loss vs the bf16 source. Use Q5_K_M+ for best fidelity.
|
||||
- Inherits all limitations of the source merged checkpoint ([`ermiaazarkhalili/LFM2.5-350M-Function-Calling-xLAM-Unsloth`](https://huggingface.co/ermiaazarkhalili/LFM2.5-350M-Function-Calling-xLAM-Unsloth)).
|
||||
|
||||
## Citation
|
||||
|
||||
```bibtex
|
||||
@misc{ lfm25_350m_xlam_unsloth_2026_gguf ,
|
||||
author = {Ermia Azarkhalili},
|
||||
title = { LFM2.5-350M-Function-Calling-xLAM-Unsloth — GGUF quantized },
|
||||
year = {2026},
|
||||
publisher = {Hugging Face},
|
||||
howpublished = {\url{https://huggingface.co/ermiaazarkhalili/LFM2.5-350M-Function-Calling-xLAM-Unsloth-GGUF}}
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
This lfm2.5 model was trained 2× faster with [Unsloth](https://github.com/unslothai/unsloth) and Hugging Face's TRL library.
|
||||
|
||||
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
||||
3
lfm2.5-350m-function-calling-xlam-unsloth.q2_k.gguf
Normal file
3
lfm2.5-350m-function-calling-xlam-unsloth.q2_k.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:098aeecd24dd2bea997536543fac691a8272375edd0bfee58dbdc391d5f4fca3
|
||||
size 160594912
|
||||
3
lfm2.5-350m-function-calling-xlam-unsloth.q3_k_m.gguf
Normal file
3
lfm2.5-350m-function-calling-xlam-unsloth.q3_k_m.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6c3c72967c9592904a550ce507a931be476ac1c202e1b8b0a76849efc9af9f35
|
||||
size 193149920
|
||||
3
lfm2.5-350m-function-calling-xlam-unsloth.q4_k_m.gguf
Normal file
3
lfm2.5-350m-function-calling-xlam-unsloth.q4_k_m.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6aae516d0736fb26e814e23fe3420defad3577d560bc671da84babe37297d230
|
||||
size 229309408
|
||||
3
lfm2.5-350m-function-calling-xlam-unsloth.q5_k_m.gguf
Normal file
3
lfm2.5-350m-function-calling-xlam-unsloth.q5_k_m.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5619c2afae9edca7a24bfe984a06141a930ecf263825a21b2b8424045103b177
|
||||
size 260373472
|
||||
3
lfm2.5-350m-function-calling-xlam-unsloth.q6_k.gguf
Normal file
3
lfm2.5-350m-function-calling-xlam-unsloth.q6_k.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:92e7945f251e0cb1f00a4437736abd98fcf1e40ce64cafdcdd9ab744df19b177
|
||||
size 293379040
|
||||
3
lfm2.5-350m-function-calling-xlam-unsloth.q8_0.gguf
Normal file
3
lfm2.5-350m-function-calling-xlam-unsloth.q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b851eaf3fb0aa769e3a04957e5b2984ed16a379435659cbbad16297f4076fb02
|
||||
size 379214816
|
||||
Reference in New Issue
Block a user