Downloads · 30 days
490
5% of all-time downloads
QuantFactory/AI-Sweden-Llama-3-8B-GGUF
AI-Sweden-Llama-3-8B-GGUF is a text generation model from QuantFactory. Use it when you need the model to write or continue text.
This is quantized vresion of AI-Sweden-Models/Llama-3-8B created suing llama.cpp
Downloads · 30 days
490
5% of all-time downloads
All-time downloads
9.2K
Public
Repo size
72.7 GB
Likes
0
Public
Click a slice to open those files.
.gguf72.7 GB · 100%
From the Hugging Face model README
This is quantized vresion of AI-Sweden-Models/Llama-3-8B created suing llama.cpp
This is a base model, it can be finetuned to a particular use case.
-----> instruct version here <-----
See the snippet below for usage with Transformers:
import transformers
import torch
model_id = "AI-Sweden-Models/Llama-3-8B"
pipeline = transformers.pipeline(
task="text-generation",
model=model_id,
model_kwargs={"torch_dtype": torch.bfloat16},
device_map="auto"
)
pipeline(
text_inputs="Sommar och sol är det bästa jag vet",
max_length=128,
repetition_penalty=1.03
)
>>> "Sommar och sol är det bästa jag vet!
Och nu när jag har fått lite extra semester så ska jag njuta till max av allt som våren och sommaren har att erbjuda.
Jag har redan börjat med att sitta ute på min altan och ta en kopp kaffe och läsa i tidningen, det är så skönt att bara sitta där och njuta av livet.
Ikväll blir det grillat och det ser jag fram emot!"
AI-Sweden-Models/Llama-3-8B is a continuation of the pretraining process from meta-llama/Meta-Llama-3-8B.
It was trained on a subset from The Nordic Pile containing Swedish, Norwegian and Danish.
The training dataset consists of 227 105 079 296 tokens.
Coming soon.