初始化项目,由ModelHub XC社区提供模型
Model: tiiuae/Falcon3-10B-Instruct-GGUF Source: Original Platform
This commit is contained in:
44
.gitattributes
vendored
Normal file
44
.gitattributes
vendored
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
*.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
|
||||||
|
Falcon3-10B-Instruct-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Falcon3-10B-Instruct-q2_k.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Falcon3-10B-Instruct-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Falcon3-10B-Instruct-q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Falcon3-10B-Instruct-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Falcon3-10B-Instruct-q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Falcon3-10B-Instruct-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Falcon3-10B-Instruct-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Falcon3-10B-Instruct-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
3
Falcon3-10B-Instruct-f16.gguf
Normal file
3
Falcon3-10B-Instruct-f16.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f3a323a079599355036bcf2015af120f3f6e16757154a19edccb7ed568a1f8df
|
||||||
|
size 20616558208
|
||||||
3
Falcon3-10B-Instruct-q2_k.gguf
Normal file
3
Falcon3-10B-Instruct-q2_k.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:136e1245fbc466f8ec4406c867dcf9f7a9f5ee22515cff68aef95b7cab7bea67
|
||||||
|
size 3924047488
|
||||||
3
Falcon3-10B-Instruct-q3_k_m.gguf
Normal file
3
Falcon3-10B-Instruct-q3_k_m.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b5de0266a816ba8b3e995f558cb864f46ef398c236c7eb8a4a3189c7b9c6362d
|
||||||
|
size 5052479104
|
||||||
3
Falcon3-10B-Instruct-q4_0.gguf
Normal file
3
Falcon3-10B-Instruct-q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:72475675972eaf65b6bc2f9b0cd6ab12a4261bd69bd330448c3fd04441035a26
|
||||||
|
size 5906347648
|
||||||
3
Falcon3-10B-Instruct-q4_k_m.gguf
Normal file
3
Falcon3-10B-Instruct-q4_k_m.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0025e285ea335c7eb8abafd85f83105f0023f87aab17b4f593cb3c1703634239
|
||||||
|
size 6287521408
|
||||||
3
Falcon3-10B-Instruct-q5_0.gguf
Normal file
3
Falcon3-10B-Instruct-q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:588937ddb5ebb78af32f359cead6064b713bb7c9cc1321720d41d510ade52b6b
|
||||||
|
size 7144191616
|
||||||
3
Falcon3-10B-Instruct-q5_k_m.gguf
Normal file
3
Falcon3-10B-Instruct-q5_k_m.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a135aea0bdcdb59c516fbf5f4dac6534babbaa2e89f7042bcc635c0f985418d1
|
||||||
|
size 7340553856
|
||||||
3
Falcon3-10B-Instruct-q6_k.gguf
Normal file
3
Falcon3-10B-Instruct-q6_k.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5a8fbec8c05af59bf4b3fd7a5e89c9eb234c497d679837bd467d7539c54bc90f
|
||||||
|
size 8459400832
|
||||||
3
Falcon3-10B-Instruct-q8_0.gguf
Normal file
3
Falcon3-10B-Instruct-q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8eeef4b03593b225f7317946cb592bb43f3c68f875b5422f89bd4232b8dc2a2b
|
||||||
|
size 10955241088
|
||||||
122
README.md
Normal file
122
README.md
Normal file
@@ -0,0 +1,122 @@
|
|||||||
|
|
||||||
|
---
|
||||||
|
language:
|
||||||
|
- en
|
||||||
|
- fr
|
||||||
|
- es
|
||||||
|
- pt
|
||||||
|
base_model:
|
||||||
|
- tiiuae/Falcon3-10B-Instruct
|
||||||
|
pipeline_tag: text-generation
|
||||||
|
library_name: transformers
|
||||||
|
tags:
|
||||||
|
- falcon3
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
<img src="https://huggingface.co/datasets/tiiuae/documentation-images/resolve/main/general/falco3-logo.png" alt="drawing" width="500"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
# Falcon3-10B-Instruct-GGUF
|
||||||
|
|
||||||
|
|
||||||
|
**Falcon3** family of Open Foundation Models is a set of pretrained and instruct LLMs ranging from 1B to 10B parameters.
|
||||||
|
|
||||||
|
**Falcon3-10B-Instruct** achieves state-of-the-art results (at release's time) on reasoning, language understanding, instruction following, code and mathematics tasks.
|
||||||
|
Falcon3-10B-Instruct supports 4 languages (English, French, Spanish, Portuguese) and a context length of up to 32K.
|
||||||
|
|
||||||
|
This repository contains the GGUFs instruction-tuned 10B Falcon3 model.
|
||||||
|
|
||||||
|
## Model Details
|
||||||
|
- Architecture
|
||||||
|
- Transformer-based causal decoder-only architecture
|
||||||
|
- 40 decoder blocks
|
||||||
|
- Grouped Query Attention (GQA) for faster inference: 12 query heads and 4 key-value heads
|
||||||
|
- Wider head dimension: 256
|
||||||
|
- High RoPE value to support long context understanding: 1000042
|
||||||
|
- Uses SwiGLu and RMSNorm
|
||||||
|
- 32K context length
|
||||||
|
- 131K vocab size
|
||||||
|
- Depth up-scaled from **Falcon3-7B-Base** with 2 Teratokens of datasets comprising of web, code, STEM, high quality and mutlilingual data using 1024 H100 GPU chips
|
||||||
|
- Posttrained on 1.2 million samples of STEM, conversational, code, safety and function call data
|
||||||
|
- Supports EN, FR, ES, PT
|
||||||
|
- Developed by [Technology Innovation Institute](https://www.tii.ae)
|
||||||
|
- License: TII Falcon-LLM License 2.0
|
||||||
|
- Model Release Date: December 2024
|
||||||
|
- Quantization: q2_K, q3_K_M, q4_0, q4_K_M, q5_0, q5_K_M, q6_K, q8_0
|
||||||
|
|
||||||
|
|
||||||
|
## Getting started
|
||||||
|
|
||||||
|
### 1. Download GGUF models from hugging face
|
||||||
|
|
||||||
|
First, download the model from Hugging Face. You can use the `huggingface_hub` library or download it manually:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install huggingface_hub
|
||||||
|
huggingface-cli download {model_name}
|
||||||
|
```
|
||||||
|
|
||||||
|
This will download the model to your current directory. Make sure to replace {model_name} with the actual username and model name from your Hugging Face repository.
|
||||||
|
|
||||||
|
## 2. Install llama.cpp
|
||||||
|
|
||||||
|
You have several options for installing llama.cpp:
|
||||||
|
|
||||||
|
**1. Build from source:**
|
||||||
|
|
||||||
|
This gives you the most flexibility and control. Follow the instructions in the llama.cpp repository to build from source:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
git clone https://github.com/ggerganov/llama.cpp
|
||||||
|
cd llama.cpp
|
||||||
|
cmake -B build
|
||||||
|
cmake --build build --config Release
|
||||||
|
```
|
||||||
|
|
||||||
|
For more information about how to build llama.cpp from source please refere to llama.cpp documentation on how to build from source: **[llama.cpp build from source](https://github.com/ggerganov/llama.cpp/blob/master/docs/build.md)**.
|
||||||
|
|
||||||
|
**2. Download pre-built binaries:**
|
||||||
|
|
||||||
|
If you prefer a quicker setup, you can download pre-built binaries for your operating system. Check the llama.cpp repository for available binaries.
|
||||||
|
|
||||||
|
**3. Use Docker:**
|
||||||
|
|
||||||
|
For a more contained environment, you can use the official llama.cpp Docker image. Refer to the llama.cpp documentation for instructions on how to use the Docker image.
|
||||||
|
|
||||||
|
For detailed instructions and more information, please check the llama.cpp documentation on docker: **[llama.cpp docker](https://github.com/ggerganov/llama.cpp/blob/master/docs/docker.mdg)**.
|
||||||
|
|
||||||
|
### 3. Start playing with your model
|
||||||
|
|
||||||
|
Run simple text completion
|
||||||
|
```bash
|
||||||
|
llama-cli -m {path-to-gguf-model} -p "I believe the meaning of life is" -n 128
|
||||||
|
```
|
||||||
|
|
||||||
|
Run in conversation mode
|
||||||
|
```bash
|
||||||
|
llama-cli -m {path-to-gguf-model} -p "You are a helpful assistant" -cnv -co
|
||||||
|
```
|
||||||
|
|
||||||
|
## Useful links
|
||||||
|
- View our [release blogpost](https://huggingface.co/blog/falcon3).
|
||||||
|
- Feel free to join [our discord server](https://discord.gg/fwXpMyGc) if you have any questions or to interact with our researchers and developers.
|
||||||
|
|
||||||
|
## Technical Report
|
||||||
|
|
||||||
|
Coming soon....
|
||||||
|
|
||||||
|
## Citation
|
||||||
|
If the Falcon3 family of models were helpful to your work, feel free to give us a cite.
|
||||||
|
|
||||||
|
```
|
||||||
|
@misc{Falcon3,
|
||||||
|
title = {The Falcon 3 Family of Open Models},
|
||||||
|
url = {https://huggingface.co/blog/falcon3},
|
||||||
|
author = {Falcon-LLM Team},
|
||||||
|
month = {December},
|
||||||
|
year = {2024}
|
||||||
|
}
|
||||||
|
```
|
||||||
1
configuration.json
Normal file
1
configuration.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"framework": "pytorch", "task": "text-generation", "allow_remote": true}
|
||||||
Reference in New Issue
Block a user