RichardErkhov commited on
Commit
f13489a
·
verified ·
1 Parent(s): d373451

uploaded readme

Browse files
Files changed (1) hide show
  1. README.md +87 -0
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ NorLlama-3B - GGUF
11
+ - Model creator: https://huggingface.co/NorGLM/
12
+ - Original model: https://huggingface.co/NorGLM/NorLlama-3B/
13
+
14
+
15
+ | Name | Quant method | Size |
16
+ | ---- | ---- | ---- |
17
+ | [NorLlama-3B.Q2_K.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q2_K.gguf) | Q2_K | 2.51GB |
18
+ | [NorLlama-3B.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.IQ3_XS.gguf) | IQ3_XS | 2.51GB |
19
+ | [NorLlama-3B.IQ3_S.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.IQ3_S.gguf) | IQ3_S | 2.51GB |
20
+ | [NorLlama-3B.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q3_K_S.gguf) | Q3_K_S | 2.51GB |
21
+ | [NorLlama-3B.IQ3_M.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.IQ3_M.gguf) | IQ3_M | 2.56GB |
22
+ | [NorLlama-3B.Q3_K.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q3_K.gguf) | Q3_K | 2.56GB |
23
+ | [NorLlama-3B.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q3_K_M.gguf) | Q3_K_M | 2.56GB |
24
+ | [NorLlama-3B.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q3_K_L.gguf) | Q3_K_L | 2.59GB |
25
+ | [NorLlama-3B.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.IQ4_XS.gguf) | IQ4_XS | 2.51GB |
26
+ | [NorLlama-3B.Q4_0.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q4_0.gguf) | Q4_0 | 0.2GB |
27
+ | [NorLlama-3B.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.IQ4_NL.gguf) | IQ4_NL | 0.49GB |
28
+ | [NorLlama-3B.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q4_K_S.gguf) | Q4_K_S | 2.78GB |
29
+ | [NorLlama-3B.Q4_K.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q4_K.gguf) | Q4_K | 2.82GB |
30
+ | [NorLlama-3B.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q4_K_M.gguf) | Q4_K_M | 2.82GB |
31
+ | [NorLlama-3B.Q4_1.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q4_1.gguf) | Q4_1 | 0.21GB |
32
+ | [NorLlama-3B.Q5_0.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q5_0.gguf) | Q5_0 | 0.22GB |
33
+ | [NorLlama-3B.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q5_K_S.gguf) | Q5_K_S | 2.91GB |
34
+ | [NorLlama-3B.Q5_K.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q5_K.gguf) | Q5_K | 2.94GB |
35
+ | [NorLlama-3B.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q5_K_M.gguf) | Q5_K_M | 2.94GB |
36
+ | [NorLlama-3B.Q5_1.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q5_1.gguf) | Q5_1 | 0.23GB |
37
+ | [NorLlama-3B.Q6_K.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q6_K.gguf) | Q6_K | 3.58GB |
38
+ | [NorLlama-3B.Q8_0.gguf](https://huggingface.co/RichardErkhov/NorGLM_-_NorLlama-3B-gguf/blob/main/NorLlama-3B.Q8_0.gguf) | Q8_0 | 0.27GB |
39
+
40
+
41
+
42
+
43
+ Original model description:
44
+ ---
45
+ license: cc-by-nc-sa-4.0
46
+ language:
47
+ - 'no'
48
+ ---
49
+
50
+ Gnerative Pretrained Tranformer with 3 Billion parameters for Norwegian. NorLlama-3B is based on Llama architechture, and pretrained on [Tencent Pre-training Framework](https://github.com/Tencent/TencentPretrain)
51
+
52
+ It belongs to NorGLM, a suite of pretrained Norwegian Generative Language Models. NorGLM can be used for non-commercial purposes.
53
+
54
+ ## Datasets
55
+ All models in NorGLM are trained on 200G datasets, nearly 25B tokens, including Norwegian, Denish, Swedish, Germany and English.
56
+
57
+ ## Run the Model
58
+
59
+ ```python
60
+ import torch
61
+ from transformers import AutoTokenizer, AutoModelForCausalLM
62
+
63
+ model_id = "NorGLM/NorLlama-3B"
64
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
65
+ model = AutoModelForCausalLM.from_pretrained(
66
+ model_id,
67
+ device_map='auto',
68
+ torch_dtype=torch.bfloat16
69
+ )
70
+
71
+ text = "Tom ønsket å gå på barene med venner"
72
+ inputs = tokenizer(text, return_tensors="pt")
73
+ outputs = model.generate(**inputs, max_new_tokens=20)
74
+ ```
75
+
76
+ ## Citation Information
77
+ If you feel our work is helpful, please cite our paper:
78
+
79
+ ```
80
+ @article{liu2023nlebench+,
81
+ title={NLEBench+ NorGLM: A Comprehensive Empirical Analysis and Benchmark Dataset for Generative Language Models in Norwegian},
82
+ author={Liu, Peng and Zhang, Lemei and Farup, Terje Nissen and Lauvrak, Even W and Ingvaldsen, Jon Espen and Eide, Simen and Gulla, Jon Atle and Yang, Zhirong},
83
+ journal={arXiv preprint arXiv:2312.01314},
84
+ year={2023}
85
+ }
86
+ ```
87
+