初始化项目,由ModelHub XC社区提供模型
Model: RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf Source: Original Platform
This commit is contained in:
54
.gitattributes
vendored
Normal file
54
.gitattributes
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
*.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
|
||||
Saul-7B-Instruct-v1.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q3_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q4_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q5_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Saul-7B-Instruct-v1.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
128
README.md
Normal file
128
README.md
Normal file
@@ -0,0 +1,128 @@
|
||||
Quantization made by Richard Erkhov.
|
||||
|
||||
[Github](https://github.com/RichardErkhov)
|
||||
|
||||
[Discord](https://discord.gg/pvy7H8DZMG)
|
||||
|
||||
[Request more models](https://github.com/RichardErkhov/quant_request)
|
||||
|
||||
|
||||
Saul-7B-Instruct-v1 - GGUF
|
||||
- Model creator: https://huggingface.co/Equall/
|
||||
- Original model: https://huggingface.co/Equall/Saul-7B-Instruct-v1/
|
||||
|
||||
|
||||
| Name | Quant method | Size |
|
||||
| ---- | ---- | ---- |
|
||||
| [Saul-7B-Instruct-v1.Q2_K.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q2_K.gguf) | Q2_K | 2.53GB |
|
||||
| [Saul-7B-Instruct-v1.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q3_K_S.gguf) | Q3_K_S | 2.95GB |
|
||||
| [Saul-7B-Instruct-v1.Q3_K.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q3_K.gguf) | Q3_K | 3.28GB |
|
||||
| [Saul-7B-Instruct-v1.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q3_K_M.gguf) | Q3_K_M | 3.28GB |
|
||||
| [Saul-7B-Instruct-v1.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q3_K_L.gguf) | Q3_K_L | 3.56GB |
|
||||
| [Saul-7B-Instruct-v1.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.IQ4_XS.gguf) | IQ4_XS | 3.67GB |
|
||||
| [Saul-7B-Instruct-v1.Q4_0.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q4_0.gguf) | Q4_0 | 3.83GB |
|
||||
| [Saul-7B-Instruct-v1.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.IQ4_NL.gguf) | IQ4_NL | 3.87GB |
|
||||
| [Saul-7B-Instruct-v1.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q4_K_S.gguf) | Q4_K_S | 3.86GB |
|
||||
| [Saul-7B-Instruct-v1.Q4_K.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q4_K.gguf) | Q4_K | 4.07GB |
|
||||
| [Saul-7B-Instruct-v1.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q4_K_M.gguf) | Q4_K_M | 4.07GB |
|
||||
| [Saul-7B-Instruct-v1.Q4_1.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q4_1.gguf) | Q4_1 | 4.24GB |
|
||||
| [Saul-7B-Instruct-v1.Q5_0.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q5_0.gguf) | Q5_0 | 4.65GB |
|
||||
| [Saul-7B-Instruct-v1.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q5_K_S.gguf) | Q5_K_S | 4.65GB |
|
||||
| [Saul-7B-Instruct-v1.Q5_K.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q5_K.gguf) | Q5_K | 4.78GB |
|
||||
| [Saul-7B-Instruct-v1.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q5_K_M.gguf) | Q5_K_M | 4.78GB |
|
||||
| [Saul-7B-Instruct-v1.Q5_1.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q5_1.gguf) | Q5_1 | 5.07GB |
|
||||
| [Saul-7B-Instruct-v1.Q6_K.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q6_K.gguf) | Q6_K | 5.53GB |
|
||||
| [Saul-7B-Instruct-v1.Q8_0.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Instruct-v1-gguf/blob/main/Saul-7B-Instruct-v1.Q8_0.gguf) | Q8_0 | 7.17GB |
|
||||
|
||||
|
||||
|
||||
|
||||
Original model description:
|
||||
---
|
||||
library_name: transformers
|
||||
tags:
|
||||
- legal
|
||||
license: mit
|
||||
language:
|
||||
- en
|
||||
---
|
||||
|
||||
# Equall/Saul-Instruct-v1
|
||||
|
||||
This is the instruct model for Equall/Saul-Instruct-v1, a large instruct language model tailored for Legal domain. This model is obtained by continue pretraining of Mistral-7B.
|
||||
|
||||
Checkout our website and register https://equall.ai/
|
||||
|
||||
|
||||

|
||||
|
||||
## Model Details
|
||||
|
||||
### Model Description
|
||||
|
||||
<!-- Provide a longer summary of what this model is. -->
|
||||
|
||||
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
||||
|
||||
- **Developed by:** Equall.ai in collaboration with CentraleSupelec, Sorbonne Université, Instituto Superior Técnico and NOVA School of Law
|
||||
- **Model type:** 7B
|
||||
- **Language(s) (NLP):** English
|
||||
- **License:** MIT
|
||||
|
||||
### Model Sources
|
||||
|
||||
<!-- Provide the basic links for the model. -->
|
||||
|
||||
- **Paper:** https://arxiv.org/abs/2403.03883
|
||||
|
||||
## Uses
|
||||
|
||||
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
||||
You can use it for legal use cases that involves generation.
|
||||
|
||||
Here's how you can run the model using the pipeline() function from 🤗 Transformers:
|
||||
|
||||
```python
|
||||
|
||||
# Install transformers from source - only needed for versions <= v4.34
|
||||
# pip install git+https://github.com/huggingface/transformers.git
|
||||
# pip install accelerate
|
||||
|
||||
import torch
|
||||
from transformers import pipeline
|
||||
|
||||
pipe = pipeline("text-generation", model="Equall/Saul-Instruct-v1", torch_dtype=torch.bfloat16, device_map="auto")
|
||||
# We use the tokenizer’s chat template to format each message - see https://huggingface.co/docs/transformers/main/en/chat_templating
|
||||
messages = [
|
||||
{"role": "user", "content": "[YOUR QUERY GOES HERE]"},
|
||||
]
|
||||
prompt = pipe.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
||||
outputs = pipe(prompt, max_new_tokens=256, do_sample=False)
|
||||
print(outputs[0]["generated_text"])
|
||||
```
|
||||
|
||||
## Bias, Risks, and Limitations
|
||||
|
||||
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
||||
|
||||
|
||||
This model is built upon the technology of LLM, which comes with inherent limitations. It may occasionally generate inaccurate or nonsensical outputs. Furthermore, being a 7B model, it's anticipated to exhibit less robust performance compared to larger models, such as the 70B variant.
|
||||
|
||||
## Citation
|
||||
|
||||
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
||||
|
||||
**BibTeX:**
|
||||
|
||||
|
||||
```bibtex
|
||||
@misc{colombo2024saullm7b,
|
||||
title={SaulLM-7B: A pioneering Large Language Model for Law},
|
||||
author={Pierre Colombo and Telmo Pessoa Pires and Malik Boudiaf and Dominic Culver and Rui Melo and Caio Corro and Andre F. T. Martins and Fabrizio Esposito and Vera Lúcia Raposo and Sofia Morgado and Michael Desa},
|
||||
year={2024},
|
||||
eprint={2403.03883},
|
||||
archivePrefix={arXiv},
|
||||
primaryClass={cs.CL}
|
||||
}
|
||||
```
|
||||
|
||||
3
Saul-7B-Instruct-v1.IQ4_NL.gguf
Normal file
3
Saul-7B-Instruct-v1.IQ4_NL.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:07389353e5144d16c9fb50060f3f3c215aa1ce33a817c5f49396ec609f53db3f
|
||||
size 4155054784
|
||||
3
Saul-7B-Instruct-v1.IQ4_XS.gguf
Normal file
3
Saul-7B-Instruct-v1.IQ4_XS.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e2a87f208c7ad86de865fb895f3276e864e09a8204c26f968683a579f98a2b35
|
||||
size 3944389312
|
||||
3
Saul-7B-Instruct-v1.Q2_K.gguf
Normal file
3
Saul-7B-Instruct-v1.Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:896159ca24ceae7542c23d3cba4deaf9b8aa8b116ace98aeeaa91de98e243f85
|
||||
size 2719242944
|
||||
3
Saul-7B-Instruct-v1.Q3_K.gguf
Normal file
3
Saul-7B-Instruct-v1.Q3_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ca063cae1731994c98a13b58ecead836b35dd1b2a9ce72951f1049dbadf6486
|
||||
size 3518986944
|
||||
3
Saul-7B-Instruct-v1.Q3_K_L.gguf
Normal file
3
Saul-7B-Instruct-v1.Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0babb8d84c9a6d24ce7dfde92db9eef684b122344b9d4b41ba0e276042d11e5d
|
||||
size 3822025408
|
||||
3
Saul-7B-Instruct-v1.Q3_K_M.gguf
Normal file
3
Saul-7B-Instruct-v1.Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ca063cae1731994c98a13b58ecead836b35dd1b2a9ce72951f1049dbadf6486
|
||||
size 3518986944
|
||||
3
Saul-7B-Instruct-v1.Q3_K_S.gguf
Normal file
3
Saul-7B-Instruct-v1.Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3b0c850eafb772ed75f2289e09f81a3d7c53d844a73f2b49a4e51b5d394ddb0
|
||||
size 3164568256
|
||||
3
Saul-7B-Instruct-v1.Q4_0.gguf
Normal file
3
Saul-7B-Instruct-v1.Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05ade3aeeb3b9c07c4dfb739a8ae9f30aa2cd502608231a5f7de6ff4b7a20285
|
||||
size 4108917440
|
||||
3
Saul-7B-Instruct-v1.Q4_1.gguf
Normal file
3
Saul-7B-Instruct-v1.Q4_1.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:18f81ea9561848180d6bda18fb44db51176a4ddfa7190003ced79c6496228424
|
||||
size 4553317056
|
||||
3
Saul-7B-Instruct-v1.Q4_K.gguf
Normal file
3
Saul-7B-Instruct-v1.Q4_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8535f84637971ae1de359953a6ea8c8d1dc27435975a55d2d2b898409e87db2d
|
||||
size 4368440000
|
||||
3
Saul-7B-Instruct-v1.Q4_K_M.gguf
Normal file
3
Saul-7B-Instruct-v1.Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8535f84637971ae1de359953a6ea8c8d1dc27435975a55d2d2b898409e87db2d
|
||||
size 4368440000
|
||||
3
Saul-7B-Instruct-v1.Q4_K_S.gguf
Normal file
3
Saul-7B-Instruct-v1.Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a90b1ea5b4b94c74fcb17a2336f2696332ed39d418514bad1b93736f8df5ad94
|
||||
size 4140374720
|
||||
3
Saul-7B-Instruct-v1.Q5_0.gguf
Normal file
3
Saul-7B-Instruct-v1.Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6d9e510d08f202416a24ea38113f176ac35404c7e1c589345918046ba4c86152
|
||||
size 4997716672
|
||||
3
Saul-7B-Instruct-v1.Q5_1.gguf
Normal file
3
Saul-7B-Instruct-v1.Q5_1.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e79c61f4a73be84fa888d4a57309dc0f787cdb1151f1b8d58b960b46d949da19
|
||||
size 5442116288
|
||||
3
Saul-7B-Instruct-v1.Q5_K.gguf
Normal file
3
Saul-7B-Instruct-v1.Q5_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5aa0395ae00272532bee000b6514ed30ac669576655789ba0cfae7226a613d38
|
||||
size 5131410112
|
||||
3
Saul-7B-Instruct-v1.Q5_K_M.gguf
Normal file
3
Saul-7B-Instruct-v1.Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5aa0395ae00272532bee000b6514ed30ac669576655789ba0cfae7226a613d38
|
||||
size 5131410112
|
||||
3
Saul-7B-Instruct-v1.Q5_K_S.gguf
Normal file
3
Saul-7B-Instruct-v1.Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:48623a1f0c1eefcfd1ef7bbfa9c64be28cb34c4b26a1e7dad22342bbf2292a89
|
||||
size 4997716672
|
||||
3
Saul-7B-Instruct-v1.Q6_K.gguf
Normal file
3
Saul-7B-Instruct-v1.Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:14ae82c29e1ea004e7611dcf608a17b0ed97671d2e4de1755e7c8ffd69796ee1
|
||||
size 5942065856
|
||||
3
Saul-7B-Instruct-v1.Q8_0.gguf
Normal file
3
Saul-7B-Instruct-v1.Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fc55ccb276167a9d023c0ca4fc9a6eece17574f24faf1e90d21d9b408f772182
|
||||
size 7695858368
|
||||
Reference in New Issue
Block a user