RichardErkhov commited on
Commit
f83eb54
·
verified ·
1 Parent(s): 3290f47

uploaded readme

Browse files
Files changed (1) hide show
  1. README.md +129 -0
README.md ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Quantization made by Richard Erkhov.
2
+
3
+ [Github](https://github.com/RichardErkhov)
4
+
5
+ [Discord](https://discord.gg/pvy7H8DZMG)
6
+
7
+ [Request more models](https://github.com/RichardErkhov/quant_request)
8
+
9
+
10
+ Saul-7B-Base - GGUF
11
+ - Model creator: https://huggingface.co/Equall/
12
+ - Original model: https://huggingface.co/Equall/Saul-7B-Base/
13
+
14
+
15
+ | Name | Quant method | Size |
16
+ | ---- | ---- | ---- |
17
+ | [Saul-7B-Base.Q2_K.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q2_K.gguf) | Q2_K | 2.53GB |
18
+ | [Saul-7B-Base.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.IQ3_XS.gguf) | IQ3_XS | 2.81GB |
19
+ | [Saul-7B-Base.IQ3_S.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.IQ3_S.gguf) | IQ3_S | 2.96GB |
20
+ | [Saul-7B-Base.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q3_K_S.gguf) | Q3_K_S | 2.95GB |
21
+ | [Saul-7B-Base.IQ3_M.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.IQ3_M.gguf) | IQ3_M | 3.06GB |
22
+ | [Saul-7B-Base.Q3_K.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q3_K.gguf) | Q3_K | 3.28GB |
23
+ | [Saul-7B-Base.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q3_K_M.gguf) | Q3_K_M | 3.28GB |
24
+ | [Saul-7B-Base.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q3_K_L.gguf) | Q3_K_L | 3.56GB |
25
+ | [Saul-7B-Base.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.IQ4_XS.gguf) | IQ4_XS | 3.67GB |
26
+ | [Saul-7B-Base.Q4_0.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q4_0.gguf) | Q4_0 | 3.83GB |
27
+ | [Saul-7B-Base.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.IQ4_NL.gguf) | IQ4_NL | 3.87GB |
28
+ | [Saul-7B-Base.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q4_K_S.gguf) | Q4_K_S | 3.86GB |
29
+ | [Saul-7B-Base.Q4_K.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q4_K.gguf) | Q4_K | 4.07GB |
30
+ | [Saul-7B-Base.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q4_K_M.gguf) | Q4_K_M | 4.07GB |
31
+ | [Saul-7B-Base.Q4_1.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q4_1.gguf) | Q4_1 | 4.24GB |
32
+ | [Saul-7B-Base.Q5_0.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q5_0.gguf) | Q5_0 | 4.65GB |
33
+ | [Saul-7B-Base.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q5_K_S.gguf) | Q5_K_S | 4.65GB |
34
+ | [Saul-7B-Base.Q5_K.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q5_K.gguf) | Q5_K | 4.78GB |
35
+ | [Saul-7B-Base.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q5_K_M.gguf) | Q5_K_M | 4.78GB |
36
+ | [Saul-7B-Base.Q5_1.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q5_1.gguf) | Q5_1 | 5.07GB |
37
+ | [Saul-7B-Base.Q6_K.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q6_K.gguf) | Q6_K | 5.53GB |
38
+ | [Saul-7B-Base.Q8_0.gguf](https://huggingface.co/RichardErkhov/Equall_-_Saul-7B-Base-gguf/blob/main/Saul-7B-Base.Q8_0.gguf) | Q8_0 | 7.17GB |
39
+
40
+
41
+
42
+
43
+ Original model description:
44
+ ---
45
+ library_name: transformers
46
+ tags:
47
+ - legal
48
+ license: mit
49
+ language:
50
+ - en
51
+ ---
52
+
53
+ # Equall/Saul-Base-v1
54
+
55
+ This is the base model for Equall/Saul-Base, a large instruct language model tailored for Legal domain. This model is obtained by continue pretraining of Mistral-7B.
56
+
57
+
58
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/644a900e3a619fe72b14af0f/OU4Y3s-WckYKMN4fQkNiS.png)
59
+
60
+ ## Model Details
61
+
62
+ ### Model Description
63
+
64
+ <!-- Provide a longer summary of what this model is. -->
65
+
66
+ This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
67
+
68
+ - **Developed by:** Equall.ai in collaboration with CentraleSupelec, Sorbonne Université, Instituto Superior Técnico and NOVA School of Law
69
+ - **Model type:** 7B
70
+ - **Language(s) (NLP):** English
71
+ - **License:** MIT
72
+
73
+ ### Model Sources
74
+
75
+ <!-- Provide the basic links for the model. -->
76
+
77
+ - **Paper:** https://arxiv.org/abs/2403.03883
78
+
79
+ ## Uses
80
+
81
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
82
+ You can use it for legal use cases that involves generation.
83
+
84
+ Here's how you can run the model using the pipeline() function from 🤗 Transformers:
85
+
86
+ ```python
87
+
88
+ # Install transformers from source - only needed for versions <= v4.34
89
+ # pip install git+https://github.com/huggingface/transformers.git
90
+ # pip install accelerate
91
+
92
+ import torch
93
+ from transformers import pipeline
94
+
95
+ pipe = pipeline("text-generation", model="Equall/Saul-Instruct-v1", torch_dtype=torch.bfloat16, device_map="auto")
96
+ # We use the tokenizer’s chat template to format each message - see https://huggingface.co/docs/transformers/main/en/chat_templating
97
+ messages = [
98
+ {"role": "user", "content": "[YOUR QUERY GOES HERE]"},
99
+ ]
100
+ prompt = pipe.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
101
+ outputs = pipe(prompt, max_new_tokens=256, do_sample=False)
102
+ print(outputs[0]["generated_text"])
103
+ ```
104
+
105
+ ## Bias, Risks, and Limitations
106
+
107
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
108
+
109
+
110
+ 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.
111
+
112
+ ## Citation
113
+
114
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
115
+
116
+ **BibTeX:**
117
+
118
+
119
+ ```bibtex
120
+ @misc{colombo2024saullm7b,
121
+ title={SaulLM-7B: A pioneering Large Language Model for Law},
122
+ 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},
123
+ year={2024},
124
+ eprint={2403.03883},
125
+ archivePrefix={arXiv},
126
+ primaryClass={cs.CL}
127
+ }
128
+ ```
129
+