birgermoell / swedish-gpt-merged

huggingface.co
Total runs: 59
24-hour runs: 1
7-day runs: 5
30-day runs: 52
Model's Last Updated: January 29 2024
text-generation

Introduction of swedish-gpt-merged

Model Details of swedish-gpt-merged

swedish-gpt-merged

swedish-gpt-merged is a merge of the following models using LazyMergekit :

🧩 Configuration
models:
  - model: danish-foundation-models/munin-7b-alpha
    # No parameters necessary for base model
  - model: mlabonne/NeuralBeagle14-7B
    parameters:
      density: 0.53
      weight: 0.6
merge_method: dare_ties
base_model: danish-foundation-models/munin-7b-alpha
parameters:
  int8_mask: true
dtype: bfloat16
💻 Usage
!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "birgermoell/swedish-gpt-merged"
model = "birgermoell/gpt-sw3-6.7b-v2-instruct-merge"
messages = [{"role": "user", "content": "What is a large language model?"}]

tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
    "text-generation",
    model=model,
    torch_dtype=torch.float16,
    device_map="auto",
)

outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])

Runs of birgermoell swedish-gpt-merged on huggingface.co

59
Total runs
1
24-hour runs
2
3-day runs
5
7-day runs
52
30-day runs

More Information About swedish-gpt-merged huggingface.co Model

swedish-gpt-merged huggingface.co

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

swedish-gpt-merged huggingface.co Url

https://huggingface.co/birgermoell/swedish-gpt-merged

birgermoell swedish-gpt-merged online free

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

birgermoell swedish-gpt-merged online free url in huggingface.co:

https://huggingface.co/birgermoell/swedish-gpt-merged

swedish-gpt-merged install

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

swedish-gpt-merged install url in huggingface.co:

https://huggingface.co/birgermoell/swedish-gpt-merged

Url of swedish-gpt-merged

swedish-gpt-merged huggingface.co Url

Provider of swedish-gpt-merged huggingface.co

birgermoell
ORGANIZATIONS

Other API from birgermoell

huggingface.co

Total runs: 45
Run Growth: 43
Growth Rate: 100.00%
Updated:September 23 2026
huggingface.co

Total runs: 20
Run Growth: 17
Growth Rate: 100.00%
Updated:September 23 2026
huggingface.co

Total runs: 18
Run Growth: 8
Growth Rate: 42.11%
Updated:March 21 2024
huggingface.co

Total runs: 11
Run Growth: 0
Growth Rate: 0.00%
Updated:April 03 2024