bineric / NorskGPT-Llama3-8b

huggingface.co
Total runs: 1.4K
24-hour runs: -2
7-day runs: 28
30-day runs: -1.4K
Model's Last Updated: April 23 2024
text-generation

Introduction of NorskGPT-Llama3-8b

Model Details of NorskGPT-Llama3-8b

NorskGPT-Llama-3-8b-v0.1

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.

Intended Use

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 :)

Prompt Template
<|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|>
Sample script
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])
Limitations
  • This is an LLM, not a knowledge model. It can not be expected to have more information about Norway than the base model.
  • It will generally preform better on tasks that involves summarization, question answering and chat, than on tasks that requires more knowledge about Norway, specific domains, or tasks where the model can answer freely.
  • The model is released as is, and would in most cases need prompt tuning to achieve optimal results.
License

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.

Runs of bineric NorskGPT-Llama3-8b on huggingface.co

1.4K
Total runs
-2
24-hour runs
1
3-day runs
28
7-day runs
-1.4K
30-day runs

More Information About NorskGPT-Llama3-8b huggingface.co Model

More NorskGPT-Llama3-8b license Visit here:

https://choosealicense.com/licenses/cc-by-nc-sa-4.0

NorskGPT-Llama3-8b huggingface.co

NorskGPT-Llama3-8b huggingface.co is an AI model on huggingface.co that provides NorskGPT-Llama3-8b's model effect (), which can be used instantly with this bineric NorskGPT-Llama3-8b model. huggingface.co supports a free trial of the NorskGPT-Llama3-8b model, and also provides paid use of the NorskGPT-Llama3-8b. Support call NorskGPT-Llama3-8b model through api, including Node.js, Python, http.

NorskGPT-Llama3-8b huggingface.co Url

https://huggingface.co/bineric/NorskGPT-Llama3-8b

bineric NorskGPT-Llama3-8b online free

NorskGPT-Llama3-8b huggingface.co is an online trial and call api platform, which integrates NorskGPT-Llama3-8b's modeling effects, including api services, and provides a free online trial of NorskGPT-Llama3-8b, you can try NorskGPT-Llama3-8b online for free by clicking the link below.

bineric NorskGPT-Llama3-8b online free url in huggingface.co:

https://huggingface.co/bineric/NorskGPT-Llama3-8b

NorskGPT-Llama3-8b install

NorskGPT-Llama3-8b is an open source model from GitHub that offers a free installation service, and any user can find NorskGPT-Llama3-8b on GitHub to install. At the same time, huggingface.co provides the effect of NorskGPT-Llama3-8b install, users can directly use NorskGPT-Llama3-8b installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

NorskGPT-Llama3-8b install url in huggingface.co:

https://huggingface.co/bineric/NorskGPT-Llama3-8b

Url of NorskGPT-Llama3-8b

NorskGPT-Llama3-8b huggingface.co Url

Provider of NorskGPT-Llama3-8b huggingface.co

bineric
ORGANIZATIONS

Other API from bineric