RichardErkhov commited on
Commit
f81a1dd
·
verified ·
1 Parent(s): b413c15

uploaded readme

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