vanillaOVO/supermario_v2

Model

1

stars

3

commits

3

linked in READMEs

Apr 4, 2024

updated

endpoints_compatible
merge
mergekit
mistral
safetensors
text-generation
text-generation-inference
transformers

README

This is a merge of pre-trained language models created based on DARE using mergekit.

More descriptions of the model will be added soon.

Loading the Model

Use the following Python code to load the model:

import torch
from transformers import MistralForCausalLM, AutoTokenizer

model = MistralForCausalLM.from_pretrained("vanillaOVO/supermario_v2", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("vanillaOVO/supermario_v2")

Generating Text

To generate text, use the following Python code:

text = "Large language models are "
inputs = tokenizer(text, return_tensors="pt")

outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Contributors

vanillaOVO

3 commits

vanillaOVO/supermario_v2

Model

1

stars

3

commits

3

linked in READMEs

Apr 4, 2024

updated

endpoints_compatible
merge
mergekit
mistral
safetensors
text-generation
text-generation-inference
transformers

README

This is a merge of pre-trained language models created based on DARE using mergekit.

More descriptions of the model will be added soon.

Loading the Model

Use the following Python code to load the model:

import torch
from transformers import MistralForCausalLM, AutoTokenizer

model = MistralForCausalLM.from_pretrained("vanillaOVO/supermario_v2", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("vanillaOVO/supermario_v2")

Generating Text

To generate text, use the following Python code:

text = "Large language models are "
inputs = tokenizer(text, return_tensors="pt")

outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Contributors

vanillaOVO

3 commits