Downloads · 30 days
59
3% of all-time downloads
RichardErkhov/bineric_-_NorskGPT-Llama3-8b-gguf
bineric_-_NorskGPT-Llama3-8b-gguf is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
59
3% of all-time downloads
All-time downloads
2.3K
Public
Repo size
92.9 GB
Likes
0
Public
Click a slice to open those files.
.gguf108 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
NorskGPT-Llama3-8b - GGUF
| Name | Quant method | Size |
|---|---|---|
| NorskGPT-Llama3-8b.Q2_K.gguf | Q2_K | 2.96GB |
| NorskGPT-Llama3-8b.IQ3_XS.gguf | IQ3_XS | 3.28GB |
| NorskGPT-Llama3-8b.IQ3_S.gguf | IQ3_S | 3.43GB |
| NorskGPT-Llama3-8b.Q3_K_S.gguf | Q3_K_S | 3.41GB |
| NorskGPT-Llama3-8b.IQ3_M.gguf | IQ3_M | 3.52GB |
| NorskGPT-Llama3-8b.Q3_K.gguf | Q3_K | 3.74GB |
| NorskGPT-Llama3-8b.Q3_K_M.gguf | Q3_K_M | 3.74GB |
| NorskGPT-Llama3-8b.Q3_K_L.gguf | Q3_K_L | 4.03GB |
| NorskGPT-Llama3-8b.IQ4_XS.gguf | IQ4_XS | 4.18GB |
| NorskGPT-Llama3-8b.Q4_0.gguf | Q4_0 | 4.34GB |
| NorskGPT-Llama3-8b.IQ4_NL.gguf | IQ4_NL | 4.38GB |
| NorskGPT-Llama3-8b.Q4_K_S.gguf | Q4_K_S | 4.37GB |
| NorskGPT-Llama3-8b.Q4_K.gguf | Q4_K | 4.58GB |
| NorskGPT-Llama3-8b.Q4_K_M.gguf | Q4_K_M | 4.58GB |
| NorskGPT-Llama3-8b.Q4_1.gguf | Q4_1 | 4.78GB |
| NorskGPT-Llama3-8b.Q5_0.gguf | Q5_0 | 5.21GB |
| NorskGPT-Llama3-8b.Q5_K_S.gguf | Q5_K_S | 5.21GB |
| NorskGPT-Llama3-8b.Q5_K.gguf | Q5_K | 5.34GB |
| NorskGPT-Llama3-8b.Q5_K_M.gguf | Q5_K_M | 5.34GB |
| NorskGPT-Llama3-8b.Q5_1.gguf | Q5_1 | 5.65GB |
| NorskGPT-Llama3-8b.Q6_K.gguf | Q6_K | 6.14GB |
| NorskGPT-Llama3-8b.Q8_0.gguf | Q8_0 | 7.95GB |
base_model: meta-llama/Meta-Llama-3-8B tags:
This model is a Norwegian variant of Meta-Llama-3-8B, fine-tuned on a carefully selected mix of Norwegian instruction pairs. The model is tuned to understand and generate text in Norwegain.
This model is free to use for personal and research use. However a commercial license is required for commerical applications. This model can be used as an assistant-like chat. Try it out :)
<|im_start|>system
Du er NorskGPT ....<|im_end|>
<|im_start|>user
Hei<|im_end|>
<|im_start|>assistant
Hei, hva kan jeg hjelpe deg med?<|im_end|>
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cuda" # the device to load the model onto
model_name = "bineric/NorskGPT-Llama3-8b"
model = AutoModelForCausalLM.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
messages = [
{"role": "user", "content": "Du er NorskGPT - en AI bot som hjelper brukeren med å svare på spørsmål?"},
{"role": "assistant", "content": "Hei, jeg er NorskGPT, hva kan jeg hjelpe deg med?"},
{"role": "user", "content": "Fortell meg om Oslo"}
]
encodeds = tokenizer.apply_chat_template(messages, return_tensors="pt")
model_inputs = encodeds.to(device)
model.to(device)
generated_ids = model.generate(model_inputs, max_new_tokens=1000, do_sample=True)
decoded = tokenizer.batch_decode(generated_ids)
print(decoded[0])
Attribution-NonCommercial-ShareAlike 4.0 International
This model is free to use for personal and research use. However a commercial license is required for commerical applications.
You are free to:
Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit , provide a link to the license, and indicate if changes were made . You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
NonCommercial — You may not use the material for commercial purposes .
ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.